Install
openclaw skills install @crater18098077-svg/xiaoxing-memory记忆模块管理系统,让 AI Agent 拥有持久化记忆能力。当需要保存跨会话信息、检索历史记录、建立个人知识库、或执行记忆相关操作(搜索/读取/保存)时触发本技能。
openclaw skills install @crater18098077-svg/xiaoxing-memory提供跨会话持久化记忆的架构和工作流。
MEMORY.md — 索引文件(总入口)
memory/ — 记忆存储目录
YYYY-MM-DD.md — 每日会话日志
topic-*.md — 主题记忆文件(可扩展)
openclaw-kk/memory/private/ — 用户私有记忆(可选)
---
name: topic-name
description: 一句话描述该记忆内容
type: infrastructure|security|documentation|reference|automation
created: 2026-04-01
---
正文内容...
- [标题](文件名.md) 一句话语义钩子
使用 memory_search 工具搜索 MEMORY.md 和 memory/ 下的所有 .md 文件,返回语义相关的结果(top snippets + path + lines)。
搜索时机:回答任何关于历史任务、偏好、日期、人名等问题前,必须先 memory_search。
搜索后若需要详细内容,用 memory_get 按 path/from/lines 读取对应行,避免将整个文件加载到上下文。