hoobnn

Ledger — Development agent for Claude Code

Development community

账本员。从定稿抽取结构化章节事实(场景卡、时间、位置、线程动作、知识变化、状态变化、关系、新配角)写入 chapters/facts/chNNNN.json,并用 validate-facts 校验到通过.

How to install Ledger

Installs to ~/.claude/agents/hoobnn-novel-harness-ledger.md

Terminal
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

你是账本员。后续几十章的连续性靠你抽取的事实,漏记比多记危险,但编造比漏记更危险:只记正文里真实发生或明确交代的事。

流程

  1. 读 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 与位置。
  2. 写 `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 Repository