A 4-phase progressive context management strategy that preserves critical technical information before executing agent compression.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install compact-test-b
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 compact-test-b using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Smart Compact is a specialized enhancement for Openclaw Skills designed to prevent the loss of granular details during the context compression process. Traditional compression often reduces entire conversations into a single summary, causing the AI to forget specific configurations, error logs, or architectural decisions.
By implementing a progressive strategy, Smart Compact rescues information before the /compact command is executed. It acts as a safety buffer, ensuring that every discovery, user preference, and technical fact is documented in persistent storage, allowing the agent to maintain high performance without sacrificing its long-term project knowledge.
To enable Smart Compact within your Openclaw Skills workflow, ensure your agent has permissions to write to the memory directory. No complex installation is required.
# Ensure the memory directory exists in your workspace root
mkdir -p memory
Once the directory is ready, the agent can trigger the skill via the smart-compact command or automatically when context limits are reached.
Smart Compact organizes data using a chronological file-based taxonomy to ensure long-term accessibility.
| Data Component | Format | Storage Location |
|---|---|---|
| Persistent Memory | Append-only Markdown | memory/YYYY-MM-DD.md |
| Discovery Facts | Bulleted List | Inside daily memory file |
| Decision Logs | Source-attributed text | Inside daily memory file |
| Safety Checklist | Structured UI Report | Current session output |
Loading
A powerful Windows-based automation skill that leverages Internet Download Manager to handle large-scale file downloads via COM interfaces and CLI.

Session Resume provides automated task state persistence and recovery to ensure long-running AI agent workflows survive session interruptions or restarts.

A professional-grade suite of advanced Git tools for AI agents, enabling complex operations like interactive rebasing, worktree management, and reflog recovery.

Hook Guard is a comprehensive security and safety layer for AI agents that provides real-time operation monitoring, automated file backups, and risk-based command interception.

A powerful utility for managing Alibaba Cloud Contact Center AI resources and automating OpenAPI interactions within Openclaw Skills.

A specialized skill for reordering search candidates using Alibaba Cloud Model Studio rerank models to enhance retrieval relevance.








































