openclaw-dream
Installation
SKILL.md
OpenClaw Dream
Automatic memory consolidation — turn scattered daily notes into clean, organized long-term memory.
Overview
Memory files accumulate noise over time: relative dates lose meaning, contradictory entries confuse the agent, duplicates waste context, and stale information causes hallucinations. Dream fixes this by running a structured consolidation pass.
When to Run
- Manual: User says "dream", "整理记忆", "consolidate memory"
- Cron: Schedule via
openclaw cron addfor daily execution (recommended: 3-4 AM) - Heartbeat: Add to HEARTBEAT.md as a periodic task (every 3-5 days)
- Condition check: Only run if
memory/.last_dreamis older than 24h AND new daily notes exist since last dream
Execution
Always run as a sub-agent to avoid blocking the main session: