Diagnose and prune context bloat
cozempiccommandsetup L1★330
Ruya-AI/cozempic ↗What it does
Diagnose session bloat and apply targeted context pruning strategies
Best for
Slimming bloated sessions without losing critical context, enabling longer conversations in constrained token budgets
Inputs
- · current session file
- · prescription tier (gentle/standard/aggressive)
Outputs
- · dry-run summary (bytes saved, changes proposed)
- · timestamped backup of original
- · pruned session file
Requires
- · cozempic CLI
Preconditions
- · cozempic installed
- · current session writable
Failure modes
- · cozempic not installed
- · session file corrupted
- · dry-run shows unexpected changes
Trust signals
- · always dry-run first
- · shows strategy breakdown (which strategies contribute savings)
- · auto-creates timestamped backup
- · preserves conversation structure (uuid/parentUuid)