Skip to main content

Guard

Skill Verified Active
Part of:Cozempic

Protect 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.

Purpose

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@cozempic

Quality Score

Verified
100 /100
Analyzed about 22 hours ago

Trust Signals

Last commit1 day ago
Stars295
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.