Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Ruya-AIv1.8.39MITIn 1 marketplace
Prunes bloated Claude Code sessions to free up context, and keeps agent team state across compaction. Hooks run on their own, checkpointing on Stop, PreCompact and PostToolUse, and a guard daemon starts at session start. Requires the cozempic Python package installed via pip.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Context weight-loss plugin for Claude Code. Prune bloated sessions, protect agent teams from compaction, and monitor context usage — all from within Claude Code.
pip install cozempic
# Development / testing
claude --plugin-dir ./plugin
# From marketplace (once published)
claude plugin install cozempic
| Skill | Description | Invocation |
|---|---|---|
/cozempic:diagnose | Analyze session bloat, token count, context % | User or Claude (auto) |
/cozempic:treat [rx] | Prune session with gentle/standard/aggressive | User only |
/cozempic:reload [rx] | Treat + auto-resume in new terminal | User only |
/cozempic:guard | Start background sentinel daemon | User only |
/cozempic:doctor | Run health checks | User or Claude (auto) |
Automatically registered when the plugin is enabled:
| Event | Action |
|---|---|
SessionStart | Start guard daemon in background |
PostToolUse (Task/TaskCreate/TaskUpdate) | Checkpoint agent team state |
PreCompact | Emergency checkpoint before compaction |
Stop | Final checkpoint on session end |
The plugin includes an MCP server that gives Claude direct access to cozempic tools:
diagnose_current — Full session diagnosis with token countsestimate_tokens — Quick token count + context % checklist_sessions — All sessions with sizes and tokenstreat_session — Dry-run or apply a prescriptionlist_strategies — Available strategies and prescriptionsClaude can invoke these automatically when it detects context pressure.
The plugin wraps the cozempic CLI and Python package:
cozempic CLI commands via Bashcozempic guard and cozempic checkpoint on lifecycle eventscozempic package directly for richer tool integration7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ruya-ai/cozempic --plugin cozempicPlugins from other owners that cover similar ground