audit-full
Full-Codebase Audit
Single-pass whole-project analysis leveraging Opus 5.5's extended context window. Loads entire codebases (~50K LOC) into context for cross-file vulnerability detection, architecture review, and dependency analysis.
Quick Start
audit-full # Full audit (all modes)
audit-full security # Security-focused audit
audit-full architecture # Architecture review
audit-full dependencies # Dependency audit
Opus 5.5: Uses
complexity: maxfor extended thinking across entire codebases. 1M context (default and maximum on Opus 5.5) enables cross-file reasoning that chunked approaches miss. Set effort explicitly: Opus 5.5's own default ismedium(one level below Opus 5'shigh), and CC 2.1.280+ starts a newly released model at its default rather than an older saved/effortlevel. Run audits athigh; usexhighfor one additional cross-file pattern sweep on the hardest codebases.
1M Context Required: If
CLAUDE_CODE_DISABLE_1M_CONTEXTis set, audit-full cannot perform full-codebase analysis. Check:echo $CLAUDE_CODE_DISABLE_1M_CONTEXT— if non-empty, either unset it (unset CLAUDE_CODE_DISABLE_1M_CONTEXT) or useverifyfor chunked analysis instead.
Effort (CC 2.1.111+):
xhighadds a second pass that re-reads cross-module boundaries specifically looking for patterns the first pass normalized over. Reservexhighfor the hardest codebases (see the Opus 5.5 note above for the default). Silently falls back tohighon other models;doctorwarns on mismatch.