rem-sleep
SKILL.md
REM Sleep - Memory Consolidation for AI Agents
Like biological REM sleep, this skill processes raw experience (session logs) into consolidated long-term memory.
Works with: OpenClaw, Claude Code, or any agent with session logs and memory files.
The Problem
- Session logs accumulate but are expensive to re-read
- Important insights get buried in noise
- "Mental notes" don't survive context compaction
- After a restart, you're starting from scratch unless you wrote it down
The Solution
Periodic "sleep cycles" that:
- Search session logs for significant patterns
- Extract what's worth remembering
- Consolidate into durable memory files