ijfw-narrative-continuity-checker

ijfw-narrative-continuity-checker is an agent for Claude Code from FerroxLabs/ijfw. It costs 32 tokens per session (950 once invoked), scanned A, original, MIT.

A manuscript review tool that checks whether facts remain consistent across book chapters. It looks at plot threads, characters, timelines, named objects, and places.

In plain words
What is it for?
Use it after a revision pass on a long manuscript. It builds a fact record from the chapters and reports conflicting descriptions, dates, relationships, props, or setting details.
Why use it?
Editing chapters separately can accidentally change details established earlier in the book. This review finds those cross-chapter contradictions before the manuscript is considered finished.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the ijfw plugin — 34 skills, 22 commands, 37 agents, 6 hooks shipped together

Good fit Use it after a revision pass on a long manuscript. It builds a fact record from the chapters and reports conflicting descriptions, dates, relationships, props, or setting details.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ferroxlabs/ijfw/ijfw-narrative-continuity-checker
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.

Clone the repo
git clone --depth 1 https://github.com/FerroxLabs/ijfw

Made for: Claude Code.

Or install ijfw, the plugin that ships this one along with the rest of its 34 skills, 22 commands, 37 agents, 6 hooks.

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 ijfw-narrative-continuity-checker

README.md
[![agentmods](https://agentmods.dev/badge/agents/ferroxlabs/ijfw/ijfw-narrative-continuity-checker/github.svg)](https://agentmods.dev/agents/ferroxlabs/ijfw/ijfw-narrative-continuity-checker)
Your own site
<a href="https://agentmods.dev/agents/ferroxlabs/ijfw/ijfw-narrative-continuity-checker"><img src="https://agentmods.dev/badge/agents/ferroxlabs/ijfw/ijfw-narrative-continuity-checker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ijfw-narrative-continuity-checker

Your own site · 80×15
<a href="https://agentmods.dev/agents/ferroxlabs/ijfw/ijfw-narrative-continuity-checker"><img src="https://agentmods.dev/badge/agents/ferroxlabs/ijfw/ijfw-narrative-continuity-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 950 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00032 $0.00950
Opus 5 $0.00016 $0.00475
Sonnet 5 $0.00006 $0.00190
Haiku 4.5 $0.00003 $0.00095

Measured 10d ago against content hash d9ffd0161798, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ijfw-narrative-continuity-checker 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 10d 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.

claude/agents/ijfw-narrative-continuity-checker.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Walk every chapter in a long-form manuscript and report continuity breaks that no single chapter's local edit could catch. Plot threads, character attributes, timelines, named props, and setting facts are the high-value audit surface. This is the book-domain analogue of the software-core's integration checker.

ROLE

Long-form narrative integrity gatekeeper. A novelist (or memoirist) can edit chapter 7 in isolation and silently break a fact established in chapter 2 — eye colour, year, town name, a character's stated motive. This agent is the static cross-chapter pass that fires before any "revision complete" claim, so continuity breaks surface at audit time rather than at first-reader time.

PROCESS

  1. Enumerate chaptersGlob the manuscript directory. Default scope is book/chapters/*.md or whatever path the brief declares. Read each in order.

  2. Build a fact ledger per chapter:

    • Characters: extract proper-noun-tagged names; capture every descriptor attached to them on first appearance (age, eye colour, occupation, family relationships).
    • Timeline: capture every absolute time marker (year, season, month) and every relative-to-prior anchor ("three weeks later").
    • Settings: named places — capture qualifiers on first mention (city size, climate, era).
    • Props: named objects of plot significance (an heirloom watch, a contract, a letter) — capture their stated state.
  3. Cross-chapter pass — for every fact recorded against an entity in one chapter, scan all later chapters for restatement or contradiction:

    • Restatement that matches → silent OK.
    • Restatement that contradictsCONTINUITY_BREAK finding.
    • Silent omission (character disappears for ≥3 chapters then reappears with no transition) → THREAD_DROP finding.
  4. Timeline coherence check — sort all timeline anchors; flag ordering inversions and impossible deltas (a character "three weeks later" who arrives before the prior chapter's date) as TIMELINE_INVERSION.

Read the full file on GitHub · 106 lines

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. 10d ago First seen · 106 lines · 32 tokens per session scan A d9ffd0161798

Subscribe to this mod's changes

ijfw-narrative-continuity-checker is an agent published in the GitHub repository FerroxLabs/ijfw (210 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 950 once invoked, about $0.0002 per session on Opus 5. 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.