首页龙虾技能列表 › Memory Setup — OpenClaw记忆配置

Memory Setup — OpenClaw记忆配置

v1.0.0

OpenClaw 记忆系统配置工具,设置持久化上下文和记忆存储。

2· 6,396·51 当前·52 累计
by @syajask (Kaw0n)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
high confidence
该技能是 OpenClaw 记忆系统配置工具,与声明目的一致,不请求异常凭证或安装。
评估建议
该技能用于配置 OpenClaw 记忆系统,内部一致。安装前请考虑:1) 记忆文件将存储在本地——确认您接受存储位置;2) 记忆内容可能包含敏感信息——注意保护隐私。...
详细分析 ▾
用途与能力
技能名称/描述与指令匹配:配置 OpenClaw 记忆系统。
指令范围
指令范围狭窄,仅限于记忆配置。不指示读取无关系统文件。
安装机制
仅指令技能,无安装规范。安装风险低。
凭证需求
记忆配置无需凭证。
持久化与权限
always:false 且除记忆配置外无持久系统修改。
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/23

- Initial release of memory-setup for OpenClaw memory recall configuration and validation. - Provides step-by-step instructions for organizing MEMORY.md and daily note files. - Details setup for enabling and customizing memory search in OpenClaw's config. - Includes guidance for testing agent recall and troubleshooting common issues. - Recommends operational best practices for memory usage to ensure reliable context recall.

● 无害

安装命令 点击复制

官方npx clawhub@latest install memory-setup-openclaw
镜像加速npx clawhub@latest install memory-setup-openclaw --registry https://cn.clawhub-mirror.com

技能文档

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

1) Prepare workspace files

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:

{
  "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:

  • Runs memory_search
  • Uses memory_get for precise lines when needed
  • 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:

  • memory_search first
  • memory_get second (only needed lines)
  • Say you checked memory if confidence is still low

This keeps responses grounded and auditable.

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务