audit

audit is a command for coding agents from RaNDoM6913/claude-code-superkit. It costs 20 tokens per session (1,995 once invoked), scanned A, original, MIT.

Run comprehensive parallel audit — dispatches specialized agents by scope (frontend, backend, infra, security).

Command

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 commands/random6913/claude-code-superkit/audit
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/random6913/claude-code-superkit/audit.svg)](https://agentmods.dev/commands/random6913/claude-code-superkit/audit)
Your own site
<a href="https://agentmods.dev/commands/random6913/claude-code-superkit/audit"><img src="https://agentmods.dev/badge/commands/random6913/claude-code-superkit/audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 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,995 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00020 $0.01995
Opus 5 $0.00010 $0.00997
Sonnet 5 $0.00004 $0.00399
Haiku 4.5 $0.00002 $0.00199

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

Security

Grade A, and why

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

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.

packages/core/commands/audit.md · 167 lines

How it starts

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

Audit Orchestrator

Dispatch specialized audit agents in parallel and merge their reports into one unified audit report with a Grand Summary.

Hard Rules

  1. Dispatch all selected agents in parallel — a single message with multiple Agent tool calls.
  2. Only dispatch agents that exist in the project's .claude/agents/ directory. Skip unavailable agents with a note — never invent results for an agent that did not run.
  3. Quote each agent's verdicts verbatim: audit-frontend / audit-backend / audit-infra each return exactly 12 checks with per-check PASS/WARN/FAIL plus notes; security-scanner returns findings with CRITICAL/WARNING/SUGGESTION. Never relabel one enum as the other — the only cross-mapping allowed is the Section Verdict table in Step 6.
  4. Emit the Grand Summary ONLY after every dispatched agent has returned or its section is explicitly marked SKIPPED.
  5. Grand Summary counts are copied from each agent's own Summary: line — each dispatched auditor row must sum to 12; the Total row must equal the column sums.
  6. The audit is read-only — never modify project files.
  7. Unrecognized scope argument → run all and state unrecognized scope '<arg>' — defaulted to all in the report header.

Steps

1. Parse scope and mode

Consume $ARGUMENTS:

Arguments Action
contain --health Health mode → Step 2
frontend | backend | infra | security | all That scope → Step 3
empty Scope all → Step 3
anything else Scope all + header note (Hard Rule 7) → Step 3

Done when: exactly one scope, or health mode, is selected.

2. Health mode (only when --health)

Dispatch ONLY the health-checker agent (skip frontend/backend/infra/security audits) with:

Run all your health checks against the project codebase and emit your Project Health Dashboard.

Output health-checker's own Output Contract verbatim — the Project Health Dashboard block. The unified template below does NOT apply to health mode. If health-checker is not in .claude/agents/, report "health-checker unavailable — cannot run health mode" and stop.

Read the full file on GitHub · 167 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. today First seen · 167 lines · 20 tokens per session scan A c65809dabff9

Subscribe to this mod's changes

audit is a command published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 1,995 once invoked, about $0.0001 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-09-03.