Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Session Diagnose

Diagnoses Claude Code session bloat — token count, context-window usage %, and what's eating your context.

UtilitiesBeginner★ 420⑂ 39AI score 7/10Last updated: Jul 3, 2026

What it does

Runs cozempic current --diagnose to profile your current Claude Code session:

  • Weight: total session bytes and message count
  • Tokens: exact token count from usage data, or a heuristic estimate
  • Context bar: visual percentage of the detected 200K or 1M context window
  • Vital signs: progress ticks, file-history snapshots, system reminders, thinking content, signatures, tool results
  • Breakdown by message type plus the top 10 largest messages
  • Estimated savings for each prescription: gentle / standard / aggressive

When context usage exceeds 60%, it recommends /cozempic:treat with a level matched to session size (under 5MB → gentle, 5–20MB → standard, over 20MB → aggressive).

Who it's for

  • Claude Code users with long sessions that keep filling the context window
  • Anyone tracking token consumption to control cost
  • Anyone who wants to see what's bloating a session before compacting it

Examples

  1. Ask "how big is this session?" → get token count and context percentage immediately.
  2. Context hits 78% → the skill suggests /cozempic:treat standard.
  3. Responses feel sluggish → inspect the top 10 largest messages to find the offending tool output.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/Ruya-AI/cozempic/HEAD/plugin/skills/diagnose/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the plugin/skills/diagnose folder from the GitHub repo Ruya-AI/cozempic into my ~/.claude/skills/diagnose/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/Ruya-AI/cozempic.git && cp -r cozempic/plugin/skills/diagnose ~/.claude/skills/diagnose

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/Ruya-AI/cozempic.git
  3. Copy the skill into your Claude Code skills folder: cp -r cozempic/plugin/skills/diagnose ~/.claude/skills/diagnose
  4. This skill depends on the cozempic CLI — follow the repo README to install it, then verify with cozempic --version.
  5. Restart Claude Code and try asking: "What's my current context usage?"