AGENT SKILL

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

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

  1. Install the npm package:

    npm install -g openclaw-persistent-memory
    
  2. Start the worker service:

    openclaw-persistent-memory start
    
  3. 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
    
  4. 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
            }
          }
        }
      }
    }
    
  5. 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.memory is set to "openclaw-mem"
  • Restart gateway after config changes

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/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.

★ 1
kbarbel640-del
kbarbel640-del/skills

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).

★ 1
kbarbel640-del
kbarbel640-del/skills

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.

★ 1
kbarbel640-del
kbarbel640-del/skills

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.

★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

★ 1