DR Memory Foundation
Use this skill to set up a memory layout that is easy to retrieve from, audit, and compress.
Apply to this workspace
When the user asks to apply this skill (for example: Apply dr-memory-foundation to this workspace), do this:
- Inspect the existing workspace memory files.
- Create any missing template files from
references/templates/. - Preserve existing notes; merge or relocate content rather than deleting it.
- Normalize
MEMORY.mdinto preferences + indexes only. - Ensure
memory/always_on.mdcontains a tiny policy header + topic catalog. - Confirm what changed.
This apply flow should be idempotent: if the structure already exists, do not duplicate sections or overwrite user content blindly.
Quick install commands (copy/paste)
Run this from the workspace root when you want the templates created automatically:
cd ~/.openclaw/workspace
python3 ./skills/dr-memory-foundation/scripts/install_memory_foundation.py
tree -L 2 memory | head -n 40
If files already exist the script skips them; otherwise it copies the templates from references/templates/.
Template layout
MEMORY.md(small): preferences + indexes only.memory/always_on.md: tiny policy header + topic catalog (with keywords).- Dashboards / registries:
memory/now.mdmemory/open-loops.mdmemory/automation.md
- Topics:
memory/topics/glossary.mdmemory/topics/<topic>.md
- Daily logs:
memory/YYYY-MM-DD.md
Apply (safe steps)
- Create the folders/files from
references/templates/. - Move existing knowledge into topic files without deleting source logs.
- Keep
MEMORY.mdas indexes + preferences only. - Update the topic catalog in
memory/always_on.mdas topics evolve.
Templates
Use the files under references/templates/.