Audit Tokens — Security skill for Claude Code
Analyze audit-log.jsonl for ghost-token-waste patterns across the 6 PLAN-047 detectors.
How to install Audit Tokens
Installs to ~/.claude/commands/canhada-labs-ceo-orchestration-audit-tokens.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Canhada-Labs/ceo-orchestration/HEAD/.claude/commands/audit-tokens.md -o ~/.claude/commands/canhada-labs-ceo-orchestration-audit-tokens.md Restart Claude Code, or start a new session, for it to be picked up.
What Audit Tokens does
description: Analyze audit-log.jsonl for ghost-token-waste patterns across the 6 PLAN-047 detectors. Emits a markdown report (default) or JSONL stream; advisory-only (never blocks a session). argument-hint: "[window=30] [format=markdown|jsonl|json] [output=]"
--- K1 context fork: heavy analytic skill runs in a forked context (PLAN-135 W3 unit k1a) ---
context: fork
/audit-tokens — Token economy audit
Runs the 6 ghost-token detectors shipped in PLAN-047 Phase 1 (`retry_churn`,
Alternatives in Security
- Agent Memory Vault — Markdown-first shared memory vault for Claude Code and Codex with SQLite, Zvec, Git, closeout, and audit 314 ★
- Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★
- Audit Prune Completeness — Catch the github-mcp class of bug — CallTools handlers that exist but are invisible to Claude because ListTool 20 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claudemd Rules
Audit the HARD-rules manifest. Cross-references spec/hard-rules.json with rule-hits.jsonl bySection data over
Session Audit
Self-audit pass over CLAUDE.md rules and memory files. Surfaces stale rules, undocumented workarounds, and con
Claude Clean Context
Keep Claude Code's always-loaded context lean: deterministic memory guard-rail distiller + skills audit. Never
Mad Research
Three Claude Code skills for working with Codex CLI: codex-bridge (one-shot Codex calls), mad-build (Claude+Co
Claudemd Sampling Audit
Retrospective batch scan of historical transcripts for 8 self-enforced HARD rules — text detectors (§10-V bann
Jidoka Audit
Meta-mistake audit + ghost detector — recurrence, regressions, declaration-over-implementation
Related Agents
Design System Author
Authors the design token system. Reads palette.json and typography.json, writes canonical tokens.json (W3C DTC
Token Modeller
Modelling agent that turns raw measured or inferred values into the semantic token set and emits tokens.ts, th
Shared Agent Protocols
Injected into agent context at spawn time. Do NOT add @decision annotations here — they waste agent tokens.