.claude/skills/audit/SKILL.md
Generate usage report for MiniMax and token optimization Use when: (1) /audit is invoked, (2) task relates to audit functionality.
npx skillsauth add alfredolopez80/multi-agent-ralph-loop auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate usage and cost optimization report.
~/.claude/settings.json or CLI/env varsANTHROPIC_DEFAULT_*_MODEL env vars# View stats
mmc --stats
# Detailed audit report
ralph audit
=== MiniMax Usage Audit ===
Period: Last 7 days
Model Distribution:
MiniMax M2.1: 45 queries (60%)
MiniMax-lightning: 20 queries (27%)
Claude Sonnet: 10 queries (13%)
Estimated Savings:
If all queries used Claude: ~$X.XX
Actual cost with MiniMax: ~$X.XX
Savings: ~XX%
development
Living knowledge base management. Actions: search (query vault), save (store learning), index (update indices), compile (raw->wiki->rules graduation), init (create vault structure). Follows Karpathy pipeline: ingest->compile->query. Use when: (1) searching accumulated knowledge, (2) saving learnings, (3) compiling raw notes into wiki, (4) initializing a new vault. Triggers: /vault, 'vault search', 'knowledge base', 'save learning'.
testing
Produce a verifiable technical specification before coding. 6 mandatory sections: Interfaces, Behaviors, Invariants (from Aristotle Phase 2), File Plan, Test Plan, Exit Criteria (executable bash commands + expected results). Use when: (1) before implementing features with complexity > 4, (2) as Step 1.5 in orchestrator workflow, (3) when requirements need formalization. Triggers: /spec, 'create spec', 'write specification', 'technical spec'.
testing
Pre-launch shipping checklist orchestrating /gates, /security, /browser-test, /perf. Ensures nothing ships without passing all quality checks. Use when: (1) before deploying, (2) before merging to main, (3) before release. Triggers: /ship, 'ship it', 'ready to deploy', 'pre-launch check'.
development
Performance optimization skill. Core Web Vitals via Lighthouse, bundle size analysis, metrics tracking over time. Use when: (1) optimizing frontend performance, (2) analyzing bundle size, (3) tracking metrics regression. Triggers: /perf, 'performance audit', 'core web vitals', 'bundle size'.