omar espinosa , index
ES , Read in Spanish

[ claude code ]

audit-skills

Audits where every finding brings its evidence.

Nine Claude Code skills, a swarm that runs them over a repo with blind verification, and a step that applies approved fixes.

source: github.com/OmarAlex24/audit-skills

repo, in slicesrepo, in slicesone auditor per slice and skillslice × skillblind verifiersblind verifiersplan in wavesplan in waves

Claude Code skills that audit an app. Nine of them each review one topic: performance, data consistency, architecture, API security, implicit state machines, logic and calculation errors, apps that call an LLM, code structure and infrastructure. A tenth runs all nine over a repo in parallel and merges what they find into a remediation plan; an eleventh applies the items I approve.

Read first, change nothing

Every audit skill reads and stops. It delivers a report where each finding carries its evidence (a path:line, a measurement or a query) and asks what to apply. Nothing changes without my pick. Each finding also proposes how to measure it, or says honestly that there is no number: a fix only counts when a test fails before and passes after, and where there is a metric, when the same command shows the difference on both sides.

The swarm

The swarm coordinates the nine over a whole repo. Read-only scripts count lines, cut the repo into slices of about 6,000 lines by module, build the import graph and read the git history. From what each slice contains (external inputs, writes, lifecycles, hot paths, model calls), the code assigns each skill only where it applies; three skills run once over the whole repo instead.

One auditor per slice and skill, verified blind
  1. Repo slices of ~6,000 lines, by module
  2. Slice × skill table a skill only where it applies
  1. Performance
  2. Data consistency
  3. API security
  4. Correctness
  5. …
  1. Blind verifiers holding · adjusted · refuted
  2. Plan in waves containment first

Findings get neutral ids and go, in blocks, to verifiers that do not know which skill or slice found them. Each comes back as holding, adjusted or refuted. Findings with the same root cause become one plan item, ordered in waves: containment first, then critical or high with small effort, then the rest, then what needs a design decision. What did not run, what was refuted and what stayed unverified each get a section of their own.

I confirm twice before anything expensive runs: the models and the estimated cost per role, and the final slice × skill table. If a finding needs a database, the coordinator sets up a single read-only access against a target I approve; production only if I name it.

What one run cost

The cost estimator is calibrated on one real run, and the README treats it as an estimate from a single calibration:

Calibration run
Repo~13,700-line TypeScript monorepo, 4 slices
Audit20 agents, ~3.1M tokens, 35 minutes
Preparation~150k tokens, under 2 minutes
Findings43

Per-slice auditors took 4 to 15 minutes almost regardless of slice size, which is why the estimate is a range: 0.6× to 1.5× in tokens and 0.7× to 1.7× in minutes.

After the audit

Applying one approved item
  1. Reread the finding at HEAD
  2. Write a test, watch it fail for the finding's reason
  3. Measure before
  4. Smallest fix
  5. Measure after, run the checks
  6. Commit on a stacked branch

An item that no longer reproduces, whose metric gets worse or whose checks stay red stops with its reason; it is not forced through. A later re-audit maps the git diff onto the previous slices, re-audits only what changed and re-verifies old findings blind at HEAD as fixed, still present or moved. It recommends a full audit instead when more than 30 % of the code changed.

Status

Public under MIT, installable as a Claude Code plugin. The scripts are Python standard library only, and the swarm's code has its own tests that need no network and no real database. Most skills were distilled from short engineering videos, and each one lists the source behind every signal it checks.

Stack Claude Code skills · Workflow tool · subagents · Python 3 (standard library) · Node (tests) · JSON Schema