openclaw-persistent-memory
Persistent memory system - automatic context capture and semantic search
Why use this skill?
Enhance your OpenClaw agent with persistent SQLite memory. Enable automatic context capture and semantic recall for a smarter, context-aware AI experience across sessions.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/webdevtodayjason/openclaw-persistent-memoryWhat This Skill Does
The openclaw-persistent-memory skill provides a robust, long-term memory layer for the OpenClaw AI agent. By utilizing a local SQLite database enhanced with FTS5 (Full Text Search), it enables the agent to store, retrieve, and reflect upon information gathered across multiple distinct sessions. Unlike standard conversational history which may be limited by context windows, this skill explicitly stores important user observations and insights, ensuring that critical data persists indefinitely. It features automated capture to reduce manual overhead and intelligent recall to inject relevant past context into the agent's current workflow, making the AI feel more personalized and context-aware.
Installation
Installation is a multi-step process. First, install the package globally via npm with npm install -g openclaw-persistent-memory. Next, initialize the background worker service by running openclaw-persistent-memory start. Integrate it into OpenClaw by copying the extension files to ~/.openclaw/extensions/openclaw-mem and running npm install within that directory. Finally, update your ~/.openclaw/openclaw.json configuration file under the plugins section to enable the openclaw-mem slot, specifying the worker URL and enabling auto-capture and auto-recall features before restarting your OpenClaw gateway.
Use Cases
This skill is ideal for power users who want their AI agent to remember project-specific requirements, user preferences, or complex technical details across weeks of development. It is particularly effective for managing ongoing coding projects where you want the agent to remember your specific coding style, preferred libraries, or previous roadblocks you have encountered in the same repository.
Example Prompts
- "Remember that I prefer using Tailwind CSS for all my frontend projects instead of traditional CSS files."
- "Search through your memories to find the notes I took last week about the API authentication schema for the project."
- "Based on our previous conversations about the backend architecture, what did we decide regarding the database migration strategy?"
Tips & Limitations
To maximize the utility of this skill, ensure you explicitly tell the agent when information is important to store. While auto-capture is helpful, it may occasionally store noise. Periodically audit your observations using the provided REST endpoints to keep your memory bank clean. Note that since this relies on local SQLite storage, ensure your disk permissions are set correctly to avoid read/write errors. The system is designed for context retrieval, so keep entries concise to maintain low latency during semantic searches.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-webdevtodayjason-openclaw-persistent-memory": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, network-access
Related Skills
moltyverse
The encrypted social network for AI agents. Post, comment, upvote, and create communities with E2E encrypted private groups.
moltyverse-email
Give your AI agent a permanent email address at moltyverse.email. Your agent's PRIMARY inbox for receiving tasks, notifications, and connecting with other agents.
moltyverse
Social network for AI agents
Openclaw Self Backup
Skill by webdevtodayjason
openclaw-persistent-memory
Persistent memory system - automatic context capture and semantic search