AI Dream โ AI skill for Claude Code
๐ Auto-dream memory consolidation for Claude Code & OpenClaw โ REM sleep for your AI.
How to install AI Dream
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open VoidLight00/ai-dream and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Dream does
๐ Auto-dream memory consolidation for Claude Code & OpenClaw โ REM sleep for your AI.
Alternatives in AI
- Open Multi Agent โ TypeScript multi-agent orchestration engine โ one runTeam() call from goal to result 5.8k โ
- ๅฐ็บขไนฆๆๆก๏ผaris ไป็ป โ ๆ ้ข๏ผ ็กไธ่ง่ตทๆฅ่ฎบๆไป5ๅๅ7.5ๅ 3.1k โ
- Auto Re Agent โ Open-source AI reverse-engineering agent using Ghidra and LLMs to reconstruct and validate C/C++ functions fro 1.4k โ
README
ai-dream

**Memory consolidation for AI agents โ REM sleep for your coding assistant.**
After 20+ sessions, your AI's `MEMORY.md` becomes a graveyard of duplicates, stale context, and noise. **ai-dream** fixes this by running a background consolidation process โ like how your brain cleans up memories during REM sleep.
Two versions, same goal:
| Claude Code | OpenClaw | |
|---|---|---|
| Directory | `claude-code/` | `openclaw/` |
| Mechanism | Built-in autoDreamEnabled setting |
Cron-triggered dream agent |
| Setup | One line in settings.json |
setup.sh or manual cron |
| Runs when | Background (Claude decides) | Nightly at 3:00 AM (configurable) |
| Config file | settings.json |
DREAM.md |
| Customizable rules | No (black box) | Yes (full control) |
The Problem
Your AI assistant accumulates memory files over time. Without consolidation:
- Duplicates pile up โ the same project status recorded 5 different ways
- Stale info lingers โ completed tasks, old deadlines, superseded decisions
- Signal drowns in noise โ important context gets buried under session artifacts
- MEMORY.md bloats โ the index file grows past useful limits
The Solution
**ai-dream** consolidates memory the way sleep consolidates human memory:
Session 1 โ raw notes
Session 2 โ raw notes
Session 3 โ raw notes
โ
[Dream cycle]
โ
Clean MEMORY.md
(deduplicated, pruned, integrated)
Quick Start
Claude Code Users
# Add to your Claude Code settings
# ~/.claude/settings.json
{
"preferences": {
"autoDreamEnabled": true
}
}
See [`claude-code/README.md`](./claude-code/README.md) for details.
OpenClaw Users
# Clone and run setup
git clone https://github.com/VoidLight00/ai-dream.git
cd ai-dream/openclaw
chmod +x setup.sh
./setup.sh /path/to/your/workspace
See [`openclaw/README.md`](./openclaw/README.md) f
Related Skills
Openclaw Auto Dream
Automatic memory consolidation for OpenClaw agents โ like sleep for your AI. Powered by MyClaw.ai
Claude Dream
Memory consolidation skill for Claude Code โ like REM sleep for your AI memory
PowerLockGuard
Smart auto-sleep & power management for developers, laptops & AI agents (Claude Code, Cursor, Aider, VS Code).
Claude Code Patterns
Field-tested Claude Code patterns & anti-patterns for personal agents โ an AI workflow that compounds: knowled
Nmem
Give your AI agents a brain that gets smarter over time. 6-tier memory hierarchy with hybrid search, backgroun
Writing Style Skill
Writing style skill template with built-in auto-learning. AI writes โ you edit โ rules auto-extracted โ SKILL.
Related Agents
Part 16: autoDream โ Automatic Memory Consolidation
Note: OpenClaw 2026.4+ has a built-in dreaming system (Part 22) inside memory-core. If you're on 2026.4+, use
Pattern Consolidator
Sleep-time memory compute. Reads daily notes + subagent logs from the last 7 days, identifies recurring patter
Memory Master
Use when a repeated failure, user correction, or WF recovery loop triggers memory writing; also use during WF