Security v1.0.0-alpha

memory-management

Recall and write workspace memory for OpenClaw agents using MEMORY.md, memory/YYYY-MM-DD.md, memory_search, and...

omaression 更新于 2026-03-17 1 浏览
下载 SKILL

技能说明

Recall and write workspace memory for OpenClaw agents using MEMORY.md, memory/YYYY-MM-DD.md, memory_search, and memory_get. Use when the user asks about prior work, decisions, dates, people, preferences, todos, or says to remember something; also use when you need to store durable notes or explain how OpenClaw memory works.

使用场景

Retrieve first. Write only what should persist.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/memory-management
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 21 kB
SKILL.md text/markdown
---
name: memory-management
description: Recall and write workspace memory for OpenClaw agents using MEMORY.md, memory/YYYY-MM-DD.md, memory_search, and memory_get. Use when the user asks about prior work, decisions, dates, people, preferences, todos, or says to remember something; also use when you need to store durable notes or explain how OpenClaw memory works.
---

# Memory Management

Retrieve first. Write only what should persist.

## Core model

- `MEMORY.md` — curated long-term memory
- `memory/YYYY-MM-DD.md` — daily notes and running context
- `memory_search` — find likely snippets
- `memory_get` — read exact lines needed

## Retrieval

When user asks about prior work, decisions, dates, people, preferences, or todos:

1. `memory_search` with a tight, specific query.
2. `memory_get` for the needed lines only.
3. Answer from retrieved text, not guesswork.
4. If results are weak or empty, say you checked.

Good queries: `omar internship goal fall 2026`, `notion workspace page id`
Bad queries: whole paragraphs, vague terms like `memory`

## Writing

Write when user says "remember this," states a durable preference, or makes a decision that matters later.

| Destination | What goes there |
|---|---|
| `MEMORY.md` | Standing preferences, durable facts, recurring workflows, important long-term decisions |
| `memory/YYYY-MM-DD.md` | Day-to-day notes, progress, one-off events, session context |

Rules:
- smallest useful note
- concrete facts over commentary
- no secrets unless asked
- do not promise memory unless written

## When not to use

Skip retrieval when the answer is in the current message or task is current-turn only.
Skip writing when the fact is trivial, belongs in project docs, or is temporary scratch.

## Answering rules

- Cite file path/line when useful
- Separate memory facts from inference
- Flag stale memory
- If unavailable, say so

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。