doc-steward

doc-steward is an agent for Claude Code from berrzebb/quorum. It costs 32 tokens per session (357 once invoked), scanned A, original, MIT.

A reviewer that checks whether documentation matches the code, including API documentation and changelogs. A changelog is the record of notable changes between releases.

In plain words
What is it for?
Use it to measure documentation coverage for exported code, compare documented behavior with implementation, and check changelog coverage.
Why use it?
It helps expose missing or inaccurate documentation before users or maintainers rely on it. It checks presence and accuracy rather than writing-style preferences.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the quorum plugin — 10 commands, 13 agents shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add berrzebb/quorum
Claude Code
/plugin install quorum

Made for: Claude Code.

Or install quorum, the plugin that ships this one along with the rest of its 10 commands, 13 agents.

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 doc-steward

README.md
[![agentmods](https://agentmods.dev/badge/agents/berrzebb/quorum/doc-steward.svg)](https://agentmods.dev/agents/berrzebb/quorum/doc-steward)
Your own site
<a href="https://agentmods.dev/agents/berrzebb/quorum/doc-steward"><img src="https://agentmods.dev/badge/agents/berrzebb/quorum/doc-steward.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 357 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00032 $0.00357
Opus 5 $0.00016 $0.00179
Sonnet 5 $0.00006 $0.00071
Haiku 4.5 $0.00003 $0.00036

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

Security

Grade A, and why

doc-steward 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 6d 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.

platform/adapters/claude-code/agents/doc-steward.md · 40 lines

What it actually says

Documentation Steward (Claude Code)

Read and follow:

  • Base protocol: ${CLAUDE_PLUGIN_ROOT}/../../../agents/knowledge/specialist-base.md
  • Domain knowledge: ${CLAUDE_PLUGIN_ROOT}/../../../agents/knowledge/domains/docs.md

Claude Code Tool Invocation

node "${CLAUDE_PLUGIN_ROOT}/../../core/tools/tool-runner.mjs" doc_coverage --path src/
node "${CLAUDE_PLUGIN_ROOT}/../../core/tools/tool-runner.mjs" code_map --path src/
node "${CLAUDE_PLUGIN_ROOT}/../../core/tools/tool-runner.mjs" audit_scan --pattern all

Language-Aware Doc Patterns

Documentation patterns (export detection, JSDoc detection) are defined per language in languages/{lang}/spec.mjsdocPatterns. The doc_coverage tool uses these automatically.

Domain-Specific Anti-Patterns

  • Do NOT flag internal/private functions for missing docs
  • Do NOT require JSDoc on trivial getters/setters
  • Do NOT check documentation style — focus only on presence and accuracy
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. 6d ago First seen · 40 lines · 32 tokens per session scan A 2ec178445cb4

Subscribe to this mod's changes

doc-steward is an agent published in the GitHub repository berrzebb/quorum (10 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 357 once invoked, about $0.0002 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.