openclaw-memory-canonical
Installation
SKILL.md
OpenClaw Memory v4.5.4 (2026-04-07)
File-based memory system for single-user AI agents: HOT/WARM/COLD/BUFFER + SCRATCH. ~12KB, 9 files, zero dependencies.
Execution
Runtime Decision Tree (for AI execution)
On session start:
- Read
MEMORY.md. Output: HOT context loaded. - Read
memory/working-buffer.md. Output: current task state loaded. - If
memory/working-buffer.md.pendingexists, recovermemory/working-buffer.md.pendingbefore any review or maintenance. Output: pending rotation data recovered or explicit decision that no pending recovery is needed. - If
memory/working-buffer.mdis stale (>2h) and unfinished, recover pending work first. Output: either recovered task state or explicit decision that no recovery is needed. - Read episodic notes for today and yesterday. Output: recent events and decisions loaded.
- Scan the last 20 lines of
.learnings/ERRORS.md,.learnings/LEARNINGS.md, and.learnings/FEATURE_REQUESTS.mdif those files exist. Output: matching lessons loaded or no-op if nothing relevant exists. - Resume from file contents. Stop when the active task or current request has enough memory context to continue safely.