Context Compressor turns verbose Markdown conversation logs into compact, structured memory summaries while preserving critical decisions, lessons, and follow-up tasks.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install context-compressor-free
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install context-compressor-free using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Context Compressor is a local Node.js utility for reducing the size of AI agent conversation logs and long-term memory files. It typically delivers 4–8x compression by removing repetition, retaining turning points, summarizing processes into outcomes, and preserving important context for future sessions.
Designed for Openclaw Skills workflows and compatible with AI agents that support SKILL.md instructions, the skill organizes memory into identity, strategic memory, and detailed daily logs. It helps developers, personal assistants, students, and automation teams control token usage without discarding key decisions or lessons.
MEMORY.md.MEMORY.md, archives it, or combines multiple summaries into a project decisions document.SKILL.md, such as Claude Code, Cursor, Codex, or Gemini CLI.scripts/context-compressor.js file.Place the skill and its scripts directory in the agent workspace, confirm Node.js is available, and run the compressor against a Markdown memory file:
node --version
node scripts/context-compressor.js --help
node scripts/context-compressor.js memory/2026-03-14.md
Write the compressed result to a specific location with:
node scripts/context-compressor.js memory/2026-03-14.md /tmp/compressed.md
After reviewing the output, append it to long-term memory:
cat /tmp/compressed.md >> MEMORY.md
date +%s > .last-memory-maintenance
For recurring Openclaw Skills maintenance, execute the command every 2–3 days or whenever daily logs become large. The free version processes one file at a time, so batch jobs require a shell loop.
| Layer | File or location | Purpose |
|---|---|---|
| Identity profile | IDENTITY.md |
Stable agent identity, priorities, and essential operating context. |
| Strategic memory | MEMORY.md |
Compressed long-term knowledge, decisions, lessons, and pending work. |
| Detailed archive | memory/YYYY-MM-DD.md |
Complete daily conversation or activity logs retained for reference. |
## or ### headings from the source are used to identify sections.| Item | Behavior |
|---|---|
| Supported input | Markdown logs using #, ##, and ### headings. |
| Plain text without structure | Produces a friendly notice about the missing Markdown structure. |
| Empty file | Skips cleanly without treating it as a fatal error. |
| Encoding | Detects and removes BOM; warns on non-UTF-8 input and continues when possible. |
| Missing output directory | Creates the directory automatically. |
| Output format | Structured Markdown summary suitable for MEMORY.md, archives, or project decision documents. |
| Metadata | Operational metadata can include the maintenance timestamp stored in .last-memory-maintenance. |
context-compressor-pro.Loading
Memory Fortress Free gives AI agents durable, structured memory that survives context compression, restarts, interruptions, and long-running projects.

Swarm Coder Free assigns a fresh AI subagent to every coding task and enforces self-checks, specification review, quality review, and final integration review.

CDP Browser Pilot Free lets AI agents automate JavaScript-rendered and authenticated Edge or Chrome pages through the Chrome DevTools Protocol.

Analyze 5–10 writing samples, preserve a reusable style fingerprint, and generate new content that follows the author’s voice.

Carrusel del Radar F100K turns a sourced trend signal into a reviewed, rendered, and optionally published Instagram carousel with explicit approval gates.

Agent Throne lets AI agents gain verifiable visibility by challenging for a public #1 ranking with free gauntlets or USDC bids on Base.








































