When your Claude session gets bloated with progress ticks, duplicate file reads, and old tool output, this prunes it down without losing conversation continuity. You get three prescriptions: gentle (40-55% savings), standard (50-70%), or aggressive (70-95%), each with different strategies like collapsing thinking blocks or trimming mega-blocks. It always dry-runs first so you see exactly what gets cut and the token savings before anything changes. The main thing to know is you probably want the reload skill instead, since it does the same prune but auto-resumes in a fresh terminal. Use treat only if you want to stay in your current session or handle the resume yourself.

GitHub stars
332
last updated
Jun 11, 2026

Install

$ npx -y skills add ruya-ai/cozempic --skill treat --agent claude-code

Installs into .claude/skills of the current project.

Files

Apply a pruning prescription to the current session. Default is standard if no argument given.

When to use treat vs reload: prefer the reload skill — it does the same prune plus auto-resume in one step (/exit → new terminal opens with the pruned session). Use treat only when the user explicitly wants to stay in the current session, work in a multi-pane setup, or resume manually.

Steps

  1. Diagnose first — show the user what they're working with:

    cozempic current --diagnose
    
  2. Dry-run the treatment — show savings without applying:

    cozempic treat current -rx $ARGUMENTS
    

    If no argument was provided, use standard:

    cozempic treat current -rx standard
    
  3. Show results — present the dry-run output including token savings (the Tokens: line). Always surface both byte and token savings.

  4. Ask confirmation — use AskUserQuestion to confirm before applying.

  5. Apply on confirmation:

    cozempic treat current -rx $ARGUMENTS --execute
    

Sponsors

Details

Repository
github.com/ruya-ai/cozempic
License
MIT
First seen
Jun 11, 2026

More from ruya-ai/cozempic

All 5

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs