Claude Code plugin
Cozempic
Context cleaning for Claude Code — prune bloated sessions, protect Agent Teams from context loss, auto-guard with tiered pruning
Install
/plugin marketplace add Ruya-AI/cozempicFound in the project README. Check it for setup steps after installing.
git clone https://github.com/Ruya-AI/cozempic.gitFrom the README
Cozempic 100,000+ power users trust Cozempic to keep their Claude Code sessions lean. Context cleaning for Claude Code — remove the bloat, keep everything that matters, protect Agent Teams from context loss. What It Does Claude Code sessions fill up with dead weight: progress ticks, thinking blocks, stale file reads, duplicate CLAUDE.md injections, base64 screenshots, oversized tool outputs, and metadata bloat. A typical session carries 8-46MB — most of it noise that inflates every API call. Cozempic removes it with 18 composable strategies across 3 prescription tiers, while your actual conversation, decisions, and working context stay untouched. The guard daemon runs automatically — install once, forget about it. Key Features - 18 pruning strategies — gentle (5), standard (11), aggressive (18) - Guard daemon — auto-starts via SessionStart hook, monitors and prunes continuously - Interactive "prune now?" nudge — a non-blocking heads-up at 25% / 55% / 80% context (once per tier) recommending cozempic reload, so interactive users get cozempic's higher-fidelity prune+resume on their own terms instead of falling back to lossy autocompact. Takes no action on its own; silence with COZEMPIC_NUDGE_OFF=1 - Interactive-safe reload — in interactive sessions the guard warns first and reloads only at an idle breakpoint (never mid-turn); headless sessions reload as before - Safe-point protection — the guard never terminates-and-resumes through in-flight work: a running Workflow, a background subagent, an agent team, or an open tool call defers the reload so nothing is lost - compact-summary-collapse — 85-95% savings by removing pre-compaction messages already in the summary - Agent Teams protection — checkpoints team state through compaction, reactive overflow recovery -…
How plugins work
- A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
- Add the marketplace inside Claude Code with /plugin marketplace add Ruya-AI/cozempic, then run /plugin to pick what to install.
- You can turn a plugin off again from /plugin without deleting anything.
Details
- Repository
- Ruya-AI/cozempic
- Website
- pypi.org/project/cozempic
- Language
- Python
- License
- MIT
- Last updated
- 3 July 2026
- Topics
- agent-teamsclaude-codeclaude-skillsclicontextcontext-managementjsonlllm-toolspruningpythonsession-management
- Listed in
- awesome-claude-code-toolkit
FAQ
What is Cozempic?
Context cleaning for Claude Code — prune bloated sessions, protect Agent Teams from context loss, auto-guard with tiered pruning It is a plugin for Claude Code, from Ruya-AI/cozempic on GitHub.
How do I install Cozempic?
Run /plugin marketplace add Ruya-AI/cozempic inside Claude Code, then follow the setup in the README.
Is Cozempic popular?
Ruya-AI/cozempic has 427 GitHub stars and 39 forks, and is included in 1 curated Claude Code list. It was last updated on 3 July 2026.
More plugins & marketplaces
Superpowers Chrome
371obra/superpowers-chrome
Plugin giving Claude direct Chrome control via the DevTools Protocol.
AWS Skills
373zxkane/aws-skills
Plugins and skills for AWS IaC, serverless, cost and Bedrock work.
Pixel Plugin
410willibrandon/pixel-plugin
Plugin for making pixel art in Aseprite through natural-language commands.
Developer Kit
366giuseppe-trisciuoglio/developer-kit
Modular plugin marketplace with spec-driven skills, agents and commands.
Flow Next
716gmickel/flow-next
Faster than your agent alone. And better. A workflow plugin that takes a bug, idea or ticket to a verified pull request: specs, cross-model review by risk, live QA, receipts in your repo. Claude Code · Codex · Cursor · Droid · Grok Build · OpenCode · Muse Code.
Homunculus
400humanplane/homunculus
A Claude Code plugin that watches how you work, learns your patterns, and evolves itself to help you better.
Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.