From code-auditor-agent
Trigger with /audit-codebase, 'audit the codebase', 'compliance audit', 'codebase audit'. Use when auditing a codebase for compliance violations, generating TODOs, or applying automated fixes.
npx claudepluginhub emasoft/emasoft-plugins --plugin code-auditor-agentThis skill is limited to using the following tools:
10-phase pipeline auditing every file against a reference standard with grep triage, batch processing, multi-wave verification, gap-fill, and optional automated fixes.
Suggests manual /compact at logical task boundaries in long Claude Code sessions and multi-phase tasks to avoid arbitrary auto-compaction losses.
Share bugs, ideas, or general feedback.
10-phase pipeline auditing every file against a reference standard with grep triage, batch processing, multi-wave verification, gap-fill, and optional automated fixes.
| Agent | Phase | Purpose |
|---|---|---|
caa-domain-auditor-agent | 1, 3 | Discovery and gap-fill auditing |
caa-verification-agent | 2, 3 | Cross-check and missed-file detection |
caa-consolidation-agent | 4 | Merge, dedup, classify findings |
caa-security-review-agent | 4b | Vulnerabilities, secrets, CVEs |
caa-todo-generator-agent | 5 | Actionable TODO generation |
caa-fix-agent | 6 | Implement fixes with checkpoints |
caa-fix-verifier-agent | 7 | Verify fixes, detect regressions |
Requires: Python 3.12+, uv, Git repo. Uses ${CLAUDE_PLUGIN_ROOT} for scripts, ${CLAUDE_SKILL_DIR} for reference docs, ${CLAUDE_PLUGIN_DATA} for persistent audit state.
SCOPE_PATH, REFERENCE_STANDARD, generate RUN_ID (8 hex).caa-domain-auditor-agent swarms on each batch.caa-verification-agent to cross-check reports.caa-todo-generator-agent.FIX_ENABLED=true, apply fixes and verify (else skip).Produces a consolidated audit report in reports/code-auditor/ with per-domain findings, a TODO list, and a final summary. See output format.
On agent failure, retry with checkpoint recovery. See error handling.
Input: /audit-codebase with SCOPE_PATH=src/, FIX_ENABLED=false
Output: Audit report in reports/code-auditor/ with per-domain findings and TODO list
Input: /audit-codebase with FIX_ENABLED=true, MAX_FIX_PASSES=3
Output: All 9 phases run; fixes applied, verified, final report generated
Copy this checklist and track your progress: