Install
openclaw skills install dream-cycleImplement a nightly "dream cycle" for OpenClaw agents that: - Reviews and consolidates memory at night - Cleans up bloated workspace files - Prepares a morning brief for the user Use when: User wants to implement Ray Fernando's dream cycle concept, reduce memory bloat, or set up automated memory maintenance.
openclaw skills install dream-cycleBased on Ray Fernando's dream cycle concept for OpenClaw memory management.
The dream cycle is a nightly process where the agent:
This keeps Tier 1 memory lightweight while maintaining searchability via QMD.
| Tier | Cost | What's Here |
|---|---|---|
| Tier 1 | ~600 tokens/turn | AGENTS.md, SOUL.md, USER.md — core identity |
| Tier 2 | 0 tokens | Memory files indexed via QMD — search on demand |
| Tier 3 | Tool tokens only | Full disk reads — rarely needed |
Goal: Keep AGENTS.md under 2,000 bytes, MEMORY.md under 1,500 bytes.
🌅 **Morning Brief** - {date}
**Today:** {current tasks/goals}
**Recent Activityy:**
- {esterday's summary from memory}
**Patterns Noticed:**
- {any}
**Suggested recurring themes Focus:**
- {recommendations for the day}
**Memory Stats:**
- AGENTS.md: {size} bytes
- MEMORY.md: {size} bytes
- Indexed chunks: {count}
🌙 **Dream Cycle Audit** - {date}
**Files Analyzed:**
- AGENTS.md: {size} bytes → {recommendation}
- MEMORY.md: {size} bytes → {recommendation}
- USER.md: {size} bytes → {recommendation}
**Bloat Detected:**
- {list of bloated sections}
**Actions Taken:**
- {list of optimizations applied}
**QMD Index Status:**
- {indexed files count} files indexed
- {total chunks} chunks
cron: "0 3 * * *"
mode: run
delivery: none
model: {default or lightweight}
cron: "0 7 * * *"
mode: session
delivery: announce
channel: {preferred channel}
dream now — Run dream cycle immediatelydream audit — Audit memory files without changesdream brief — Generate morning brief without full cycledream status — Show current memory stats