cco-clean

SKILL.md

Clean Context Optimizer Data

The user wants to clean up tracking data. Parse $ARGUMENTS:

  • If --reset-all: Delete all data in ~/.claude-context-optimizer/ and confirm
  • If --sessions-older-than N: Delete session files older than N days
  • If no arguments: Show current data size and ask what to clean

Run to check data size:

du -sh ~/.claude-context-optimizer/ 2>/dev/null && find ~/.claude-context-optimizer/sessions/ -name "*.json" 2>/dev/null | wc -l

For cleanup, delete the appropriate files and confirm what was removed.

Weekly Installs
21
GitHub Stars
35
First Seen
11 days ago
Installed on
opencode21
deepagents21
antigravity21
github-copilot21
codex21
amp21