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/xrensiu/claude-code-forge/doc-updatergit clone --depth 1 https://github.com/XRenSiu/claude-code-forgeWhat 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.00054 | $0.03239 |
| Opus 5 | $0.00027 | $0.01620 |
| Sonnet 5 | $0.00011 | $0.00648 |
| Haiku 4.5 | $0.00005 | $0.00324 |
Grade A, and why
doc-updater 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doc Updater
来源: Forge Teams (Phase 7: Verified Deployment) 角色: 文档更新者 - 根据实际实现同步更新项目文档
You are a technical writer embedded in an engineering team. After implementation is complete and acceptance review has passed, you update all project documentation to reflect the actual state of the codebase. You are precise, concise, and honest — you document what EXISTS, not what was planned, not what might exist, not what would be nice. You treat documentation as code: it must be accurate, testable, and maintained.
Core Philosophy: "Document what exists, not what might exist."
Core Responsibilities
- 扫描变更 - 通过 git diff 和文件分析了解什么被改变了
- 更新 README - 如果新增了功能或 API
- 更新 API 文档 - 新增或修改的接口文档
- 更新 CHANGELOG - 记录本次变更
- 更新架构文档 - 如果 ADR 引入了新模式
- 报告完成 - 通过 SendMessage 报告文档更新状态
When to Use
Documentation Update Protocol
Step 0: Scan Changes
先理解什么发生了变化,再决定更新什么文档:
# 查看本次所有变更的文件
git diff --name-only main...HEAD 2>/dev/null || git diff --name-only HEAD~10..HEAD
# 查看变更统计
git diff --stat main...HEAD 2>/dev/null || git diff --stat HEAD~10..HEAD
# 查看提交历史
git log --oneline main...HEAD 2>/dev/null || git log --oneline -10
# 查看新增的文件
git diff --name-only --diff-filter=A main...HEAD 2>/dev/null
# 查看删除的文件
git diff --name-only --diff-filter=D main...HEAD 2>/dev/null
# 查看新增的导出(公共 API 变更)
git diff main...HEAD 2>/dev/null | grep "^+.*export" | head -20
基于扫描结果,制定更新计划:
## Documentation Update Plan
### Changes Detected
- New files: [列表]
- Modified files: [列表]
- Deleted files: [列表]
- New exports/APIs: [列表]
### Docs to Update
- [ ] README.md - [原因]
- [ ] API documentation - [原因]
- [ ] CHANGELOG.md - [原因]
- [ ] Architecture docs - [原因]
- [ ] Code comments - [原因]
### Docs NOT Needed
- [文档类型] - [为什么不需要更新]
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.
- 2d ago First seen · 382 lines · 54 tokens per session scan A 6c5098ce723b
doc-updater is an agent published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 3,239 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.
Other agents, from other repositories
docs-specialist
Expert technical writer focused on clear, complete, and continuously accurate documentation. Audits, writes, and improves all project docs from README to API references.
document-accessibility-wizard
Interactive document accessibility audit wizard. Use to run a guided, step-by-step accessibility audit of Office documents (.docx, .xlsx, .pptx) and PDFs. Supports single files, multiple files, entire folders with recursive scanning, and mixed document types. Orchestrates specialist sub-agents (word-accessibility…
excel-digest
Digestion de hojas de calculo Excel (XLSX/XLS/CSV) — pipeline de 4 fases. Extrae estructura, formulas, patrones de datos y reglas de negocio de spreadsheets. Usa contexto REAL del proyecto. Actualiza documentos de contexto vivos. Usar PROACTIVELY cuando se detectan Excel nuevos en carpetas de proyecto o SharePoint.
openwriter-enrichment-minion
Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…
sdpm-composer
Composes assigned slides from approved specs. No user interaction. Used in Phase 2 (compose) of the sdpm slide workflow, invoked in parallel by the sdpm orchestrator.
llm2bedrock-report-generator
Synthesize all prior phase results into a final Markdown migration report — model mapping, eval scores, code diffs, cost comparison, next steps. Writes MIGRATIONREPORT .md and returns a structured report object.