← Back to Skills Marketplace
lovefromio

Lovefromio Openclaw Persistent Memory

by AI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
46
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install lovefromio-openclaw-persistent-memory
Description
Persistent memory system - automatic context capture and semantic search
README (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
Usage Guidance
Recommended precautions before installing: 1) Do not blindly run curl ... | bash. Instead, fetch the install script first, inspect it locally for unexpected network calls or destructive commands, and then run it if it looks safe. 2) Verify the npm package name and contents: run npm view openclaw-persistent-memory and/or install into a disposable environment and inspect the global package folder to confirm it includes the expected extension files (extension/index.ts, openclaw.plugin.json, etc.). The package.json bundled with this skill uses a different name and a different bin; this mismatch could cause missing binaries or install the wrong package. 3) Check which binary is actually provided after installation (openclaw-persistent-memory vs openclaw-mem-skill). If the expected worker binary is missing, do not proceed until the package author clarifies the correct package/binary names. 4) Review the worker source (the npm package repository) before running the worker; confirm it only listens on localhost, does not send data to remote endpoints, and does not attempt to read unrelated files. 5) Backup your ~/.openclaw/openclaw.json and other OpenClaw data before changing configuration. 6) Prefer installing and testing in an isolated environment (VM or container) first. If you need higher assurance, ask the publisher to provide a signed release or an authoritative package name that matches the included package.json. What would change this assessment: if the publisher confirms the correct npm package name and binary mapping and removes the curl|bash recommendation (or you inspect the remote script and it is benign), the inconsistencies would be resolved and the skill would look coherent. Conversely, inability to reconcile the package/bin mismatch or discovery of remote exfiltration code in the worker would increase the severity.
Capability Analysis
Type: OpenClaw Skill Name: lovefromio-openclaw-persistent-memory Version: 1.0.0 The skill provides a legitimate persistent memory system for OpenClaw agents using a local SQLite database and a worker service. The installation script (scripts/install.sh) and CLI tool (scripts/mem-search.sh) perform standard operations such as installing npm packages, copying extension files, and interacting with a local API (127.0.0.1:37778). No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
The skill claims to provide a local persistent memory worker and OpenClaw extension, which matches the files and scripts present. However, the SKILL.md and install scripts refer to an npm package named openclaw-persistent-memory and expect a binary named openclaw-persistent-memory, while the included package.json declares a different package name (@openclaw/persistent-memory-skill) and defines a bin named openclaw-mem-skill -> ./scripts/mem-search.sh. This mismatch means the declared required binary may not be created by the packaged npm artifact — an incoherence between claimed capabilities and the artifacts provided.
Instruction Scope
Runtime instructions operate on local OpenClaw config (~/.openclaw), install a global npm package, copy extension files into the user's home directory, and start a local worker on 127.0.0.1:37778. Those actions are within scope for a persistent-memory plugin. However, the docs/instructions also recommend piping a remote install script from raw.githubusercontent.com into bash (curl ... | bash), which expands the attack surface by executing remote code without local inspection. The scripts reference environment variable OPENCLAW_MEM_URL (used as WORKER_URL) but that env var is not documented in requires.env — it's optional but should be declared.
Install Mechanism
The declared install mechanism is an npm package (moderate risk). The included INSTALL.md further suggests executing a remote install script via curl -fsSL https://raw.githubusercontent.com/.../install.sh | bash — executing piped remote scripts is high risk even when hosted on GitHub raw because it runs code fetched at install time. In addition, the package.json present inside this skill does not match the npm package name used by the install scripts (possible packaging error), which could lead to unexpected sources being installed or missing files after installation.
Credentials
The skill does not request credentials or config paths. It uses local OpenClaw configuration paths (~/.openclaw) and a local HTTP worker on 127.0.0.1:37778 — appropriate for a local memory plugin. One minor issue: the CLI honors OPENCLAW_MEM_URL if set but this env var is not declared in the skill metadata; no secret-bearing environment variables are required.
Persistence & Privilege
The skill is not force-included (always: false) and is user-invocable. It does not request persistent platform-wide privileges in metadata. Installation and operation modify files under the user's home (~/.openclaw/extensions and ~/.openclaw/openclaw.json) which is expected for an OpenClaw plugin.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lovefromio-openclaw-persistent-memory
  3. After installation, invoke the skill by name or use /lovefromio-openclaw-persistent-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of openclaw-persistent-memory skill, providing persistent memory with automatic context capture and semantic search. - Features include auto-capture and auto-recall of information, powered by SQLite + FTS5 for full-text search. - Provides tools for searching, storing, retrieving, and deleting memories. - Includes detailed setup instructions for integration with OpenClaw. - REST API endpoints for memory management and health checks.
Metadata
Slug lovefromio-openclaw-persistent-memory
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Lovefromio Openclaw Persistent Memory?

Persistent memory system - automatic context capture and semantic search. It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install Lovefromio Openclaw Persistent Memory?

Run "/install lovefromio-openclaw-persistent-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Lovefromio Openclaw Persistent Memory free?

Yes, Lovefromio Openclaw Persistent Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Lovefromio Openclaw Persistent Memory support?

Lovefromio Openclaw Persistent Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Lovefromio Openclaw Persistent Memory?

It is built and maintained by AI (@lovefromio); the current version is v1.0.0.

💬 Comments