Kaw0n

Memory Setup (OpenClaw)

AI 智慧體v1.0.0
作者:Kaw0n更新於 2026-05-11memory-setup-openclaw@clawhub_kaw0naivyn/memory-setup-openclaw
上下文管理記憶增強

據 AlphaMoat 統計,截至 2026-10,Memory Setup (OpenClaw) 累計下載 54,953 次、獲 2 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 447 位,在「AI 智慧體」分類(1,632 個)中排名第 94 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
5.5萬
星標
2
全站下載量排名
#447
全站前 5% · 「AI 智慧體」前 6%
平台累計下載星標評論
ClawHub ↗1.1萬2-
SkillHub ↗5.5萬2—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

準備長期與每日筆記,配置 agents.defaults.memorySearch,選擇本地或遠端提供方,重啟閘道器並測試搜尋及精確讀取。技能提供指引,不直接生成檔案。應審查索引內容的隱私;遠端嵌入提供方可能接收記憶內容,需適當憑據和授權。

資料釋出於 2026-10-27

可以用來做什麼

  • 規劃記憶檢索配置並排查不可用或匹配較弱問題

什麼時候用

  • OpenClaw 工作區需要配置並驗證記憶工具時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

審查擬用的記憶配置和提供方資料流,再列出驗證步驟,不修改檔案。

月度資料趨勢

累計下載5.5萬
32583.1萬5.9萬2026-03 · 累計下載 70872026-05 · 累計下載 91672026-06 · 累計下載 95102026-07 · 累計下載 1.1萬2026-08 · 累計下載 1.3萬2026-09 · 累計下載 1.6萬2026-10 · 累計下載 5.5萬26-0326-0926-10
星標2
1232026-03 · 星標 22026-05 · 星標 22026-06 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 22026-10 · 星標 226-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-105.5萬—2
2026-091.6萬—2
2026-081.3萬+18.5%2
2026-071.1萬+13.1%2
2026-069510+3.7%2
2026-059167—2
2026-037087—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.3 KB · ClawHub v1.0.0
---
name: memory-setup
description: Configure and validate OpenClaw memory recall for persistent context. Use when enabling memory_search/memory_get, fixing poor memory recall, or setting up MEMORY.md + memory/*.md workflows in an OpenClaw workspace.
---

# Memory Setup (OpenClaw)

Set up durable memory for OpenClaw so the agent can recall prior decisions, preferences, and todos.

## 1) Prepare workspace files
展開全部(共 94 行)

In workspace root, keep:

- `MEMORY.md` (curated long-term memory)
- `memory/YYYY-MM-DD.md` (daily notes)

Optional structure:

- `memory/projects/`
- `memory/system/`
- `memory/groups/`

## 2) Enable memory search in OpenClaw config

Configure under **`agents.defaults.memorySearch`** (not top-level `memorySearch`).

Example:

```json
{
  "agents": {
    "defaults": {
      "memorySearch": {
        "enabled": true,
        "provider": "local",
        "includeDefaultMemory": true,
        "maxResults": 20,
        "minScore": 0.3
      }
    }
  }
}
```

Notes:

- `includeDefaultMemory: true` indexes `MEMORY.md` + `memory/**/*.md`.
- Providers: `local`, `openai`, `gemini`, `voyage`, `mistral`.
- If using remote provider, set corresponding API key (env var or `memorySearch.remote.apiKey`).

## 3) Restart and verify

- Restart gateway after config changes.
- Verify with:
  - `openclaw status`
  - `openclaw memory status` (if available in your CLI build)

## 4) Test recall behavior

Ask a question about past context, then verify the agent:

1. Runs `memory_search`
2. Uses `memory_get` for precise lines when needed
3. Cites source path/lines when useful

## 5) Troubleshooting

### memory_search unavailable

- Ensure `agents.defaults.memorySearch.enabled = true`.
- Ensure policy allows memory tools.
- Restart gateway.

### low-quality matches

- Lower `minScore` (e.g. `0.2`) to broaden hits.
- Raise `maxResults` (e.g. `30`).
- Write more specific notes in `MEMORY.md` and daily logs.

### local provider issues

- Confirm local model path/settings if configured.
- If needed, switch provider to remote and set API key.

## 6) Recommended operating rule

Before answering questions about prior work, decisions, dates, people, preferences, or todos:

1. `memory_search` first
2. `memory_get` second (only needed lines)
3. Say you checked memory if confidence is still low

This keeps responses grounded and auditable.

「AI 智慧體」分類下的熱門技能

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。