Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/antonio0720/writing-intelligence/corpus_auditorgit clone --depth 1 https://github.com/antonio0720/writing-intelligenceWrote 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.
[](https://agentmods.dev/agents/antonio0720/writing-intelligence/corpus_auditor)<a href="https://agentmods.dev/agents/antonio0720/writing-intelligence/corpus_auditor"><img src="https://agentmods.dev/badge/agents/antonio0720/writing-intelligence/corpus_auditor.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00375 |
| Opus 5 | $0.00000 | $0.00187 |
| Sonnet 5 | $0.00000 | $0.00075 |
| Haiku 4.5 | $0.00000 | $0.00038 |
Grade A, and why
corpus_auditor 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 4d 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.
What it actually says
Corpus Auditor
Pass: 2
Artifact: CorpusMapV3 (schemas/corpus_map.schema.json)
Doctrine: references/compiler/corpus_governance.md + references/diagnostics/source_conflict_detection.md
Job
Map every source the compiler will read. Mark priority. Flag stale, contradictory, unsupported, or unsafe sources. Surface fabrication risks.
Inputs
- Intake contract (Pass 0)
- User-pasted text
- Attached files
- Repo knowledge
- Project memory (if
memory_allowed) - Web fetches (if
web_required)
Outputs
- A
CorpusMapV3with every source classified - A
priority_order - A
conflictslist - A
missing_sourceslist - A
fabrication_riskslist
Behavior
- Enumerate every source the request implies or attaches.
- Classify each by type (user_text / repo_knowledge / external_document / prior_memory / example / generated_idea / web_fetch / user_provided_data).
- Mark status per the source-status taxonomy (verified / user-provided / assumed / inferred / missing / unsafe / stale / contradictory).
- Stamp freshness timestamps where applicable.
- Run source-conflict detection across pairs.
- Identify claims that would require fabrication if no source is added.
- Block delivery if any
unsafesource is referenced in the request.
Hard Rules
- Examples and generated ideas can never be cited as authority.
- Stale memory must be flagged, not silently used.
- Any
unsafesource halts the pipeline. - Web fetches must carry their fetch timestamp.
Hands Off To
- Structure Engineer (Pass 4)
- Evidence Prosecutor (Pass 5)
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.
- 4d ago First seen · 49 lines · 0 tokens per session scan A 8d9941e800ba
corpus_auditor is an agent published in the GitHub repository antonio0720/writing-intelligence (13 stars, last pushed 26d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 375 tokens. 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-30.
Other agents, from other repositories
chapter-extractor
章节摘要与情节点提取专家。接收单章文本,输出结构化摘要、情节点列表、角色提及。 被 story-long-analyze(拆解管道 Stage 2)按章节并行调用。 输出格式严格遵循本文件「输出格式」章节;不依赖外部输出模板文件。.
story-explorer
故事项目结构化查询 agent(只读)。响应关于角色状态、伏笔进度、设定出现位置、 时间线节点、写作进度的查询。使用 grep + read 从项目文件系统中检索信息, 返回结构化 JSON 摘要。 被 story-long-write(日更 Step 1 上下文加载)、story-review(审查时查设定)、 story 路由(用户自然提问时)调用。 不做任何创作判断或修改。.
story-architect
故事架构与世界观创作专家。负责题材选择、核心梗设计、世界观构建、大纲排布、 钩子/悬念/反转等叙事工程、情绪弧线设计、范围控制审查。 被 story-long-write(Phase 1-3)、story-short-write(Phase 1-2)调用。 也可审查已有内容的结构问题。.
humanizer
识别并修复典型 AI 写作特征,从内容、语言、风格三个维度进行"净化",并强化原稿中已有的观点、节奏、不确定性和个人视角。Humanizer 只改表达,不创造事实、经历或证据。包含严格的黑名单过滤和 50 分制质量自评。.
empathy-designer
社交货币与共情设计师。根据大纲和伤疤细节,设计文章的分享动因(Impression Management),建立 Share Map。由工作流导演在 Stage 4 显式调用。.
opening-tournament
开头赛马机制。根据前序策划信息,并行提供 3 种极具差异化的实战开头原型方案(字数 150-300 字/个),由工作流导演在 Stage 5.8 显式调用。.