$npx -y skills add Ruya-AI/cozempic --skill diagnoseAnalyze Claude Code session bloat — shows token count, context usage %, and bloat breakdown. Use when the user asks about session size, context usage, or when you notice the context window is getting full.
| 1 | Run a diagnosis on the current session: |
| 2 | |
| 3 | ```bash |
| 4 | cozempic current --diagnose |
| 5 | ``` |
| 6 | |
| 7 | The output includes: |
| 8 | - **Weight**: total session size in bytes and message count |
| 9 | - **Tokens**: exact token count (from usage data) or heuristic estimate |
| 10 | - **Context bar**: visual bar showing % of the detected context window (200K or 1M) |
| 11 | - **Vital signs**: progress ticks, file history snapshots, system reminders, thinking content, signatures, tool results |
| 12 | - **Message type breakdown**: bytes per message type |
| 13 | - **Top 10 largest messages**: biggest bloat contributors |
| 14 | - **Estimated savings by prescription**: what gentle/standard/aggressive would save |
| 15 | |
| 16 | Always surface the token count and context % to the user. If context is above 60%, suggest running `/cozempic:treat` with a prescription recommendation: |
| 17 | - Under 5MB: `gentle` |
| 18 | - 5-20MB: `standard` |
| 19 | - Over 20MB: `aggressive` |