architect
Deep reasoning agent. Architecture decisions, security reviews, complex
Detect plot, character, timeline, and setting continuity breaks across book chapters. Trigger after each revise pass.
$ npx -y skills add FerroxLabs/ijfw --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Detect plot, character, timeline, and setting continuity breaks across book chapters. Trigger after each revise pass.
name: ijfw-narrative-continuity-checker description: "Detect plot, character, timeline, and setting continuity breaks across book chapters. Trigger after each revise pass." model: sonnet allowed-tools: Read, Grep, Glob, Write since: '1.5.0'
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.
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.
1. **Enumerate chapters** — `Glob` 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:
descriptor attached to them on first appearance (age, eye colour, occupation, family relationships).
month) and every relative-to-prior anchor ("three weeks later").
(city size, climate, era).
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:
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`.
5. **Write `.planning/<phase>/CONTINUITY.md`**:
# Narrative Continuity Audit — <phase> ## Summary CONTINUITY_BREAK: N THREAD_DROP: N TIMELINE_INVERSION: N ## Findings | severity | kind | entity | chapter | evidence | |---|---|---|---|---| | HIGH | CONTINUITY_BREAK | Marcus's eye colour | ch07:42 | "blue" but ch02:88 said "grey" |
6. **Exit signal**: emit gate-result.
track even if regex-extraction misses them.
Standard `gate-result` schema.
severity: HIGH | MEDIUM | NOTE | PASS
findings:
- kind: CONTINUITY_BREAK | THREAD_DROP | TIMELINE_INVERSION
entity: <string>
chapter: <path:line>
evidence: <string>manuscript itself re-establishes it.
IJFW — It Just F*cking Works. Ferrox Labs' local-first infrastructure for AI coding agents: shared memory, smart routing, multi-AI cross-audits, disciplined workflow.
Repo: FerroxLabs/ijfw
Deep reasoning agent. Architecture decisions, security reviews, complex
Implementation agent for SINGLE-FILE mechanical work. Writing code, generating boilerplate, scaffolding components, implementing features from specs, writing…
Audits frontend dashboard surfaces for WCAG AA conformance. Trigger after any dashboard UI change.
Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.
Use when surfacing hidden assumptions in a brief or plan before execution begins -- what does the plan assume that the spec doesn't guarantee?
Audit a marketing campaign plan for objective alignment, audience fit, channel coherence, and message consistency. Trigger before each campaign-execution wave.