L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

openclaw-persistent-memory

openclaw-persistent-memory

Persistent memory system - automatic context capture and semantic search

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: openclaw-persistent-memory version: 0.1.0 description: Persistent memory system - automatic context capture and semantic search author: Jason Brashear / Titanium Computing repository: https://github.com/webdevtodayjason/openclaw_memory metadata: openclaw: requires: bins: ["openclaw-persistent-memory"] install: - id: node kind: node package: openclaw-persistent-memory bins: ["openclaw-persistent-memory"] label: "Install OpenClaw Persistent Memory (npm)"

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

ToolDescription
memory_searchSearch memories with natural language
memory_getGet a specific memory by ID
memory_storeSave important information
memory_deleteDelete a memory by ID

API Endpoints

Worker runs on http://127.0.0.1:37778:

EndpointMethodDescription
/api/healthGETHealth check
/api/statsGETDatabase statistics
/api/searchPOSTFull-text search
/api/observationsGETList recent observations
/api/observations/:idGETGet observation
/api/observations/:idDELETEDelete observation
/api/observations/:idPATCHUpdate 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
Skills enregistrées