/install local-memory-for-openclaw
Local Memory 本地记忆技能\r
功能说明\r
纯本地运行的AI记忆管理技能,完全免费、数据本地存储,解决AI对话健忘、上下文不足的问题:\r
- 自动从对话中提取关键事实、用户偏好、项目进展、待办事项等记忆点\r
- 每轮对话前自动检索相关记忆注入上下文,让AI永远记得你的信息\r
- 支持手动管理记忆的命令\r
- 自动处理记忆更新、冲突和过期,不需要人工维护\r
- 纯本地运行,不需要任何外部API或付费服务,隐私安全\r
触发规则\r
自动全局触发,所有对话自动启用记忆功能,无需手动调用\r
使用命令\r
| 命令 | 说明 | 示例 |\r
| --- | --- | --- |\r
| /remember \x3C内容> | 手动保存信息到记忆库 | /remember 我喜欢用TypeScript写代码 |\r
| /recall \x3C关键词> | 查询相关记忆 | /recall 部署相关的命令 |\r
| /forget \x3C关键词> | 删除相关记忆 | /forget 旧的服务器密码 |\r
| /memory-list | 查看所有记忆列表 | /memory-list |\r
配置\r
所有配置在config.json中修改:\r
{\r
"auto_extract": true, // 自动提取记忆\r
"auto_inject": true, // 自动注入上下文\r
"max_memory_results": 5, // 每次最多注入的记忆数量\r
"embedding_model": "bge-small-zh", // 本地embedding模型\r
"expire_days": 90 // 记忆默认过期时间(天)\r
}\r
```\r
## 存储路径\r
- 数据库:`db/memory.db`\r
- 向量模型:`lib/models/`\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install local-memory-for-openclaw - After installation, invoke the skill by name or use
/local-memory-for-openclaw - Provide required inputs per the skill's parameter spec and get structured output
What is local_memory?
Manage AI conversation memory locally with automatic extraction, retrieval, and manual commands, ensuring privacy without external APIs or fees. It is an AI Agent Skill for Claude Code / OpenClaw, with 127 downloads so far.
How do I install local_memory?
Run "/install local-memory-for-openclaw" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is local_memory free?
Yes, local_memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does local_memory support?
local_memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created local_memory?
It is built and maintained by hellofsf (@hellofsf); the current version is v1.0.0.