A robust SQLite-backed storage system for AI agents that provides long-term memory, metadata management, and semantic retrieval.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-memory-persistence
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install agent-memory-persistence using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent Memory Persistence is a sophisticated tool designed to give AI agents a durable, long-term memory. By utilizing SQLite for storage and TypeScript for vector processing, it allows developers to build agents that remember user interactions and relevant data across multiple sessions. This addition to the Openclaw Skills ecosystem ensures that agents maintain context and continuity without the overhead of complex external vector databases.
The skill provides a structured way to store text, metadata, and vector embeddings, making it essential for building sophisticated RAG-based workflows. Since it handles cosine-similarity search natively in TypeScript, it offers a high degree of portability for various deployment environments where simplicity and performance are key.
To integrate this into your project, ensure you have SQLite installed. Then, initialize the memory manager as follows:
npm install agent-memory-persistence
Configure the storage path in your application:
import { MemoryManager } from './src/MemoryManager';
const memory = new MemoryManager('path/to/memory.sqlite');
The skill organizes memory data into a structured SQLite format, enabling efficient lookups and metadata filtering as part of the Openclaw Skills framework:
| Field | Type | Description |
|---|---|---|
| content | String | The raw text of the memory entry. |
| metadata | JSON | Structured data for filtering (user, session, etc.). |
| embedding | JSON Array | Vector representation for semantic search. |
| timestamp | Date | When the memory was created. |
| expiry | Date | Optional TTL for the memory item. |
Loading
A high-performance communication layer providing direct messaging, pub/sub events, and persistent storage for autonomous agent interactions.

A comprehensive toolkit for automating image uploads, messaging, and visual analysis within the Feishu (Lark) communication platform.

A high-performance FAQ management tool for Feishu bots that builds searchable knowledge bases from Markdown files using fuzzy matching.

A powerful terminal automation skill that leverages tmux to drive interactive TUI applications and manage persistent background processes.

A high-performance TypeScript task queue for OpenClaw that orchestrates multi-agent workflows with priority scheduling and dependency management.

A TypeScript-powered SQLite utility for real-time tracking of AI model token usage and automated budget enforcement.








































