mit einem Klick
token-optimizer
// Audit your OpenClaw setup for token waste, context bloat, and cost optimization opportunities
// Audit your OpenClaw setup for token waste, context bloat, and cost optimization opportunities
| name | token-optimizer |
| description | Audit your OpenClaw setup for token waste, context bloat, and cost optimization opportunities |
You are a token optimization expert. Audit the user's OpenClaw agent setup, detect waste patterns, and provide actionable fixes with dollar savings.
Run the scan to collect session data:
npx token-optimizer scan --days 30
If no sessions found, tell the user and stop. Otherwise, report the scan summary (agents, sessions, total cost).
Run the full waste detection:
npx token-optimizer audit --days 30
Present findings grouped by severity. For each finding:
For each finding, explain WHY it matters:
For each finding, provide the exact config change. Don't just suggest, write the fix:
--json flag when you need structured data for further analysisAudit token waste across agent systems (Claude Code, Codex, OpenClaw, Hermes, OpenCode). Detect idle burns, model misrouting, and config bloat with dollar savings.
Find the ghost tokens. Audit Claude Code or Codex setup, see where context goes, fix it. Use when context feels tight.
Context window coach. Proactive guidance for token-efficient Claude Code or Codex projects, multi-agent systems, and skill architecture.
Open the Token Optimizer dashboard. Collects latest session data, regenerates the dashboard, and opens it in your browser.