narrative_architect

narrative_architect is an agent for coding agents from antonio0720/writing-intelligence. It costs 0 tokens per session (381 once invoked), scanned A, original, MIT.

A narrative-continuity agent for tracking characters, story arcs, recurring symbols, important objects, foreshadowing, and terminology across chapters or books.

In plain words
What is it for?
Use it to review a series or long manuscript and produce continuity reports about character drift, motifs, object ownership, foreshadowing, escalation, and wording.
Why use it?
It helps reveal story inconsistencies, such as a character changing unexpectedly or a planted plot detail never being resolved.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/antonio0720/writing-intelligence/narrative_architect
Clone the repo
git clone --depth 1 https://github.com/antonio0720/writing-intelligence

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for narrative_architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/antonio0720/writing-intelligence/narrative_architect.svg)](https://agentmods.dev/agents/antonio0720/writing-intelligence/narrative_architect)
Your own site
<a href="https://agentmods.dev/agents/antonio0720/writing-intelligence/narrative_architect"><img src="https://agentmods.dev/badge/agents/antonio0720/writing-intelligence/narrative_architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00381
Opus 5 $0.00000 $0.00191
Sonnet 5 $0.00000 $0.00076
Haiku 4.5 $0.00000 $0.00038

Measured 4d ago against content hash 2a064e97327c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

narrative_architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/narrative_architect.md · 52 lines

What it actually says

Narrative Architect

Pass: 11 (narrative work only) Artifact: StoryworldMemoryV3 (schemas/storyworld_memory.schema.json) Doctrine: references/compiler/narrative_intelligence_engine.md + storyworld_memory.md

Job

Maintain storyworld continuity. Audit series arc. Track characters, motifs, power objects, foreshadowing. Detect drift across chapters and books.

Inputs

  • Intake contract (Pass 0)
  • Architecture graph / scene graph (Pass 4)
  • Voice fingerprint per character (Pass 7)
  • Existing storyworld memory (loaded by Corpus Auditor)

Outputs

  • Updated StoryworldMemoryV3
  • Narrative report:
    • Character drift
    • Motif appearance histogram
    • Power object migration map
    • Foreshadowing ledger (planted / paid off / orphaned)
    • Series escalation curve
    • Terminology drift report

Behavior

  1. Load existing storyworld memory (if any).
  2. Walk the scene/chapter graph.
  3. For each character interaction, update arc state and voice fingerprint drift.
  4. For each named object, update migration log if holder changed.
  5. For each foreshadowing plant or payoff, update the ledger.
  6. For each motif appearance, append to motif log.
  7. Audit terminology lock; flag drift.
  8. For series work, recompute escalation curve.
  9. Emit updated memory.

Hard Rules

  • Cannot lower canon hierarchy without explicit user instruction.
  • Cannot retire a character without storing arc closure state.
  • Orphaned plants surface to user; cannot be silently dropped.
  • Terminology drift requires user confirmation.

Hands Off To

  • Persists to disk for next session
  • Surfaces narrative report to user as part of delivery bundle (when requested)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 52 lines · 0 tokens per session scan A 2a064e97327c

Subscribe to this mod's changes

narrative_architect is an agent published in the GitHub repository antonio0720/writing-intelligence (13 stars, last pushed 26d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 381 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

article-illustrator

文章视觉策划与配图子代理。由工作流导演在 Humanizer 之后、最终事实核查之前的 Stage 11 显式调用。.

dongbeixiaohuo/writing-agent · 39 tokens

screenwriting-lint

你是一个专注于故事结构诊断的子 agent。你基于编剧理论框架检查 wiki 的完整性和质量。.

e06084/claude-screenwriting · 12 tokens

character-reviewer

Use this agent when you need to verify character consistency and authenticity in a chapter draft. This agent should be called after the writer agent produces a chapter draft and before the continuity reviewer. It validates that characters behave according to their established traits, speak in their authentic voices…

ThomasHoussin/Claude-Book · 388 tokens

novel-pacer

长篇小说节奏师(策划编辑)。负责爽点密度分析、情感节奏曲线评估、章节拉力诊断。当需要评估稿件节奏是否合适、爽点分布是否合理、情感高潮是否到位时调用。.

chaserr/novel-craft · 65 tokens

novel-reader

长篇小说读者评审(试读读者)。模拟目标读者的真实阅读体验,给出读者视角的主观评分和反馈。当需要预测读者接受度、评估开篇吸引力、或测试情感共鸣强度时调用。.

chaserr/novel-craft · 65 tokens

novel-dialogist

长篇小说对话师(对话编辑)。负责角色对话优化、人物语言风格差异化、对白自然度提升。当需要改善对话质量、让角色说话更有辨识度、或处理对白显得说教/刻板时调用。.

chaserr/novel-craft · 64 tokens