Guard
Skill Verified ActiveProtect Claude Code sessions from context overflow by running a background daemon that monitors session size and auto-prunes before compaction hits. Use when the user says "guard", "protect session", "context getting long", "prevent compaction", "session management", or is running agent teams that need continuous context protection.
To protect Claude Code sessions from context overflow and data loss by automatically monitoring and pruning session content, ensuring smooth operation of agent teams and preserving critical context.
Features
- Continuous session context monitoring
- Automatic pruning via background daemon
- 18 composable pruning strategies
- Agent team state protection through checkpointing
- Behavioral digest for preserving user corrections
Use Cases
- Use when running agent teams that require continuous context protection.
- Use when Claude Code sessions are prone to context overflow or compaction.
- Use to diagnose and fix session corruption or orphaned tool results.
- Use to manage and reduce session size for improved performance.
Non-Goals
- Modifying files outside of the Claude Code session context.
- Handling general Python project dependencies or environment management.
- Replacing Claude Code's core functionality or user interface.
Installation
First, add the marketplace
/plugin marketplace add Ruya-AI/cozempic/plugin install plugin@cozempicQuality Score
VerifiedTrust Signals
Similar Extensions
Treat
100Prune bloated session with a prescription. Removes progress ticks, stale reads, duplicate content, and more.
Session Export
100Exports a Claude Code session as a clean, readable markdown transcript. Use when the user wants to export a session, create a transcript, save session history to a file, or says "export this session".
Cozempic
99Analyze 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.
Validate Plugin
100Validate a Claude Code plugin structure, frontmatter, and MCP tool references
Running Claude Code Via Litellm Copilot
100Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.
Create Command
100Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration