audit-documentation

audit-documentation is a command for Claude Code from chankov/agent-fleet. It costs 0 tokens per session (304 once invoked), scanned A, original, MIT.

A read-only review of selected documentation for broken links, orphaned pages, duplicate guidance, and conflicting instructions.

In plain words
What is it for?
Use it to audit a defined set of documentation and distinguish confirmed inconsistencies from findings that still need checking.
Why use it?
It helps reveal documentation that no longer matches the project's code, tests, accepted decisions, or indexing rules.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to audit a defined set of documentation and distinguish confirmed inconsistencies from findings that still need checking.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/chankov/agent-fleet/audit-documentation
Install

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.

Clone the repo
git clone --depth 1 https://github.com/chankov/agent-fleet

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 audit-documentation

README.md
[![agentmods](https://agentmods.dev/badge/commands/chankov/agent-fleet/audit-documentation/github.svg)](https://agentmods.dev/commands/chankov/agent-fleet/audit-documentation)
Your own site
<a href="https://agentmods.dev/commands/chankov/agent-fleet/audit-documentation"><img src="https://agentmods.dev/badge/commands/chankov/agent-fleet/audit-documentation/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 audit-documentation

Your own site · 80×15
<a href="https://agentmods.dev/commands/chankov/agent-fleet/audit-documentation"><img src="https://agentmods.dev/badge/commands/chankov/agent-fleet/audit-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 304 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.00000 $0.00304
Opus 5.5 $0.00000 $0.00122
Sonnet 5.5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

Measured 20d ago against content hash bc9c0b609d07, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit-documentation 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 20d 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.

catalog/commands/audit-documentation.md · 20 lines

What it actually says

Command: Audit documentation consistency

Use when reviewing a selected documentation scope for consistency. Inputs: requested files or documentation area; optional accepted decision or change to check against. This command is read-only and authorizes no external actions.

Disposition: extract evidence-backed auditing; exclude mandatory document taxonomy, paths, and automatic consolidation.

Process

  1. Discover the target documentation index, canonical sources, applicable policy, and requested scope. Ask if scope cannot be resolved; do not silently audit the whole repository.
  2. Check local links and anchors with existing tooling where available. Distinguish broken references from unavailable external targets; do not fetch external links without appropriate authorization.
  3. Find orphaned pages relative to the target's indexing policy, duplicated guidance, and contradictory current instructions. Historical decisions, generated copies, and examples are not automatically conflicting current policy.
  4. Compare claims with relevant implementation, tests, and accepted decisions where accessible. Cite both sides of each conflict and separate confirmed findings from suspected ones.
  5. Suggest canonical owners and focused corrections using target evidence. Where ownership is unresolved, present a question rather than choosing silently. Do not edit, delete, or consolidate files.

Output and done when

Report inspected scope, findings with file/section evidence, suggested canonical owners, and proposed corrections. List inaccessible sources and unchecked areas explicitly. Completion means the requested audit is reported, not that every document is correct or that fixes have been applied.

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. 20d ago First seen · 20 lines · 0 tokens per session scan A bc9c0b609d07

Subscribe to this mod's changes

audit-documentation is a command published in the GitHub repository chankov/agent-fleet (19 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 304 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-09-27.