← Back to Skills Marketplace
daniel-refahi-ikara

dr-memory-foundation

by Daniel Refahi · GitHub ↗ · v2.1.1 · MIT-0
cross-platform ✓ Security Clean
337
Downloads
0
Stars
0
Active Installs
7
Versions
Install in OpenClaw
/install dr-memory-foundation
Description
Opinionated, file-based memory layout for OpenClaw-style agents: dashboards (now/open-loops/automation), topic files, glossary, and an always-on policy+topic...
README (SKILL.md)

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:

  1. Inspect the existing workspace memory files.
  2. Create any missing template files from references/templates/.
  3. Preserve existing notes; merge or relocate content rather than deleting it.
  4. Normalize MEMORY.md into preferences + indexes only.
  5. Ensure memory/always_on.md contains a tiny policy header + topic catalog.
  6. 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.md
    • memory/open-loops.md
    • memory/automation.md
  • Topics:
    • memory/topics/glossary.md
    • memory/topics/\x3Ctopic>.md
  • Daily logs:
    • memory/YYYY-MM-DD.md

Apply (safe steps)

  1. Create the folders/files from references/templates/.
  2. Move existing knowledge into topic files without deleting source logs.
  3. Keep MEMORY.md as indexes + preferences only.
  4. Update the topic catalog in memory/always_on.md as topics evolve.

Templates

Use the files under references/templates/.

Usage Guidance
This skill appears coherent and narrowly scoped, but take these precautions before applying: 1) Back up or use version control for the workspace so you can review/rollback changes. 2) Inspect the bundled templates (references/templates/) to ensure they meet your needs before copying them in. 3) Run the provided Python script locally (or in a test workspace) rather than allowing an agent to apply changes autonomously if you prefer manual control. 4) Confirm the agent's apply actions (it should preserve existing notes and be idempotent). There are no network calls or credential requests in the code, so the primary risk is undesired local file changes — mitigated by backing up and reviewing diffs.
Capability Analysis
Type: OpenClaw Skill Name: dr-memory-foundation Version: 2.1.1 The skill is a utility for organizing an agent's memory using a specific file-based structure. The included Python script (scripts/install_memory_foundation.py) is a straightforward file-copying tool that initializes templates in the workspace without any network activity, data exfiltration, or suspicious execution logic. The instructions in SKILL.md and the templates are consistent with the stated purpose of memory management.
Capability Assessment
Purpose & Capability
The name/description (file-based memory layout) matches the included templates and a small installer script that copies templates into a workspace and creates a daily log. There are no unrelated requirements (no env vars, no external services).
Instruction Scope
Runtime instructions direct the agent to inspect and reorganize workspace memory files and to copy template files as needed. Reading and writing workspace files is necessary and expected for this purpose; the skill's instructions emphasize preserving user content and idempotency. Users should note that the agent will access files in the workspace when applying the skill.
Install Mechanism
No install spec or remote downloads. The included Python script is self-contained, uses only stdlib (shutil/pathlib/textwrap/datetime), and copies bundled template files into the target workspace. No external code is fetched or executed.
Credentials
No environment variables, credentials, or config paths are requested. The script operates on local filesystem paths only, which matches the skill's stated functionality.
Persistence & Privilege
The skill is not forced-always, is user-invocable, and does not modify other skills or global agent configuration. Its only write activity is creating template files and an auto-generated daily log within the workspace.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dr-memory-foundation
  3. After installation, invoke the skill by name or use /dr-memory-foundation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.1
Installer now creates an initial daily log so watchdogs pass on fresh workspaces
v2.1.0
Adds install_memory_foundation.py and quick-install instructions
v2.0.0
dr-memory-foundation 2.0.0 - Initializes meta information with the addition of the _meta.json file. - No other user-facing changes or feature updates in this release.
v1.0.4
Added a simpler install + apply activation flow. Added Apply dr-memory-foundation to this workspace as the preferred activation phrase. Added references/APPLY.md with an idempotent apply checklist. Updated the skill docs so configure_prompt.md is now a fallback, not the primary activation path. Improved workspace-apply behavior guidance so existing memory files are preserved and normalized more safely.
v1.0.2
- Retooled the skill from "dr-context-pipeline-v1" to "dr-memory-foundation," focusing on file-based memory structure instead of pipeline logic. - Introduced reference templates for memory dashboards, topic files, glossary, and policy catalog to support standardized memory layouts. - Removed pipeline, routing, compression, and schema files to streamline usage for memory organization. - Updated documentation to guide users on setting up and maintaining a memory folder structure with dedicated templates.
v1.0.1
**Major update: the skill now provides a deterministic, schema-validated context pipeline for agent memory retrieval and compression.** - Replaced template-based memory folder setup with a full context pipeline: deterministic routing, retrieval, compression, linting, and regression testing. - Added retrieval/compression/compression prompt files, schemas (JSON), and routing configuration for robust, standardized pipelines. - Introduced golden regression tests for pipeline verification. - Updated documentation to reflect pipeline stages, prerequisites, and usage guidance. - Renamed the skill to clarify focus on context pipeline (previously “dr-memory-foundation”, now “dr-context-pipeline-v1”). - Removed previous dashboard/topic/glossary template files and detailed folder structure instructions.
v1.0.0
# Release notes — dr-memory-foundation v1.0.0 ## What this is **DR Memory Foundation** is an opinionated, file-based memory layout for OpenClaw-style agents. It makes memory **easy to retrieve from, audit, and maintain**, and is designed to support retrieval-first context pipelines without turning memory into an unbounded blob. ## What’s included (templates) - `MEMORY.md` (long-term index): intended to stay **small** — preferences + pointers only (no daily logs). - `memory/always_on.md`: a tiny **policy header** plus a **topic catalog** with keywords. - Dashboards / registries: - `memory/now.md` — current priorities + key links - `memory/open-loops.md` — follow-ups / unresolved items - `memory/automation.md` — automation registry (cron jobs, schedules, delivery notes) - Topics: - `memory/topics/glossary.md` — canonical terms/definitions - Pattern for adding more: `memory/topics/<topic>.md` - Daily logs: - `memory/YYYY-MM-DD.md` — raw chronological notes (kept out of `MEMORY.md`) ## Why this structure works well - Promotes **stable topic files** instead of dumping everything into a single memory document. - Adds an explicit topic catalog so retrieval can quickly decide what to pull. - Clean separation of concerns: - “Standing truth/rules” → topics + glossary - “What matters now” → now/open-loops - “What happened” → daily logs ## Embedding/retrieval note (lite embeddings) This structure is optimized for **lightweight embedding-based retrieval** (a “lite” embedding model) by: - keeping important memory files short and well-scoped, - using a topic catalog + keywords to improve retrieval targeting, - avoiding giant monolithic memory files that make semantic search noisy.
Metadata
Slug dr-memory-foundation
Version 2.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 7
Frequently Asked Questions

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.

💬 Comments