audit

audit is a skill for Claude Code from justnau1020/claude-os. It costs 46 tokens per session (4,013 once invoked), scanned A, original, Apache-2.0.

A skill that coordinates a full-project consistency audit using several focused reviewers. It compares documentation, source code, tests, dependencies, infrastructure, and security-related areas, then writes a severity-scored report.

In plain words
What is it for?
Use it to audit a codebase, optionally review previous findings or stashed work, and optionally plan and apply fixes after the report.
Why use it?
It helps reveal contradictions, missing tests, broken assumptions, and project risks that a review of only one area could miss.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to audit a codebase, optionally review previous findings or stashed work, and optionally plan and apply fixes after the report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justnau1020/claude-os/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 justnau1020/claude-os --skill audit
Clone the repo
git clone --depth 1 https://github.com/justnau1020/claude-os

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/skills/justnau1020/claude-os/audit/github.svg)](https://agentmods.dev/skills/justnau1020/claude-os/audit)
Your own site
<a href="https://agentmods.dev/skills/justnau1020/claude-os/audit"><img src="https://agentmods.dev/badge/skills/justnau1020/claude-os/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/justnau1020/claude-os/audit"><img src="https://agentmods.dev/badge/skills/justnau1020/claude-os/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,013 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.00046 $0.04013
Opus 5 $0.00023 $0.02006
Sonnet 5 $0.00009 $0.00803
Haiku 4.5 $0.00005 $0.00401

Measured 10d ago against content hash 70ac3b3aece2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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.

skills/code-quality/audit/SKILL.md · 432 lines

How it starts

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

Full-Project Consistency Audit

Orchestrate a comprehensive project audit by spawning a team of parallel research agents, deduplicating their findings, and producing a scored audit report.

Argument Parsing

Parse $ARGUMENTS for these flags:

  • --lanes <comma-separated>: Which audit lanes to run. Valid values: infra, frontend, plugins, arch, tests, deps, security. Default: all lanes.
  • --previous <path>: Path to a previous audit report. When provided, the writer agent adds Fixed Since Last Audit, New Findings, and Regressions sections.
  • --include-stash: When present, also spawn the git-stash-auditor agent.
  • --drop-stashes: Used with --include-stash during the fix phase. Tells the ops-cleanup agent to git stash drop all stashes instead of just cataloging them.
  • --fix: After the audit completes, automatically run the planning + fix pipeline (Phase 2.5 through Phase 6).
  • --fix-only: Skip audit recon entirely. Read the existing docs/AUDIT_FINDINGS.md and go straight to the planning + fix pipeline. Requires a prior audit report to exist.
  • --deep: Enhanced audit using installed CLI tools. The default audit uses grep/glob (fast). --deep adds tool-assisted scanning per lane.

Severity Scoring Rubric

All research agents MUST use this rubric when categorizing findings:

  • Critical = breaks at runtime OR creates legal liability
  • Major = silent failure OR affects >1 subsystem
  • Minor = cosmetic, tech debt, no user impact

Output Format for All Research Agents

Each research agent produces a markdown table (max 50 lines) with these columns:

Finding Severity Location Expected Actual

Rules for all research agents:

  • Read selectively -- grep/glob first, then read only relevant lines
  • Never read entire files at once
  • Keep context lean
  • Update your task to completed when done

Team Architecture

Create a team called project-audit. The main agent (team lead) stays lean -- it only spawns agents, routes messages, and summarizes. It never reads files or does research itself.

Read the full file on GitHub · 432 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. 10d ago First seen · 432 lines · 46 tokens per session scan A 70ac3b3aece2

Subscribe to this mod's changes

audit is a skill published in the GitHub repository justnau1020/claude-os (3 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 4,013 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

polish-code

Stage, format, lint, test, review, smoke test, and re-run itself until stable. Use when the user asks to "polish code", "refine code", "iterate on code quality", "review loop", "clean up, test, and review loop", or "run the polish loop".

tobihagemann/turbo · 67 tokens

simplify-code

Run a multi-agent review of changed files for scope, reuse, quality, efficiency, clarity, and altitude issues followed by fixes. Use when the user asks to "simplify code", "review changed code", "check for code reuse", "review code quality", "review efficiency", "simplify changes", "clean up code", "refactor changes"…

tobihagemann/turbo · 81 tokens

bugfix

Fix a bug with xReview peer review. Codex is the developer, a peer LLM agent reviews your work. Use when: /bugfix, fix a bug with review.

tonychen15/xReview · 40 tokens

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

systemic-issue-triage

Trigger: new issue, bug report, triage, backlog, issue flood, community report, root cause, dead-end, blocked user. Attack issues by root class, never one-by-one; fixes must shrink the system, not grow it.

Gentleman-Programming/gentle-ai · 57 tokens

issue-root-resolution

Trigger: root audit, atacar la raíz, issue roots, backlog roots, mechanism map, deletion-driven fix, resolver issues de raíz, close outdated issues. Audit and resolve issue clusters by verified root cause.

Gentleman-Programming/gentle-ai · 45 tokens