openclaw

Integrate persistent memory for OpenClaw agents via Claude-Mem worker service.

Updated Aug 23, 2026
Ready to run
npx skills add https://github.com/xerrien/new --skill openclaw-xerrien
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: openclaw
Source: https://github.com/xerrien/new/tree/main/openclaw
Command: npx skills add https://github.com/xerrien/new --skill openclaw-xerrien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides agents with persistent memory across sessions, ensuring they retain context and learn from past interactions, preventing repetitive work and improving efficiency.

Core Features & Use Cases

  • Persistent Memory: Agents remember past interactions, tool uses, and summaries.
  • Real-time Observation Feed: Stream agent learning and actions to a messaging channel.
  • Use Case: An agent working on a complex coding task can recall previous attempts, successful refactors, and documentation lookups, allowing it to pick up exactly where it left off without needing to re-discover information.

Quick Start

Install the claude-mem plugin on your OpenClaw gateway by running the one-liner command provided in the setup guide.

Frequently Asked Questions about openclaw

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

FAQPage Schema
How do I add persistent memory to an AI agent so it remembers past sessions?▼

Persistent memory for AI agents is enabled by integrating with the Claude-Mem worker service, which records observations and synchronizes context via MEMORY.md to retain information across sessions.

How does agent context synchronization work with MEMORY.md?▼

Context synchronization via MEMORY.md works by recording agent observations and session management data into the file, allowing the agent to load past context and continue tasks efficiently without re-discovering information.

What runtime dependencies do I need for agent memory persistence with Chroma support?▼

To support agent memory persistence with Chroma, you need the Bun runtime and the uv package manager installed in your environment before integrating the Claude-Mem worker service.

Can I stream real-time agent activities and learning to a messaging channel?▼

Real-time streaming of agent activities to messaging channels is supported, providing a live observation feed of agent learning, tool uses, and actions as they occur during a session.

What is the best way to prevent repetitive work when an agent handles complex coding tasks across multiple sessions?▼

The best way to prevent repetitive work across sessions is implementing persistent memory, allowing the agent to recall previous attempts, successful refactors, and documentation lookups to pick up exactly where it left off.

Does openclaw work without the OpenClaw framework gateway?▼

No, openclaw operates within the OpenClaw framework and requires the claude-mem plugin to be installed on the OpenClaw gateway to facilitate session management and context synchronization.