audit

audit is a skill for Claude Code, Codex from darkroomengineering/cc-settings. It costs 93 tokens per session (12,389 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 CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also reads $CODEX_HOME. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Part of the darkroom plugin — 23 skills, 12 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, Codex.

Or install darkroom, the plugin that ships this one along with the rest of its 23 skills, 12 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 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,389 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.00093 $0.12389
Opus 5.5 $0.00037 $0.04956
Sonnet 5.5 $0.00019 $0.02478
Haiku 4.5 $0.00009 $0.01239

Measured today against content hash 96659d06a790, 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 today.

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 · 597 lines

How it starts

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

Audit

Standalone Codex host branch

Follow the native agent workflow and Codex documentation lookup.

Keep source inspection read-only. Map with rg --files, rg -n, direct import and caller searches, focused file reads, and the repo's diagnostics. Skip TLDR. Write the final report in the main session after readers finish.

One skill, twelve modes. Ten audit modes (Codebase, Docs, Process, Performance, Tests, State, Threat-Model, Motion, SEO, Platform) 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 reports SHORTCUT: markers (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.

Run Debt on its own or as a quick first pass before Codebase mode.

Route codebase findings to the executor that fits. Use the deslopper agent for dead code and duplication, the implementer agent for structural work, and /fix for client performance findings.

Claude Code only (v2.1.154+): standalone Codex skips this tip and the Workflow command below. In Claude, run /effort ultracode before invoking this skill. Whole-repo audits are the canonical shape that benefits from dynamic workflows — phase state lives in the workflow script rather than Claude's context window, individual areas can be reviewed in parallel (up to 16 concurrent), and the run can resume from cached agent results within the session. Dynamic workflows default to a medium size guideline, aiming for fewer than 10 agents (Pro plans default to small) — it's advisory, not enforced, but a repo with more modules than that is worth raising workflowSizeGuideline for explicitly before the fan-out phase rather than silently exceeding the default.

A ready-made example for codebase mode's structure lens ships at references/nuclear-review.workflow.js (installed to ~/.claude/skills/audit/references/). It is opt-in, not a dependency — the mode works with no Workflow tool. Run it with Workflow({ scriptPath: "~/.claude/skills/audit/references/nuclear-review.workflow.js" }), or copy it into .claude/workflows/. It maps the repo, fans out one structural reviewer per module, audits dependencies, and synthesizes one report. Treat it as a template — adapt its module list, schemas, and phases to the repo at hand rather than running it verbatim.

Read the full file on GitHub · 597 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 Changed · -91 lines 96659d06a790
  2. 5d ago Changed 723f144e2d17
  3. 21d ago Changed · -3 lines · +15 tokens per session c192f650f3aa
  4. 23d ago Changed · -1 lines 93ceca60fde7
  5. 26d ago Changed · -3 lines · +9 tokens per session 95b87c7e7078
  6. 1mo ago Changed · -2 lines c6d47a94553a
  7. 1mo ago Changed bbb0c30e1441
  8. 1mo ago Changed 205d0aa358b5
  9. 1mo ago Changed · -32 lines d10d97f1ce3f
  10. 1mo ago First seen · 729 lines · 69 tokens per session scan A 38eeb7ec404c

Subscribe to this mod's changes

audit is a skill published in the GitHub repository darkroomengineering/cc-settings (56 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 12,389 once invoked, about $0.0004 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.

Related

audit compared with skills from other repositories

audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditdarkroomengineering/cc-settingsSkill56todayMITA93Claude Code, Codex
ramsartivilla/agents-configSkill05mo agoMITA25Claude Code
deslopartivilla/agents-configSkill05mo agoMITA31Claude Code, Codex
simplifyartivilla/agents-configSkill05mo agoMITA26Claude Code, Codex
migration-reviewrohitg00/ai-engineering-from-scratchSkill82ktodayMITA35Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
adk-go-self-reviewgoogle/adk-goSkill9.0ktodayApache-2.0A87Claude Code, Codex