cyberneticlibrary

Clean up bloated session logs

treatskillsetup L1330
Ruya-AI/cozempic
What it does

Prune bloated session with prescription

Best for

Recover a token-heavy conversation by removing progress ticks, stale reads, and thinking blocks without losing semantic content.

Inputs
  • · Session (current or specified)
  • · Pruning mode: gentle|standard|aggressive
Outputs
  • · Dry-run preview with token/byte savings
  • · Executed pruned session backup
Requires
  • · cozempic CLI
Preconditions

cozempic CLI installed; target session is valid

Failure modes
  • · Invalid pruning mode
  • · Session file inaccessible
  • · Insufficient disk space for backup
Trust signals
  • · Automatic timestamped backups before execution
  • · Safe dry-run preview before apply