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.
/plugin marketplace add ihudak/ihudak-claude-plugins/plugin install docs-workflowsWrote 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/commands/ihudak/ihudak-claude-plugins/docs-audit)<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-audit"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/docs-audit/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.
<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-audit"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/docs-audit.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00165 | $0.17432 |
| Opus 5.5 | $0.00066 | $0.06973 |
| Sonnet 5.5 | $0.00033 | $0.03486 |
| Haiku 4.5 | $0.00016 | $0.01743 |
Grade A, and why
docs-audit 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 2mo 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 — 403 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Core references. A citation of the form workflows-core:<name> names a shared reference in the workflows-core plugin. Load it with Skill(skill: "workflows-core:reference", args: "<name>") — never by path: ${CLAUDE_PLUGIN_ROOT} resolves to this plugin, which does not carry it.
Audit a documentation repository's coverage: $ARGUMENTS
/docs-audit answers one question — what is this product missing documentation about, and which of it is worth writing first. It builds a denominator from the product's own code and from the committed documents in the specs tree, crosses that denominator with the page types each thing actually earns, ranks the result, and writes .dev-workflows/docs-backlog.yml in the resolved documentation repository. It writes no documentation content: its output is a backlog and a coverage grid, and turning a unit into a page is a later act. Its bulk lives in this plugin's own references and it does not restate them — the coverage vocabulary, the file's schema and the evidence contract are ${CLAUDE_PLUGIN_ROOT}/references/docs-audit/'s, and a second copy of any of them is a second thing to keep in step. This command body names the entry point it is executing at each step, the inputs it owes each agent, and the merges no agent can make on its own.
Signature: /docs-audit [<docs-repo-path>] [--audience user|engineering|both] [--refresh] [--threshold <n>]
Every stop in this command takes the same route, and each site says so. A stop is still a run: it prints its DOCS_AUDIT_* line, skips to the Phase 6 report, which states that stop and nothing else, and then runs the emitter tail (Phases 7–9) — so its cost and feedback are recorded and commit-artifacts runs as the last action, which is the family invariant every command writing into $SPECS_PATH holds. That is what takes the stop route means wherever this body uses it below. The exceptions are the runs that end before Phase 0 step 2 has resolved a repository — step 1's three flag stops, and a Cancel at step 2's own choice — since there is nothing yet to report against; Phase 9 states them.
Four guarantees are this orchestrator's and no agent's, and they are the reason this command is more than three dispatches in a row. docs-auditor and ia-planner each guarantee their own rules within their own return; only this command holds the file, so only this command can reconcile a return against what is already in it. Those four are: the volatility: unknown substitution (Phase 5), handing each agent what already exists on a --refresh (Phases 3 and 4), keeping a theme the scan could not settle out of the gap list (Phases 2 and 4), and applying priority_comparisons[] (Phase 5). A fifth is the tutorial mint (Phase 4.5), which ia-planner is forbidden to perform and ${CLAUDE_PLUGIN_ROOT}/references/docs-audit/backlog-format.md §1 assigns to --refresh — this command — by name.
Phase 0 — Resolve
- Flags. Strip
--refresh,--audience <value>and--threshold <n>from$ARGUMENTS— each of the last two together with the token immediately after it — before reading a positional token. What remains is the optional<docs-repo-path>. A value read as a path because the flag ahead of it was not stripped is a run that audits the wrong repository, or none.--audiencetakesuser,engineeringorboth, and nothing else: any other value stops withDOCS_AUDIT_UNKNOWN_AUDIENCE: <value> is not an audience (user, engineering or both).Absent, it isboth.--thresholdtakes a positive integer: anything else stops withDOCS_AUDIT_BAD_THRESHOLD: <value> is not a positive integer.After the recognised flags are stripped, any remaining token that begins with--stops the run —DOCS_AUDIT_UNKNOWN_FLAG: <token> is not a flag of /docs-audit.All three of this step's stops are exceptions to the stop route, with step 2's Cancel: they fire before step 2 resolves anything, so there is no repository to report against and nothing to file a cost entry to — the stop is printed and the run ends there, which is the exception Phase 9 states from the other end. The rule is general, not a list:resolve-docs-reporung 1 takes the first positional token as given, with no signal test, so a mistyped--dryrunwould become the resolved repository and Phase 5 would write--dryrun/.dev-workflows/docs-backlog.yml. That includes--docsand--no-docs, which this command deliberately does not have — it resolves no documentation grounding, see step 7 for why.
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.
- 2mo ago Changed 7a053561c217
- 2mo ago First seen · 403 lines · 165 tokens per session scan A 2ffb5ce367aa
docs-audit is a command published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 165 tokens to every session and 17,432 once invoked, about $0.0007 per session on Opus 5.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-09-23.
docs-audit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docs-auditihudak/ihudak-claude-plugins | Command | 2 | 2mo ago | MIT | A | 165 | Claude Code |
| memorizelucasrosati/claude-code-memory-setup | Command | 1.1k | yesterday | MIT | A | 0 | Claude Code |
| opsfrankxai/agentic-creator-os | Command | 14 | yesterday | Apache-2.0 | A | 35 | Claude Code |
| commitjoaquimscosta/arkhe-claude-plugins | Command | 24 | 1mo ago | MIT | A | 11 | Claude Code |
| gws-peoplefakoli/fakoli-plugins | Command | 4 | 4d ago | MIT | A | 9 | Claude Code |
| package-reviewoborchers/fractional-cto | Command | 39 | 1mo ago | MIT | A | 41 | Claude Code |
| searchcoltonbearden/carrel | Command | 2 | 2d ago | MIT | A | 29 | Claude Code |