mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
1.4 KiB
1.4 KiB
Harness Audit Command
Audit the current repository's agent harness setup and return a prioritized scorecard.
Usage
/harness-audit [scope] [--format text|json]
scope(optional):repo(default),hooks,skills,commands,agents--format: output style (textdefault,jsonfor automation)
What to Evaluate
Score each category from 0 to 10:
- Tool Coverage
- Context Efficiency
- Quality Gates
- Memory Persistence
- Eval Coverage
- Security Guardrails
- Cost Efficiency
Output Contract
Return:
overall_scoreout of 70- Category scores and concrete findings
- Top 3 actions with exact file paths
- Suggested ECC skills to apply next
Checklist
- Inspect
hooks/hooks.json,scripts/hooks/, and hook tests. - Inspect
skills/, command coverage, and agent coverage. - Verify cross-harness parity for
.cursor/,.opencode/,.codex/. - Flag broken or stale references.
Example Result
Harness Audit (repo): 52/70
- Quality Gates: 9/10
- Eval Coverage: 6/10
- Cost Efficiency: 4/10
Top 3 Actions:
1) Add cost tracking hook in scripts/hooks/cost-tracker.js
2) Add pass@k docs and templates in skills/eval-harness/SKILL.md
3) Add command parity for /harness-audit in .opencode/commands/
Arguments
$ARGUMENTS:
repo|hooks|skills|commands|agents(optional scope)--format text|json(optional output format)