openclaw-persistent-memory
Persistent memory system - automatic context capture and semantic search
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- openclaw-persistent-memory
- author
- Jason Brashear / Titanium Computing
- version
- 0.1.0
- metadata
- { "openclaw": { "install": [ { "id": "node", "bins": [ "openclaw-persistent-memory" ], "kind": "node", "label": "Install OpenClaw Persistent Memory (npm)", "package": "openclaw-persistent-memory" } ], "requires": { "bins": [ "openclaw-persistent-memory" ] } } }
- repository
- https://github.com/webdevtodayjason/openclaw_memory
- description
- Persistent memory system - automatic context capture and semantic search
02 资源文件 6
- 参考文档_meta.json470 B
- 参考文档INSTALL.md3.2 KB
- 参考文档package.json953 B
- 参考文档README.md896 B
- 脚本scripts/install.sh1.9 KB
- 脚本scripts/mem-search.sh3.6 KB
03 SKILL.md 正文
OpenClaw Persistent Memory
Persistent memory system that automatically captures context across sessions using SQLite + FTS5.
Features
- ? Auto-capture - Important observations saved automatically after each response
- ? Auto-recall - Relevant memories injected before each prompt
- ? SQLite + FTS5 - Fast full-text search across all memories
- ?️ Tools -
memory_search,memory_get,memory_store,memory_delete - ? Progressive disclosure - Token-efficient retrieval
Setup
-
Install the npm package:
npm install -g openclaw-persistent-memory -
Start the worker service:
openclaw-persistent-memory start -
Install the OpenClaw extension:
# Copy extension to OpenClaw extensions directory cp -r node_modules/openclaw-persistent-memory/extension ~/.openclaw/extensions/openclaw-mem cd ~/.openclaw/extensions/openclaw-mem && npm install -
Configure OpenClaw (in
~/.openclaw/openclaw.json):{ "plugins": { "slots": { "memory": "openclaw-mem" }, "allow": ["openclaw-mem"], "entries": { "openclaw-mem": { "enabled": true, "config": { "workerUrl": "http://127.0.0.1:37778", "autoCapture": true, "autoRecall": true } } } } } -
Restart OpenClaw gateway
Tools Provided
| Tool | Description |
|---|---|
memory_search |
Search memories with natural language |
memory_get |
Get a specific memory by ID |
memory_store |
Save important information |
memory_delete |
Delete a memory by ID |
API Endpoints
Worker runs on http://127.0.0.1:37778:
| Endpoint | Method | Description |
|---|---|---|
/api/health |
GET | Health check |
/api/stats |
GET | Database statistics |
/api/search |
POST | Full-text search |
/api/observations |
GET | List recent observations |
/api/observations/:id |
GET | Get observation |
/api/observations/:id |
DELETE | Delete observation |
/api/observations/:id |
PATCH | Update observation |
Troubleshooting
Worker not running
curl http://127.0.0.1:37778/api/health
# If fails, restart:
openclaw-persistent-memory start
Auto-recall not working
- Check OpenClaw logs:
tail ~/.openclaw/logs/*.log | grep openclaw-mem - Verify
plugins.slots.memoryis set to"openclaw-mem" - Restart gateway after config changes
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.