Mindkeeper bootstraps a production-grade, 3-layer memory system for OpenClaw agents. It turns a fresh agent into one that remembers, learns, and organizes knowledge automatically.
Three layers, each serving a distinct purpose:
text
Layer 1: MEMORY.md — Tacit knowledge (preferences, lessons, patterns)
Layer 2: memory/*.md — Daily notes (raw capture of what happened)
Layer 3: /life/ (PARA) — Structured knowledge repo, QMD-indexed
├── projects/ — Active endeavors with goals and deadlines
├── areas/ — Ongoing responsibilities (no end date)
├── resources/ — Reference material, how-tos, patterns
└── archive/ — Completed or inactive items
Supporting systems:
The setup script creates the directory structure and starter files. It never overwrites existing files.
Windows (PowerShell):
powershell
pwsh -File "<skill_dir>/scripts/setup.ps1" -Workspace "<workspace_path>"
Linux/Mac (Bash):
bash
bash "<skill_dir>/scripts/setup.sh" "<workspace_path>"
Where <workspace_path> is the OpenClaw workspace root (typically ~/.openclaw/workspace).
QMD provides semantic search across all your knowledge files and session transcripts. See references/qmd-setup.md for the complete setup guide including Windows workarounds.
A cron job reviews all sessions and extracts knowledge into your PARA structure. See references/consolidation.md for the exact cron command, prompt, and configuration options.
For voice-heavy workflows, add inline transcript echo and local storage. See references/transcripts.md for the two-layer approach.
End-of-day routine: consolidation → memory update → status report → optional gateway stop. See references/sign-off.md for the complete workflow.
memory/YYYY-MM-DD.md)MEMORY.md with the distilled insightlife/projects/life/resources/life/resources/decisions/Use memory_search to find information across all indexed files. QMD searches MEMORY.md, daily notes, and the entire /life/ tree.
life/archive/, prune stale contentStarter templates are in the templates/ directory:
TemplatePurposetemplates/project.mdNew project file for life/projects/``templates/area.mdNew area of responsibility for life/areas/``templates/resource.mdReference material for life/resources/``templates/decision.mdLightweight ADR for life/resources/decisions/``templates/daily-note.mdDaily note for memory/``templates/memory.mdMEMORY.md starter with recommended sections
Copy and customize as needed. The setup script uses these templates for initial file creation.
DocumentRead when...references/qmd-setup.mdSetting up QMD search backendreferences/consolidation.mdConfiguring daily consolidation cronreferences/transcripts.mdSetting up voice transcript verificationreferences/sign-off.mdConfiguring end-of-day routine