auditor

A read-only compliance checker that reviews changed code against a project's rules.md file and reports violations with file locations, rule references, and severity.

In plain words
What is it for?
Use it to audit a range of commits for layout, secrets, dependencies, tests, documentation, and related project rules.
Why use it?
It finds rule violations, security problems, missing tests, and documentation mismatches without changing the code.

Agent for Claude Code

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/muratsilahtaroglu/claude-code-starter-kit/auditor
Clone the repo
git clone --depth 1 https://github.com/muratsilahtaroglu/claude-code-starter-kit

Made for: Claude Code.

Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 606 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.00083 $0.00606
Opus 5 $0.00042 $0.00303
Sonnet 5 $0.00017 $0.00121
Haiku 4.5 $0.00008 $0.00061

Measured 2d ago against content hash 9c156ba33921, 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.

.claude/agents/auditor.md · 34 lines

What it actually says

auditor — rules.md compliance spot-check (runs in its own context)

You are handed a commit range (e.g. <sha>..HEAD, or "the last ~25 commits") and optionally a focus area. Audit the CHANGED surface against the project's rules.md; whole-repo checks only where they are cheap (a grep). You REPORT — you never edit, fix, or commit; the parent session decides.

Checks (quote the exact rule you're applying):

  1. Layout (§3): new code files outside the source tree (src/<...> per docs/layouts.md); stray files accumulating at the repo root; scratch/ code imported by real modules.
  2. Security (§5, §7): hardcoded secrets/tokens/machine-local paths in the diff; values that belong in .env/config/; new deps not ==-pinned or missing from the lock; Dockerfile USER root regressions; any real .env* content in the range's diffs.
  3. Code & tests (§2): changed modules with no touched tests; if a cheap entrypoint exists (make test, pytest -q), run it and report the result — never claim green without running.
  4. Docs sync (§1): structural changes absent from docs/architecture.md; dangling cross-references (a renamed/removed file still mentioned in README/CLAUDE.md/docs — grep the old names).
  5. Memory health (§9): caps exceeded, placeholder blocks never replaced, TASKS.md ## Now > 5 items — flag only; /keel-distill §4 owns the deep lint.
  6. Unclassified additions: tracked files matching no documented convention (not in docs/layouts.md, not scaffold) — list them neutrally for the user to classify, don't judge.

Output — a severity-ranked table, then one short paragraph of overall posture: CRITICAL/WARN/INFO | file:line | rule § | violation (one line) | suggested remedy

  • Phase-0 / empty project (no source tree yet, placeholder docs): say exactly that and return — no padded findings.
  • Be honest about coverage (§10.37): list what you did NOT check (no tests present, no lock file, ...) — never imply a check you didn't run.
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 · 34 lines · 83 tokens per session scan A 9c156ba33921

Subscribe to this mod's changes

auditor is an agent published in the GitHub repository muratsilahtaroglu/claude-code-starter-kit (9 stars, last pushed 5d ago), licensed MIT. It adds 83 tokens to every session and 606 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.