Build, bootstrap, and maintain a stable OpenClaw default agent identity by interviewing the user, updating IDENTITY.md, and seeding core context files (AGENT...
Coding
Openclaw Context Maintainer
Try itCompress OpenClaw session context safely with backups and restore steps.
What it does
Compress OpenClaw session context safely with backups and restore steps.
The skill document
OpenClaw Context Maintainer
Use this skill when an OpenClaw session is getting too large, noisy, or slow and you need to reduce token burn without losing the active thread.
Workflow
- Check whether compression is actually needed.
- Back up the current session or source material first.
- Preserve the newest context and the active task.
- Summarize only stale context into a compact block.
- Verify that names, numbers, decisions, blockers, and open tasks survived.
- Restore from backup if the result is weak.
Rules
- Never compress blindly.
- Keep recent context visible.
- Do nothing if the session is already lean.
- Treat compression as hygiene, not memory replacement.
- Promote durable lessons to
MEMORY.md,AGENTS.md, orTOOLS.mdwhen needed.
Best fit
- Long troubleshooting threads
- Repeated back-and-forth
- Obsolete status chatter
- Old tool noise
- Sessions approaching practical context limits
Avoid
- Blind truncation
- Compressing active reasoning in flight
- Using compression instead of actual memory capture
- Removing recent user decisions or open tasks
Verification
- Session still reads naturally
- Active task remains clear
- Backup exists
- Restore path exists
Related skills
Archive and organize completed OpenClaw session logs into structured markdown notes for long-term memory retention. Use when wrapping up a long session, consolidating work logs, or preparing daily memory files for review.
Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha...
Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha...
Use when the user wants to inspect, repair, package, or troubleshoot an OpenClaw workspace doctor setup, especially for stale bootstrap state, missing daily...
Navigate and use OpenClaw documentation efficiently with cached doc fetch/search tooling, sitemap/category routing, and config snippet lookup. Use when answe...