openclaw-mem

Implement a local-first RAG memory system with local embeddings and progressive disclosure search.

1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/kjaylee/misskim-skills --skill openclaw-mem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openclaw-mem
Source: https://github.com/kjaylee/misskim-skills/tree/main/openclaw-mem
Command: npx skills add https://github.com/kjaylee/misskim-skills --skill openclaw-mem

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openclaw-mem, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a local-first, privacy-focused Retrieval Augmented Generation (RAG) memory system for AI agents, eliminating the need for API keys and ensuring all data processing happens offline.

Core Features & Use Cases

  • Local-first RAG: Stores and retrieves information using local embeddings, ensuring data privacy.
  • Progressive Disclosure Search: Optimizes token usage by returning summaries first, then full content on demand.
  • Auto-Capture & Brain Directories: Automatically captures observations from sessions and organizes project-specific context into persistent "Brain" files.
  • Security: Includes injection defense mechanisms for Brain files.

Quick Start

Initialize the workspace and then search your memory for "deployment process".

Frequently Asked Questions about openclaw-mem

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add local RAG memory to my AI agent without using API keys?

A local-first RAG memory system enables offline data storage and retrieval for AI agents using local embeddings, eliminating the need for external API keys. It automatically captures session observations and organizes them into persistent project-specific directories.

How does progressive disclosure search optimize token usage for local embeddings?

Progressive disclosure search optimizes token usage by returning memory summaries first, then loading full content only when explicitly requested by the AI agent. This minimizes token consumption during local embeddings retrieval while preserving detailed context availability.

How do I manage per-project context for an AI agent locally?

You manage per-project context locally by utilizing Brain directories that automatically capture session observations and store project-specific information persistently. This local-first approach ensures context remains isolated and available offline for your AI agent.

Does local-first RAG memory include injection defense for stored context?

Yes, local-first RAG memory includes built-in injection defense mechanisms specifically designed to protect Brain files. This security measure safeguards the AI agent against malicious prompt injections hidden within the retrieved local embeddings and stored session observations.

What is the best way to store AI agent memory offline for privacy?

The best way to store AI agent memory offline for privacy is using a local-first RAG system that processes local embeddings entirely offline. This approach ensures data privacy by auto-capturing session observations into Brain directories without requiring external API keys.