dr-memory-foundation
/install dr-memory-foundation
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/\x3Ctopic>.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/.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dr-memory-foundation - After installation, invoke the skill by name or use
/dr-memory-foundation - Provide required inputs per the skill's parameter spec and get structured output
What is dr-memory-foundation?
Opinionated, file-based memory layout for OpenClaw-style agents: dashboards (now/open-loops/automation), topic files, glossary, and an always-on policy+topic... It is an AI Agent Skill for Claude Code / OpenClaw, with 337 downloads so far.
How do I install dr-memory-foundation?
Run "/install dr-memory-foundation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is dr-memory-foundation free?
Yes, dr-memory-foundation is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does dr-memory-foundation support?
dr-memory-foundation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created dr-memory-foundation?
It is built and maintained by Daniel Refahi (@daniel-refahi-ikara); the current version is v2.1.1.