/tokeneconomics:tokeneconomicsfrom tokeneconomics
Analyzes Claude Code session token usage to identify waste and optimization opportunities, producing a scored report on cost, cache efficiency, conversation sprawl, and model selection.
Ships in tokeneconomics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyze Claude Code session logs to measure token efficiency across six dimensions: cost, cache efficiency, conversation sprawl, model selection, output efficiency, and session patterns. Produces a scored report with risks, opportunities, and actionable recommendations.
From the user's request, determine:
Also determine the time window:
Run the analysis script with the determined scope:
Project scope:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/tokeneconomics.py" --days <N>
Global scope:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/tokeneconomics.py" --all --days <N>
Display the full report output inline. Do NOT hide it behind a file path.
After the report, highlight:
If the user wants to dig into a specific dimension or session, offer to:
references/waste-taxonomy.mdreferences/benchmarks.md--all to see all projectsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub florianbuetow/claude-code --plugin tokeneconomicsOther plugins' skills for the same job