Install
openclaw skills install memory-sleepLightweight memory consolidation for OpenClaw agents. Reviews recent daily memory files (`memory/*.md`), extracts durable knowledge, and merges it into `MEMORY.md` without imposing a new file architecture. Triggers: dream, consolidate memory, memory consolidation. Works well with manual runs or a simple nightly cron.
openclaw skills install memory-sleepmemory-sleep is a small, conservative skill for agents that keep:
memory/YYYY-MM-DD.mdMEMORY.mdIt does not introduce extra indexes, dashboards, archives, or custom memory schemas.
Its job is simple: keep MEMORY.md fresh while daily files remain raw journals.
dreamMEMORY.md is getting staleMEMORY.mdMEMORY.mdmemory/YYYY-MM-DD.md filesMEMORY.mdMEMORY.mdmemory/Default window: last 7 days.
Extract only durable items such as:
Ignore or down-rank:
MEMORY.mdUse surgical edits only.
Allowed operations:
Do not:
For older files already consolidated, optionally prepend a short HTML comment such as:
<!-- consolidated to MEMORY.md on YYYY-MM-DD -->
Never delete journal files.
Return a short summary like:
🌙 Dream complete
- Scanned N daily files
- MEMORY.md: +N added / ~N corrected / -N pruned
MEMORY.md is the primary long-term memory outputNightly example:
0 3 * * *
Example job message:
Execute dream skill: consolidate memory
This skill is intentionally minimal.
It is for users who want:
Think of it as a careful editor, not a memory framework.