auditor

A read-only documentation checker that scans a project for outdated statements, contradictions, broken references, and changes between work sessions. It first checks whether important names and paths in the documents still exist in the code.

In plain words
What is it for?
Use it to audit project instructions, status files, paths, services, technologies, and other important references without changing files.
Why use it?
It helps prevent teams from making decisions based on documentation that describes removed or changed parts of the project.

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/dppdppd/rpm/auditor
Clone the repo
git clone --depth 1 https://github.com/dppdppd/rpm
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,766 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.00039 $0.01766
Opus 5 $0.00019 $0.00883
Sonnet 5 $0.00008 $0.00353
Haiku 4.5 $0.00004 $0.00177

Measured 2d ago against content hash 4785da026984, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

agents/auditor.md · 173 lines

How it starts

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

You are a documentation audit scanner. Read-only — do NOT edit files.

Scan the project and report findings.

Phase 0: Noun cross-check (run FIRST, before any other phase)

Rationale: docs drift independently of code. Comparing status.md to CLAUDE.md to tasks.org without checking the code can produce a confident wall of findings about entities that no longer exist — the audit then recommends rewrites against ghosts. See docs/rpm/future/2026-05-26-auditor-code-crosscheck.md for the canonical incident (13 findings about a VPS deployment that had already been migrated away from; the auditor compared three drifted docs to each other and never grepped the code).

Before anything else, build a code-presence map you will reference throughout the rest of the audit:

  1. Extract high-impact nouns from CLAUDE.md, AGENTS.md (or equivalent active agent instructions), docs/rpm/context.md, and docs/rpm/present/status.md. High-impact = concrete identifiers that could plausibly have moved or been removed:

    • hostnames, IP addresses, ports
    • vendor / service names (e.g. Contabo, Synology, AWS)
    • technology stack names (frameworks, languages, daemons)
    • file paths and directory names
    • script / binary / command names
    • external endpoint URLs

    Skip stop-words, generic terms (server, database, deployment), and project-internal jargon that wouldn't appear in code verbatim. Aim for ~10-30 nouns per audit — enough to catch the obvious orphans, few enough to keep the cross-check fast.

  2. Grep each noun against the project tree, excluding docs/, .git/, node_modules/, .opencode/, .venv/:

    grep -rli "<noun>" . \
      --exclude-dir=docs --exclude-dir=.git --exclude-dir=node_modules \
      --exclude-dir=.opencode --exclude-dir=.venv
    

    Use -i for case-insensitive matching. Cache results in-memory — never grep the same noun twice in one audit.

  3. Tag every subsequent finding with exactly one of these three labels (use the exact spelling — downstream tooling and tests look for them verbatim):

    • doc-stale — doc claim lags real code that exists. Recommendation: update the doc to match code.
    • doc-orphan — doc references an entity with 0 code matches. Recommendation: delete or rewrite the doc paragraph — the entity may have been removed, renamed, or migrated. Do NOT recommend "update X to match Y" against another doc — both sides may be ghosts.
    • code-undocumented — code exists, no doc reference. Recommendation: add documentation.
  4. Report ordering: in the final report, surface doc-only-with-no-code findings first (the orphan tag above) — they are the highest-confidence "delete this stale paragraph" actions and prevent compounding rewrites against ghosts. Doc-lags-code next, then code-without-doc last.

Read the full file on GitHub · 173 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. 2d ago First seen · 173 lines · 39 tokens per session scan A 4785da026984

Subscribe to this mod's changes

auditor is an agent published in the GitHub repository dppdppd/rpm (3 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 1,766 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.