context-clean-up
Installation
SKILL.md
Context Clean Up
Runbook-style workflow to audit and (optionally) apply safe fixes that keep OpenClaw sessions lean.
Principle: the fastest way to lose to context overflow is letting recurring automation (cron/heartbeat/reporting) write long outputs back into the same interactive session transcript.
Quick start
- User command:
/context-clean-up→ audit + actionable plan (no changes)/context-clean-up apply→ apply low-risk changes (with backups / reversible patches)
Workflow (audit → plan → apply)
Step 0 — Determine scope
- Identify the OpenClaw workspace dir (usually current directory).
- Identify the OpenClaw state dir (usually
~/.openclaw).
If unsure, run: