What problem does it solve?
Detects and explains wasted context in Claude Code sessions by surfacing exact token counts, context usage percentage, and the messages that contribute the most bloat so teams can avoid accidental compaction and token overage.
Core Features & Use Cases
- Token-aware diagnostics: reads usage token fields to report exact token counts and a visual context bar for a 200K window.
- Bloat breakdown: shows bytes and token distribution by message type, top largest messages, and vital-sign categories like progress ticks and tool outputs.
- Prescriptions & recommendations: estimates savings for gentle, standard, or aggressive pruning and recommends
/cozempic:treat prescriptions when thresholds are exceeded.
- Use Case: Inspect a growing Agent Team session to identify the messages causing auto-compaction risk and choose an appropriate prune strategy before state is lost.
Quick Start
Run a diagnostic of the current Claude Code session and report tokens, context percentage, top bloat contributors, and a recommended pruning prescription.