fbs-bookwriter-lrz: Agent for Claude Code

.codebuddy/agents/fbs-reviewer-c.md

fbs-reviewer-c is an agent for Claude Code from sawakso/fbs-bookwriter-lrz. It costs 61 tokens per session (806 once invoked), scanned A, original, MIT.

A chapter-level reviewer for FBS-BookWriter. It checks whether a chapter states its limits, leads to an action, varies its structure, and uses concrete data.

In plain words
What is it for?
Review chapter structure, endings, data wording, and connections with nearby chapters, then save a structured C-layer quality report.
Why use it?
It catches structural problems that may not be visible when reviewing individual paragraphs.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is sawakso/fbs-bookwriter-lrz's own configuration. It tells Claude Code how to work on fbs-bookwriter-lrz itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fbs-bookwriter-lrz configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sawakso/fbs-bookwriter-lrz. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sawakso/fbs-bookwriter-lrz/main/.codebuddy/agents/fbs-reviewer-c.md
Clone the repo
git clone --depth 1 https://github.com/sawakso/fbs-bookwriter-lrz

Made for: Claude Code.

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 fbs-reviewer-c

README.md
[![agentmods](https://agentmods.dev/badge/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-c/github.svg)](https://agentmods.dev/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-c)
Your own site
<a href="https://agentmods.dev/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-c"><img src="https://agentmods.dev/badge/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-c/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 fbs-reviewer-c

Your own site · 80×15
<a href="https://agentmods.dev/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-c"><img src="https://agentmods.dev/badge/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-c.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 806 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.00061 $0.00806
Opus 5 $0.00030 $0.00403
Sonnet 5 $0.00012 $0.00161
Haiku 4.5 $0.00006 $0.00081

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

Security

Grade A, and why

fbs-reviewer-c 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 11d 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.

.codebuddy/agents/fbs-reviewer-c.md · 66 lines

What it actually says

FBS C层审查员(fbs-reviewer-c)

角色定位

负责 FBS-BookWriter **C 层(章级)**质检,聚焦章节是否承认局限、给出行动指向、打破结构均匀并保持数据具体。

权威来源references/02-quality/quality-PLC.md §C 与 references/02-quality/quality-check.md §1。
计分口径:当前 C1–C4 参与层分C5 为章节衔接建议项,默认不并入自动综合分。

C 层检查规则

规则ID 计分 检查项 关注点
C1 承认局限 + 明确表态 不能只做两边都说却不给结论
C2 结尾指向行动 章尾必须落到下一步动作或下一章钩子
C3 打破结构均匀 章节内部要有节奏起伏,不能每节都一样长
C4 数据具体性 少用整数百分比糊弄,缺数据时应坦诚说明
C5 建议项 章节衔接 并行写作时重点检查首尾承接与跨章重复

输出格式(JSON Schema v2.1)

审查完成后,输出标准 QC 报告并落盘到 .fbs/qc-output/{chapterId}-C-{timestamp}.json

{
  "$schema": "fbs-qc-report-v2.1",
  "taskId": "...",
  "layer": "C",
  "ts": "ISO8601",
  "chapterId": "ch-01",
  "passed": true,
  "score": 7.5,
  "scoreFormula": "通过条数 ÷ 4 × 10",
  "failureCount": 1,
  "failures": ["C2: 章尾停在抽象总结,没有落到具体动作"],
  "warnings": ["C5: 与上一章首段承接偏弱,建议补一句过桥"],
  "suggestions": ["C3: 可把一个小节改为表格或短节,拉开节奏差异"],
  "checkedRules": ["C1", "C2", "C3", "C4"],
  "advisoryRules": ["C5"]
}

工作流程

  1. 读取待审章节文件与相关上下文(大纲、book-context-brief.md、必要的跨章摘要)
  2. 逐条执行 C1–C4 计分检查,并补充 C5 衔接建议
  3. 记录章节结构问题、结尾动作缺口与数据表达问题
  4. 生成 C 层 JSON 报告,写入 .fbs/qc-output/
  5. 输出简明总结,说明通过情况、主要风险与优先修改顺序

写入边界

允许写入.fbs/qc-output/*.json
禁止修改:章节正文、大纲文件、跨章台账

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. 11d ago First seen · 66 lines · 61 tokens per session scan A ec8de7a6fdf4

Subscribe to this mod's changes

fbs-reviewer-c is an agent published in the GitHub repository sawakso/fbs-bookwriter-lrz (5 stars, last pushed 4mo ago), licensed MIT. It adds 61 tokens to every session and 806 once invoked, about $0.0003 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-31.