← 返回 Skills 市场
daniel-refahi-ikara

dr-memory-foundation

作者 Daniel Refahi · GitHub ↗ · v2.1.1 · MIT-0
cross-platform ✓ 安全检测通过
337
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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/.

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dr-memory-foundation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dr-memory-foundation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug dr-memory-foundation
版本 2.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 7
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 337 次。

如何安装 dr-memory-foundation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dr-memory-foundation」即可一键安装,无需额外配置。

dr-memory-foundation 是免费的吗?

是的,dr-memory-foundation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

dr-memory-foundation 支持哪些平台?

dr-memory-foundation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 dr-memory-foundation?

由 Daniel Refahi(@daniel-refahi-ikara)开发并维护,当前版本 v2.1.1。

💬 留言讨论