To “maximize QMD for better memory”, the big unlock is: QMD doesn’t create memory by itself — it just makes whatever you store in Markdown much easier to retrieve (BM25 + vectors + reranking). So you want (a) better stuff to index, and (b) QMD configured to index it + refresh it.
Docs: https://docs.openclaw.ai/concepts/memory (see “QMD backend (experimental)”)
1) Make the source memory better (biggest ROI)
Write in a retrieval-friendly way (because QMD is still search):
- Use consistent headings/structure in
MEMORY.md(durable) andmemory/YYYY-MM-DD.md(daily). - Prefer short, atomic bullets with stable keywords:
- “Preference: …”
- “Decision: … (why)”
- “Project: …”
- “Owner: …”
- Include “needles” you’ll later search for: IDs, exact names, repo names, error strings.
And operationally: tell the agent to write memory when something matters (“remember X” → “write this to MEMORY.md under Preferences”).