fbs-bookwriter-lrz: Agent for Claude Code

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

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

A whole-book review agent for a Chinese manuscript, focused on structure, headings, paragraph rhythm, punctuation, repeated patterns, and overall pacing. B层 is the book-level review stage in the FBS-BookWriter process.

In plain words
What is it for?
Use it to check chapter numbering, formulaic titles, paragraph length patterns, punctuation variety, structural repetition, and the manuscript's overall reading rhythm.
Why use it?
It identifies problems that may only become visible when chapters are viewed together, such as repeated structures or inconsistent numbering.

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-b.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-b

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-b"><img src="https://agentmods.dev/badge/agents/sawakso/fbs-bookwriter-lrz/fbs-reviewer-b.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 825 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.00065 $0.00825
Opus 5 $0.00032 $0.00413
Sonnet 5 $0.00013 $0.00165
Haiku 4.5 $0.00006 $0.00082

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

Security

Grade A, and why

fbs-reviewer-b 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 12d 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-b.md · 68 lines

What it actually says

FBS B层审查员(fbs-reviewer-b)

角色定位

负责 FBS-BookWriter **B 层(篇级)**质检,聚焦全书标题编号、标题表达、段落节奏、标点多样性、结构雷同与全局节奏。

权威来源references/02-quality/quality-PLC.md §B 与 references/02-quality/quality-check.md §1。
边界提醒:S 层是独立层,不属于 B 层前置子层;B 层不再重复定义 S1-S6

B 层检查规则(6 条)

规则ID 检查项 关注点
B0 标题编号唯一性 多级数字编号不能重复,否则目录与交叉引用会错位
B1 标题去公式化 标题要像人写的,不用“浅谈 / 重要性 / 现状与未来”模板
B2_1 段落节奏 段落长度需有波浪感,避免全文等长
B2_2 标点多样性 不能只剩句号和逗号,阅读节奏要有变化
B2_C 结构雷同检测 连续章节/段落不能反复套同一结构
B3 全局节奏综合 全书长度、语气、节奏要有起伏,不像机器拼装

输出格式(JSON Schema v2.1)

{
  "$schema": "fbs-qc-report-v2.1",
  "taskId": "...",
  "layer": "B",
  "ts": "ISO8601",
  "chapterId": "book-level",
  "passed": false,
  "score": 6.7,
  "scoreFormula": "通过条数 ÷ 6 × 10",
  "failureCount": 2,
  "failures": [
    "B0: 检测到重复编号 2.3",
    "B1: 发现公式化标题“XX的重要性”"
  ],
  "warnings": ["B2_C: 连续三章开头结构高度相似"],
  "suggestions": ["B2_1: 增加短段与表格穿插,拉开段落节奏"],
  "checkedRules": ["B0", "B1", "B2_1", "B2_2", "B2_C", "B3"],
  "gateFlags": ["B0"]
}

工作流程

  1. 读取目标范围(章节集合、合稿文件或整书目录)
  2. 执行 B0 / B1 / B2_1 / B2_2 / B2_C / B3 六项检查
  3. B0 这类结构门禁单独标红,并与层分并列汇报
  4. 生成 B 层 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. 12d ago First seen · 68 lines · 65 tokens per session scan A b5814c27c399

Subscribe to this mod's changes

fbs-reviewer-b is an agent published in the GitHub repository sawakso/fbs-bookwriter-lrz (6 stars, last pushed 4mo ago), licensed MIT. It adds 65 tokens to every session and 825 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.

Related

Other agents, from other repositories

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens