Skip to content

[Resource]: Cozempic - Context cleaning CLI for Claude Code #776

@junaidtitan

Description

@junaidtitan

Display Name

Cozempic

Category

Tooling

Primary Link

https://github.com/Ruya-AI/cozempic

Description

Context cleaning CLI for Claude Code that prunes bloated JSONL session files before compaction triggers. 13 cleaning strategies across gentle/standard/aggressive prescriptions, a guard daemon for continuous monitoring, agent team state protection, token estimation with context % tracking, and reactive overflow recovery. Zero external dependencies.

pip install cozempic

Additional Context

  • 86 stars, actively maintained
  • Typical savings: 40-70% session size reduction
  • Guard daemon auto-starts via Claude Code hooks — no second terminal needed
  • Includes /cozempic slash command for in-session use

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-templateIssue is a resource recommendation that did not use the issue template

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions