cco
Original:🇺🇸 English
Translated
Show context usage heatmap for current session
3installs
Added on
NPX Install
npx skill4agent add egorfedorov/claude-context-optimizer ccoTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Context Heatmap
Show the user a visual heatmap of their context usage in the current session.
Run the following command to get the current session's tracking data (uses the most recent session automatically):
bash
node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js heatmapIf no data is available yet (empty session), tell the user:
"No data in this session yet. Just keep working — the optimizer tracks your reads, edits, and searches automatically!"
Present the heatmap output to the user and highlight:
- Files marked with a warning icon that were read but never used — suggest avoiding them next time
- Files marked with an edit icon that were actually edited — these are high-value context
- The total estimated token usage and waste percentage
If waste is over 30%, suggest specific ways to reduce it based on the files shown.