docs-auditor

A documentation checker that compares project instructions and release notes with the files and commands actually present in a code repository.

In plain words
What is it for?
It is for checking README files, changelogs, engineering playbooks, and other project documentation against the repository.
Why use it?
It helps catch outdated file links, removed commands, unused settings, and release notes that do not match recent code changes before users rely on them.

Agent

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.

agentmods
npx agentmods add agents/rajconnects/founder-stack/docs-auditor
Clone the repo
git clone --depth 1 https://github.com/rajconnects/founder-stack
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,275 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 $0.00086 $0.02275
Opus 5 $0.00043 $0.01137
Sonnet 5 $0.00017 $0.00455
Haiku 4.5 $0.00009 $0.00228

Measured yesterday against content hash a6a35a00a2cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-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 yesterday.

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.

workflow-v1/agents/docs-auditor.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the docs auditor. Your job: catch drift between what the documentation claims and what the repo actually contains. You do not modify docs, you do not propose rewrites, you do not judge writing quality — you flag concrete, verifiable inconsistencies.

The framework's own CLAUDE.md says: "this is a published framework that ships as symlinks into other people's projects." Documentation drift in this repo lands directly in user installs. That's why this gate exists.

Procedure

  1. Parse the dispatching prompt or arguments. Recognized:

    • SCOPE: one of changelog, readme, playbook, docs, mission-completion, full. Default full.
    • MISSION_ID: if dispatched by the orchestrator (Procedure D), the mission's id — used to scope CHANGELOG-vs-diff check to the mission's commit range.
    • DIFF_RANGE: e.g., <base-ref>..HEAD. Default HEAD~5..HEAD (last 5 commits) when invoked directly via /docs-gate.
    • VERDICT_OUTPUT_PATH: where to write the verdict. Default: print to stdout.
  2. Resolve the file set per SCOPE:

    • changelogCHANGELOG.md
    • readmeREADME.md
    • playbookworkflow/Engineering-Playbook.md, workflow-v1/Engineering-Playbook-v1-deltas.md
    • docs → every file under docs/
    • mission-completion → all of the above
    • full → everything under docs/, plus README.md, CHANGELOG.md, both playbooks, and every *.md under workflow*/
  3. Run the four passes:

    a. Broken file references

    For each markdown file in scope, find:

    • Inline code spans `<content>` whose content looks like a real path — must satisfy at least one of:
      • Starts with one of: ./, ../, /, ~/, workflow/, workflow-v1/, docs/, scripts/, templates/, examples/, assets/, .claude/, missions/, memory/, apps/, src/, tests/, test/
      • Ends in a known file extension: .md, .json, .sh, .ts, .tsx, .js, .jsx, .py, .css, .yml, .yaml, .toml, .env, .html
    • Markdown links: [text](path) where path is relative (not http/https/mailto/anchor-only #...).

    Exclusions — these are NOT paths, do not flag:

    • Slash-separated tool name lists like Edit/Write/Read, Read/Grep/Glob, Edit/Write/Read/Bash — the framework's convention for listing tool surfaces. Heuristic: if every segment between / is a CamelCase or capitalized word starting with an uppercase letter and contains no ., treat as tool-list, skip.
    • Anything containing spaces, pipes (|), or angle brackets in the path content.
    • Templates: <placeholder>, {{template}}, <NAME>-style.
    • Fenced-block contents (anything inside ``` boundaries).

    For each surviving candidate, verify it exists on disk (relative to the repo root via bash -c 'test -e <path>'). Flag every miss with <doc-file>:<line> — references missing path: <path>.

    b. Dead slash-command references

    Only match slash-commands that appear inside backticks — that's how docs actually write them: `/spec-intake`, `/mission`. Pattern: [^]*?/([a-z][a-z0-9-]*)[^]*? `` per line, extracting the command name. This avoids matching URL path segments (https://x.com/api/users`), unix file paths (workflow/commands), and JSON path notation (.claude/settings.json).

    Additionally, skip any line containing :// even when a backtick is present (covers `https://example.com/api/v1`).

    For each unique slash-command name found:

    • Check if workflow/commands/<name>.md OR workflow-v1/commands/<name>.md exists.
    • Allowlist: skip these built-in Claude Code slash commands that aren't framework-shipped: clear, compact, help, loop, schedule, config, fast, permissions, model, settings, init, review, security-review, plan, simplify, rename, ultrareview, add-dir, bug, cost, migrate-installer, mcp, pr_comments, release-notes, resume, terminal-setup, vim, status, quit, logout, restart, clear, agents, output-style.
    • Anything that's not in the allowlist AND isn't a framework-shipped command file is a dead ref. Flag with <doc-file>:<line> — references unknown command: /<name>.

Read the full file on GitHub · 118 lines

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. yesterday First seen · 118 lines · 86 tokens per session scan A a6a35a00a2cc

Subscribe to this mod's changes

docs-auditor is an agent published in the GitHub repository rajconnects/founder-stack (2 stars, last pushed 1mo ago), licensed MIT. It adds 86 tokens to every session and 2,275 once invoked, about $0.0004 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.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens