A specialized automation skill that compresses daily interaction logs into concise long-term memories and archives raw files every morning.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install memory-compact
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 memory-compact using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Memory Compact is a high-performance utility designed for the Openclaw Skills ecosystem to solve the problem of context bloat and data fragmentation. By running a daily scheduled routine, it parses recent dialogue records, identifies critical decisions or preferences using keyword matching, and synthesizes them into a centralized long-term memory file.
This skill ensures your AI agent remains lean and focused by moving verbose historical logs to a dedicated backup directory while maintaining a high-level summary of important events. It is built with a security-first approach, operating entirely within local file boundaries without external network dependencies.
To manually trigger the memory compression or view logs, use the following commands within your environment:
# Run the manual compression script
python3 /root/.openclaw/workspace/skills/memory-compact/wrapper.py
# Monitor the backup execution logs
tail -f /root/.openclaw/workspace/scripts/memory_backup.log
# Verify the extracted long-term memories
cat ~/.openclaw/workspace/MEMORY.md
The skill manages data within the Openclaw Skills workspace using the following structure:
| Path | Description | Format |
|---|---|---|
memory/YYYY-MM-DD.md |
Source file for the current day's logs | Markdown |
backup/memory/ |
Directory for archived historical logs | Markdown Files |
MEMORY.md |
The master file containing synthesized long-term memory | Markdown |
memory_backup.log |
Technical execution logs for troubleshooting | Plain Text |
extract_key_points() function in memory_backup.py to add custom keywords or integrate LLM-based summarization.Loading
An automated monitoring agent designed to track and summarize the latest policy updates and administrative penalties from China's primary financial regulatory bodies.

A comprehensive utility for programmatically discovering, filtering, and selecting the most cost-effective models from OpenRouter for AI agent workflows.

A unified entry point to discover and integrate multiple high-end AI video generation models through a single API.

A unified gateway to discover, configure, and execute image generation tasks across multiple AI models using a single API endpoint.

A comprehensive utility for fetching real-time market data for gold, silver, and precious metals across spot, retail, and futures markets.

A specialized skill designed to craft high-conversion, personalized outreach sequences for creator partnerships and influencer marketing.








































