Cognitive Compaction State Manager
/install cognitive-compaction
Cognitive Compaction
You have reached a context threshold limit! Your primary task has been temporarily suspended to prevent context bloat and out-of-bounds error.
Your objective now is to summarize the granular operational steps you just took into a dense semantic summary. Focus heavily on your overarching goal, what you have successfully done thus far, and what actions remain.
Once you write the summary, the backend script will automatically archive your unstructured logs and swap in your summary.
Current State Compaction Action:
!python3 ${OPENCLAW_SKILL_DIR:-~/.openclaw/skills/cognitive-compaction}/scripts/flush_state.py
Read the output above and ensure your response strictly outlines the progress towards the main goal so you do not suffer from Amnesia when you resume!
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cognitive-compaction - After installation, invoke the skill by name or use
/cognitive-compaction - Provide required inputs per the skill's parameter spec and get structured output
What is Cognitive Compaction State Manager?
Actively monitors token utilization and executes memory compaction routines before context bloat causes failures. It is an AI Agent Skill for Claude Code / OpenClaw, with 186 downloads so far.
How do I install Cognitive Compaction State Manager?
Run "/install cognitive-compaction" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Cognitive Compaction State Manager free?
Yes, Cognitive Compaction State Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Cognitive Compaction State Manager support?
Cognitive Compaction State Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Cognitive Compaction State Manager?
It is built and maintained by The Mooorish (@elmoorish); the current version is v0.1.0.