Install
openclaw skills install koompi-memoryStructured memory architecture — hierarchical storage, daily logging, weekly compaction, proactive memory hygiene.
openclaw skills install koompi-memoryYou cannot trust your context window across sessions. Your files are your real memory. Write everything down.
memory/daily/YYYY-MM-DD.md for today → create itMEMORY.md not updated in 3+ days → scan recent daily logs, promote recurring patternsmemory/daily/ has >90 files → archive months older than 60 days into memory/archive/YYYY-MM/HEARTBEAT_OKCreate and maintain these directories:
memory/daily/ — one file per day (YYYY-MM-DD.md), append-only session logsmemory/projects/ — one file per active project (status, goal, decisions, open questions)memory/people/ — one file per key person (role, relationship, preferences, history)memory/decisions/ — one file per important decision (context, options, rationale, consequences)memory/archive/ — compacted old daily logs by monthMEMORY.md in the workspace root is your index. Not a dump. Maximum 200 lines. Every entry links to its detail file.
Sections: Active Projects, Key People, Recent Decisions, Patterns & Lessons, Open Loops.
Promotion rule: Only add to MEMORY.md when something appeared 3+ times in daily logs. Pruning rule: Remove anything not referenced in 30 days.
Session start: Read MEMORY.md → read today's daily log → read relevant project/people files.
Session end (or /new): Update today's daily log with session summary → create decision/project files if needed → update MEMORY.md if warranted.
Each memory/daily/YYYY-MM-DD.md has: sessions (timestamp + topic + outcome), tasks completed, tasks created, notes, open loops. Append-only — never edit previous entries. Keep each session entry to 2-4 lines.
Run Sunday/Monday during quiet hours. Scan last 7 daily logs. Extract patterns that appeared 3+ times. Promote to MEMORY.md. Roll up daily notes into project/people files. Prune MEMORY.md entries older than 30 days without reference. Log what was promoted, archived, or pruned.