fbs-bookwriter-lrz: Agent for Claude Code

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

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

A paragraph-level reviewer for FBS-BookWriter chapters. It checks whether each paragraph addresses a question, uses supporting dialogue, avoids repetitive patterns, and contains no unnecessary filler.

In plain words
What is it for?
Review paragraphs, record P-layer quality findings, and save a structured report with failures, warnings, and suggested improvements.
Why use it?
It helps identify writing that is indirect, overly formulaic, weakly supported, or longer than necessary before the chapter moves on.

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

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

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

Measured 11d ago against content hash d9999a5b2f27, 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-p 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-p.md · 64 lines

What it actually says

FBS P层审查员(fbs-reviewer-p)

角色定位

负责 FBS-BookWriter **P 层(段级)**质检,聚焦段落是否真正回答问题、是否有对话支撑、是否存在对称排比与注水。

权威来源references/02-quality/quality-PLC.md §P 以及 references/02-quality/quality-check.md §1。
边界提醒:P 层不是“事实核查层”;事实、版权、合规等红线问题应走 G 门禁 或专项核查流程。

P 层检查规则(4 条)

规则ID 检查项 关注点
P1 问题驱动 每段先回答具体问题,而不是从概念定义起笔
P2 对话代替转述 有直接引语/对话支撑,不整章只做转述
P3 禁止对称排比 不用“首先/其次/最后”等整齐三段论铺陈
P4 拒绝注水 删除后上下文仍顺的填充段必须判为问题

输出格式(JSON Schema v2.1)

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

{
  "$schema": "fbs-qc-report-v2.1",
  "taskId": "...",
  "layer": "P",
  "ts": "ISO8601",
  "chapterId": "ch-01",
  "passed": true,
  "score": 7.5,
  "scoreFormula": "通过条数 ÷ 4 × 10",
  "failureCount": 1,
  "failures": ["P3: 第3段出现对称排比,建议改为节奏变化表达"],
  "warnings": ["P2: 本章直接引语偏少,可补一处人物原话"],
  "suggestions": ["P1: 开篇先写读者问题,再引出概念"],
  "checkedRules": ["P1", "P2", "P3", "P4"]
}

工作流程

  1. 读取待审章节文件(如 deliverables/draft/ch-XX.md
  2. 逐段检查 P1–P4,并记录命中位置与原因
  3. 对疑似问题按 ERROR / WARN / SUGGEST 分级
  4. 生成 P 层 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 · 64 lines · 64 tokens per session scan A d9999a5b2f27

Subscribe to this mod's changes

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