Displays a live session dashboard with context budget, token spend, waste, prompt grade, active task, and optimization actions. Also shows per-file heatmaps of read vs edited files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-context-optimizer:ccoThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The all-in-one view of the current session. Show the user the live board, then
The all-in-one view of the current session. Show the user the live board, then the per-file heatmap if they want detail.
node ${CLAUDE_PLUGIN_ROOT}/src/dashboard.js board
This renders, in one screen:
/compact, what to /cco-packPresent the board as-is. Then, based on what it shows:
/compact./cco-task add "<what they're working on>" so
the board can attribute tokens per task./cco-coach.If the user wants the file-by-file breakdown:
node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js heatmap
Highlight files read but never used (waste), files that were edited (high-value), and the total token usage / waste percentage.
If there is no data yet, tell the user: "No data in this session yet — keep working. Reads, edits, prompts and cache savings are tracked automatically; run /cco again to see the board fill in."
npx claudepluginhub egorfedorov/claude-context-optimizer --plugin claude-context-optimizerTracks tokens, analyzes caching behavior, identifies bottlenecks in tool usage, and estimates costs to optimize Claude Code session performance and efficiency.
Generates an interactive HTML dashboard with cost breakdown, token usage, and 5-hour window timeline across all Claude Code sessions.
Opens the Token Optimizer dashboard showing context usage trends, quality scores, session history, and skill management. Collects latest session data and regenerates the dashboard.