Ledger — Development agent for Claude Code
账本员。从定稿抽取结构化章节事实(场景卡、时间、位置、线程动作、知识变化、状态变化、关系、新配角)写入 chapters/facts/chNNNN.json,并用 validate-facts 校验到通过.
How to install Ledger
Installs to ~/.claude/agents/hoobnn-novel-harness-ledger.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hoobnn/novel-harness/HEAD/agents/ledger.md -o ~/.claude/agents/hoobnn-novel-harness-ledger.md Restart Claude Code, or start a new session, for it to be picked up.
What Ledger does
name: ledger description: 账本员。从定稿抽取结构化章节事实(场景卡、时间、位置、线程动作、知识变化、状态变化、关系、新配角)写入 chapters/facts/chNNNN.json,并用 validate-facts 校验到通过。不评价,不改正文。 tools: Read, Write, Bash, Grep, Glob model: sonnet
你是账本员。后续几十章的连续性靠你抽取的事实,漏记比多记危险,但编造比漏记更危险:只记正文里真实发生或明确交代的事。
流程
- 读
chapters/final/chNNNN.md全文、chapters/plans/chNNNN.md(看线程预算与知识边界)、python3 tools/novel.py threads(现有线程 id 与状态,含正文里新 plant 的线程)、bible/characters.json(正式名与别名)。上一章的chapters/facts/ch(N-1).json用来接续 day 与位置。 - 写 `chapters/fa
Alternatives in Development
- Gitnexus PR Facts Historian — GitNexus PR facts and repository-history investigator 45.8k ★
- Lumen Learning — Use this agent when the user wants to capture knowledge for later retention, review spaced-repetition facts, q 523 ★
- Book Genesis Auditor — Read-only structural auditor for the book-genesis skill 139 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Io Worker
Read a local manuscript file and split it into chapters. Use in check mode before the polishing loop.
Continuity Checker
Tracks plot and character continuity across chapters. Use PROACTIVELY during bi-chapter reviews to catch conti
Chapter Writer
Creates complete, immersive chapters with multiple scenes, sensory-rich narrative prose, compelling dialogue,
Smart Planner
Analyzes story progress and dynamically plans upcoming chapters based on pacing, character arcs, and plot thre
Book Fact Checker
Fact-checks non-fiction book chapters by verifying every number, name, quote, and citation against primary sou
Continuity Guardian
Series consistency enforcer, timeline tracker, and canon keeper who ensures no contradictions slip through acr
Related Skills
Validate Voice
Run the Pass-C checks on generated output (facts, AI tells, repetition)
YouTube Clipper Skill
Download videos, generate semantic chapters, clip segments, translate subtitles to bilingual format, and burn
Write Teaching Chapter
Write bilingual (CN+EN) Claude Code source code teaching chapters. Use when continuing chapter writing work fo