audit

audit is a skill for Claude Code from darkroomengineering/cc-settings. It costs 69 tokens per session (12,968 once invoked), scanned A, original, MIT.

A codebase review skill with separate checks for code, documentation, performance, security, motion, SEO, and technical debt. It also defines rules for coordinating read-only reviewers.

In plain words
What is it for?
Reviewing an entire repository, investigating slow performance or security risks, checking documentation drift, and finding maintenance problems.
Why use it?
It gives broad reviews a clear scope and evidence-based process, reducing unsupported findings and missed problem areas.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Part of the darkroom plugin — 25 skills, 11 agents, 4 hooks shipped together

Good fit Reviewing an entire repository, investigating slow performance or security risks, checking documentation drift, and finding maintenance problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darkroomengineering/cc-settings/audit
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.

Any agent
npx skills add darkroomengineering/cc-settings --skill audit
Clone the repo
git clone --depth 1 https://github.com/darkroomengineering/cc-settings

Made for: Claude Code.

Or install darkroom, the plugin that ships this one along with the rest of its 25 skills, 11 agents, 4 hooks.

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/skills/darkroomengineering/cc-settings/audit/github.svg)](https://agentmods.dev/skills/darkroomengineering/cc-settings/audit)
Your own site
<a href="https://agentmods.dev/skills/darkroomengineering/cc-settings/audit"><img src="https://agentmods.dev/badge/skills/darkroomengineering/cc-settings/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.

agentmods 80×15 button for audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/darkroomengineering/cc-settings/audit"><img src="https://agentmods.dev/badge/skills/darkroomengineering/cc-settings/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,968 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 179
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.1 $0.00069 $0.12968
Opus 5.5 $0.00028 $0.05187
Sonnet 5.5 $0.00014 $0.02594
Haiku 4.5 $0.00007 $0.01297

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

Security

Grade A, and why

audit scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 3 executable files (references/bundle-attribution.py, references/net-capture.mjs, references/nuclear-review.workflow.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Empirical only.** Source reading generates *hypotheses*, never findings. A hypothesis becomes a finding only when a measurement confirms it — a profile, a benchmark, a timed curl, analyzer output, a Lighthouse run.
skills/audit/SKILL.md · 697 lines

How it starts

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

Audit

Standalone Codex host branch

Claude frontmatter, TLDR, agent teams, dynamic workflows, codex-verifier, and codex-run.ts do not apply in standalone Codex. Keep source inspection read-only. Map with rg --files, rg -n, direct import/caller searches, focused file reads, and the repo's own diagnostics; never claim TLDR ran. Use Context7 only when the user configured that MCP. Otherwise inspect pinned manifests and lockfiles, consult official package documentation through native browsing when available, and label currency or API claims unverified when neither source is reachable. This package does not auto-run unpinned registry MCP packages.

For fan-out, create each new reader with spawn_agent, continue a live reader with send_message, trigger another turn for an idle existing reader with followup_task, wait with wait_agent, and stop its current turn with interrupt_agent only when necessary. Only read-only reviewers may overlap. Writers share the working tree unless the live host explicitly offers isolation, so the main session writes the final report after readers finish; any implementer and test-writer phases must be serialized with non-overlapping ownership.

One skill, ten modes. Eight audit modes (Codebase, Docs, Process, Performance, Tests, Threat-Model, Motion, SEO) read the surface in full (never sample), hunt with explicit categories, and ship a prioritized, executable report or plan set. Full runs every applicable mode and merges the reports (see Mode: Full). Debt is a mechanical grep that collects SHORTCUT: markers into a ledger and makes no judgement (see Mode: Debt).

Codebase mode's structure lens should push to be ambitious: do not merely identify local cleanup opportunities, actively search for "code judo" moves. Every adversarial mode holds no loyalty to the current design — hunt defects, drift, dead ends, and abuse paths rather than confirm things work.

Mode Router

A request for everything, or one that names two or more verticals ("audit performance, code quality, and security"), routes to Full mode. The bare phrase "audit the codebase" routes straight to Codebase mode, whose single pass carries both lenses.

Read the full file on GitHub · 697 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · -32 lines d10d97f1ce3f
  2. 4d ago Changed 38eeb7ec404c
  3. 9d ago Changed · -3 lines · -10 tokens per session a09a19405017
  4. 10d ago Changed · +4 lines b4cac77c9a27
  5. 15d ago Changed 6d30c0e7cfa1
  6. 17d ago Changed · +86 lines · +3 tokens per session dc18414d6255
  7. 18d ago Changed · +35 lines · +2 tokens per session 55e2dab6aeb3
  8. 1mo ago Changed · +2 lines 5f4a272f6cfd
  9. 1mo ago Changed · -58 tokens per session b63a7e2bd4eb
  10. 1mo ago First seen · 605 lines · 132 tokens per session scan A 84a751aa49fa

Subscribe to this mod's changes

audit is a skill published in the GitHub repository darkroomengineering/cc-settings (51 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 12,968 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.