Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Deep consistency audit of the entire repository — launches 4 parallel specialist agents to find factual errors, code bugs, broken references, count mismatches, and cross-document inconsistencies, then fixes all issues and loops until clean. Make sure to use this skill whenever the user wants a comprehensive repository-wide check — not a targeted review of a single file. Triggers include: "audit", "deep audit", "find inconsistencies", "check everything", "run a full audit", "are there any broken
.claude/skills/brycewang-stanford-deep-audit/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 49% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-05 | ✓→✗ | ▼ Worse | -60% | 0% |
| case-06 | ✓→✗ | ▼ Worse | -36% | 0% |
Run a comprehensive consistency audit across the entire repository, fix all issues found, and loop until clean.
Launch these 4 agents simultaneously using Task with subagent_type=general-purpose:
Focus: guide/workflow-guide.qmd
Focus: .claude/hooks/*.py and .claude/hooks/*.sh
/tmp/ usage (should use ~/.claude/sessions/)[:8] across all hooks)try/except with sys.exit(0))from __future__ import annotations for Python 3.8+ compatibilitysource not type for SessionStart)Focus: .claude/skills/*/SKILL.md and .claude/rules/*.md
disable-model-invocation: trueallowed-tools values are sensiblepaths: reference existing directoriestemplates/Focus: README.md, docs/index.html, docs/workflow-guide.html
Categorize each finding:
Common false alarms to watch for:
## Title inside ::: divs — this is standard syntax, NOT a heading bugallowed-tools linter warning — known linter bug (Claude Code issue #25380), field IS validApply fixes in parallel where possible. For each fix:
If guide/workflow-guide.qmd was modified:
bashquarto render guide/workflow-guide.qmd cp guide/workflow-guide.html docs/workflow-guide.html
After fixing, launch a fresh set of 4 agents to verify.
Max loops: 5 (to prevent infinite cycling)
These are real bugs found across 7 rounds — check for these specifically:
| Bug Pattern | Where to Check | What Went Wrong | |-------------|---------------|-----------------| | Stale counts ("19 skills" → "21") | Guide, README, landing page | Added skills but didn't update all mentions | | Hook exit codes | All Python hooks | Exit 2 in PreCompact silently discards stdout | | Hook field names | post-compact-restore.py | SessionStart uses source, not type | | State in /tmp/ | All Python hooks | Should use ~/.claude/sessions/<hash>/ | | Hash length mismatch | All Python hooks | Some used [:12], others [:8] | | Missing fail-open | Python hooks __main__ | Unhandled exception → exit 1 → confusing behavior | | Python 3.10+ syntax | Type hints like dict | None | Need from __future__ import annotations | | Missing directories | quality_reports/specs/ | Referenced in rules but never created | | Always-on rule listing | Guide + README | meta-governance omitted from listings | | macOS-only commands | Skills, rules | open without xdg-open fallback | | Protected file blocking | settings.json edits | protect-files.sh blocks Edit/Write |
After each round, report:
## Round N Audit Results
### Issues Found: X genuine, Y false alarms
| # | Severity | File | Issue | Status |
|---|----------|------|-------|--------|
| 1 | Critical | file.py:42 | Description | Fixed |
| 2 | Medium | file.qmd:100 | Description | Fixed |
### Verification
- [ ] No stale counts (grep confirms)
- [ ] All hooks have fail-open + future annotations
- [ ] Guide renders successfully
- [ ] docs/ updated
### Result: [CLEAN | N issues remaining]| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 15,961 | 10,623 | -33% | 1 | 1 | 0% | 2,997 | 2,644 | -12% | 0 | 0 | — |
case-02 | fail→fail | 16,774 | 8,443 | -50% | 1 | 1 | 0% | 3,366 | 2,794 | -17% | 0 | 0 | — |
case-03 | fail→fail | 4,738 | 24,474 | +417% | 1 | 1 | 0% | 311 | 2,848 | +816% | 0 | 0 | — |
case-04 | fail→fail | 4,140 | 3,490 | -16% | 1 | 1 | 0% | 880 | 1,517 | +72% | 0 | 0 | — |
case-05 | pass→fail | 19,717 | 3,584 | -82% | 1 | 1 | 0% | 3,719 | 1,488 | -60% | 0 | 0 | — |
case-06 | pass→fail | 11,138 | 3,027 | -73% | 1 | 1 | 0% | 2,497 | 1,603 | -36% | 0 | 0 | — |
case-07 | fail→pass | 7,022 | 2,927 | -58% | 1 | 1 | 0% | 1,394 | 1,817 | +30% | 0 | 0 | — |
case-08 | pass→pass | 5,267 | 3,052 | -42% | 1 | 1 | 0% | 1,052 | 1,944 | +85% | 0 | 0 | — |
case-09 | pass→pass | 8,869 | 6,147 | -31% | 1 | 1 | 0% | 1,642 | 2,497 | +52% | 0 | 0 | — |
case-10 | pass→pass | 19,595 | 3,027 | -85% | 1 | 1 | 0% | 1,774 | 1,828 | +3% | 0 | 0 | — |
case-11 | pass→pass | 4,375 | 3,150 | -28% | 1 | 1 | 0% | 838 | 1,870 | +123% | 0 | 0 | — |
case-12 | pass→pass | 7,554 | 2,786 | -63% | 1 | 1 | 0% | 1,214 | 1,863 | +53% | 0 | 0 | — |
case-13 | fail→pass | 5,913 | 1,890 | -68% | 1 | 1 | 0% | 1,125 | 1,680 | +49% | 0 | 0 | — |
case-14 | pass→pass | 12,595 | 4,310 | -66% | 1 | 1 | 0% | 2,138 | 2,039 | -5% | 0 | 0 | — |
case-15 | pass→pass | 9,062 | 2,487 | -73% | 1 | 1 | 0% | 1,568 | 1,732 | +10% | 0 | 0 | — |
case-16 | fail→pass | 6,826 | 1,415 | -79% | 1 | 1 | 0% | 1,216 | 1,530 | +26% | 0 | 0 | — |
case-17 | pass→pass | 6,375 | 1,287 | -80% | 1 | 1 | 0% | 1,234 | 1,545 | +25% | 0 | 0 | — |
case-18 | pass→pass | 4,059 | 3,093 | -24% | 1 | 1 | 0% | 843 | 1,927 | +129% | 0 | 0 | — |
case-19 | pass→pass | 6,315 | 3,593 | -43% | 1 | 1 | 0% | 1,178 | 1,905 | +62% | 0 | 0 | — |
case-20 | pass→pass | 8,113 | 2,125 | -74% | 1 | 1 | 0% | 1,703 | 1,723 | +1% | 0 | 0 | — |
case-21 | pass→pass | 12,130 | 12,558 | +4% | 1 | 1 | 0% | 2,233 | 3,122 | +40% | 0 | 0 | — |
case-22 | pass→pass | 9,891 | 7,220 | -27% | 1 | 1 | 0% | 1,828 | 2,691 | +47% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 18 counted toward the lift figure. The other 4 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +5 percentage points is the difference between those two pass rates over the 18 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.