audit

audit is a command for Claude Code from naimkatiman/continuous-improvement. It costs 75 tokens per session (630 once invoked), scanned A, original, MIT.

A command that reviews recent Git commits for possible defects, proves whether each finding is real, fixes confirmed problems, and verifies the affected parts of the software.

In plain words
What is it for?
Use it to audit a selected commit range, investigate value, concurrency, coverage, or type problems, and report findings as confirmed, dismissed, or no-op with evidence.
Why use it?
It reduces false bug reports and catches issues that a successful merge or green continuous-integration run may not reveal.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to audit a selected commit range, investigate value, concurrency, coverage, or type problems, and report findings as confirmed, dismissed, or no-op with evidence.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/naimkatiman/continuous-improvement/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.

Clone the repo
git clone --depth 1 https://github.com/naimkatiman/continuous-improvement

Made for: Claude Code.

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/naimkatiman/continuous-improvement/audit/github.svg)](https://agentmods.dev/commands/naimkatiman/continuous-improvement/audit)
Your own site
<a href="https://agentmods.dev/commands/naimkatiman/continuous-improvement/audit"><img src="https://agentmods.dev/badge/commands/naimkatiman/continuous-improvement/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/commands/naimkatiman/continuous-improvement/audit"><img src="https://agentmods.dev/badge/commands/naimkatiman/continuous-improvement/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00075 $0.00630
Opus 5.5 $0.00030 $0.00252
Sonnet 5.5 $0.00015 $0.00126
Haiku 4.5 $0.00007 $0.00063

Measured yesterday against content hash e14227d96f80, 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 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 yesterday.

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.

commands/audit.md · 46 lines

How it starts

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

/audit: Review a Change and Prove Every Finding

Runs the audit skill. Green CI on a change is a claim. This command has the agent check that claim against the code and show what it read.

Usage

/audit                    review the current branch against the default branch
/audit feature/login      review that branch before it merges
/audit 42                 review pull request 42
/audit v1.4.0..HEAD       audit the commits since that tag
/audit HEAD~10..HEAD      audit the last ten commits

A branch, a PR number or no argument selects review mode. A commit range selects audit mode. Both end in a report and change no files. To get fixes, ask for them in words ("audit HEAD~10..HEAD and fix what you confirm"). They go on a new branch, one concern per commit.

The steps

1. Scope    pin base, head and merge-base; list the commits and the changed files; stop on a bad ref or an empty diff
2. Ledger   every changed file is marked full, part (with the reason), not read (with the reason) or generated (from what)
3. Find     eight passes, one concern each: correctness, error paths, security and trust boundaries, data and
            migrations, concurrency and repeats, contracts, tests and gates, surface coverage
4. Confirm  re-read the cited lines; say in one sentence why the defect is real, or dismiss it; mark pre-existing ones
5. Report   severity, file:line, claim, evidence, smallest fix; then dismissed, then nothing to change

What the report holds

  • A header with the base, the head SHA and the merge-base, so the review is tied to one commit.
  • A coverage row for every changed file and a line for every pass. A missing row or line means that part was not done.
  • Candidates the agent could not prove, listed as dismissed with the reason. No confirmed findings is a valid result.
  • Defects that were already on the base branch, listed apart from the ones this change adds.
  • audit skill: the full procedure, the checklist for each pass and the done check.
  • simplicity-review: asks whether a change is over-built. /audit asks whether it is wrong.
  • reconcile: the branch-to-PR path when you asked for fixes and want them pushed. Without it, push the fix branch and open the PR yourself.

Read the full file on GitHub · 46 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. yesterday Changed · +11 lines · +29 tokens per session e14227d96f80
  2. 3mo ago First seen · 35 lines · 46 tokens per session scan A c644266dc4ea

Subscribe to this mod's changes

audit is a command published in the GitHub repository naimkatiman/continuous-improvement (11 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 630 once invoked, about $0.0003 per session on Opus 5.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.

Related

audit compared with commands from other repositories

audit next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditnaimkatiman/continuous-improvementCommand11todayMITA75Claude Code
prdshakes/compassCommand2310d agoMITA11Claude Code
code-reviewepam/ai-dial-ui-kitCommand10todayApache-2.0A22Claude Code
review-changesepam/ai-dial-ui-kitCommand10todayApache-2.0A0Claude Code, Cursor
mainframe-review-branchCATWILLgh/MAINFRAMECommand216d agoMITA0Claude Code
aitask-revertbeyondeye/aitasksCommand9todaynoneA11Claude Code, OpenCode
aitask-wrapbeyondeye/aitasksCommand9todaynoneA17Claude Code, OpenCode