xRay2016

Openclaw Mem0

AI Agentv1.0.2
By xRay2016Updated 2026-05-173 versions · latest released 2026-02-12openclaw-mem0
#Long Term Memory

According to AlphaMoat, as of 2026-09, Openclaw Mem0 has 3,203 downloads and 4 stars — ranked #3,553 of 5,078 AI skills overall, and #725 of 969 in AI Agent.

Installs
106
Downloads
3.2K
Stars
4
Overall Rank
#3,553
Top 70% overall · Top 75% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1063.2K42

Platforms count differently and update at different times.

What this skill does

The primary describes automatic recall before each turn and capture afterward, plus manual tools to store, search, retrieve, list, and delete memories. Automatic capture may store sensitive chat content; misconfigured cloud or cross-user memory access may expose it. Define clear capture rules, disable auto-capture by default for sensitive conversations, and scope credentials and memory per user or tenant. Confirm deletion targets and review recalled memories regularly.

Profile published 2026-10-29

What you can do with it

  • Choose a cloud or self-hosted configuration for long-term memory
  • Search or update a memory explicitly specified by the user
  • Define privacy controls for automatic capture and deletion

When to use it

  • When confirmed information needs to be recalled across sessions
  • When allowed memory content is defined and memory can be scoped per user
  • When auto-capture can be disabled for sensitive conversations and deletion scope confirmed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Design a memory policy that stores only information the user has approved
Search one specified user’s memory without expanding to other users
Verify the target ID and scope before deleting a memory

Monthly Trend

Downloads3.2K
1.6K2.5K3.3K2026-03 · Downloads 1.7K2026-05 · Downloads 2.6K2026-06 · Downloads 2.8K2026-07 · Downloads 3.0K2026-08 · Downloads 3.1K2026-09 · Downloads 3.2K26-0326-09
Stars4
3452026-03 · Stars 42026-05 · Stars 42026-06 · Stars 42026-07 · Stars 42026-08 · Stars 42026-09 · Stars 426-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.2K—4
2026-083.1K+3.5%4
2026-073.0K+8.9%4
2026-062.8K+6.3%4
2026-052.6K—4
2026-031.7K—4

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.9 KB · ClawHub v1.0.2
# OpenClaw Mem0 Plugin

Mem0 integration for OpenClaw. Adds intelligent long-term memory to your agents, allowing them to remember user preferences, facts, and past conversations automatically.

## When to use

- You want your agent to remember user details (name, job, preferences) across sessions
- You need "infinite context" by retrieving relevant past interactions
- You want to build a personalized assistant that learns over time
- You need both cloud (managed) and self-hosted (local) memory options
Show all (108 lines)

## Setup

### Platform Mode (Recommended)

1. Get a free API key at [mem0.ai](https://mem0.ai)
2. Add to your OpenClaw config:

```json
{
  "plugins": {
    "entries": {
      "openclaw-mem0": {
        "enabled": true,
        "config": {
          "mode": "platform",
          "apiKey": "your-mem0-api-key",
          "userId": "default-user"
        }
      }
    }
  }
}
```

### Open-Source Mode (Self-Hosted)

Connect to your own Mem0 instance (requires `mem0ai` package installed):

```json
{
  "plugins": {
    "entries": {
      "openclaw-mem0": {
        "enabled": true,
        "config": {
          "mode": "open-source",
          "oss": {
            "vectorStore": {
              "provider": "chroma",
              "config": {
                "collectionName": "memories",
                "path": "./chroma_db"
              }
            }
          }
        }
      }
    }
  }
}
```

## Usage

This plugin works automatically (Zero-Shot) but also provides manual tools.

### Automatic Features

- **Auto-Recall**: Before every agent turn, it searches memory for relevant context and injects it into the system prompt.
- **Auto-Capture**: After every agent turn, it analyzes the conversation and stores key facts into memory.

### Manual Tools

The agent can proactively call these tools:

| Tool | Description | Parameters |
|------|-------------|------------|
| `memory_store` | Explicitly save a fact | `text` (string), `longTerm` (bool) |
| `memory_search` | Search memories | `query` (string), `scope` ("session"\|"long-term") |
| `memory_get` | Get memory by ID | `memoryId` (string) |
| `memory_list` | List all memories | `userId` (string) |
| `memory_forget` | Delete a memory | `memoryId` (string) or `query` (string) |

### Example

**User**: "I'm moving to Tokyo next month."
*Agent automatically captures this fact.*

**(Two weeks later)**
**User**: "What's a good restaurant for my farewell dinner?"
*Agent automatically recalls "User is moving to Tokyo" and suggests a restaurant in their current city.*

## Plugin structure

```
openclaw-mem0/
  package.json            # NPM package config (@xray2016/openclaw-mem0)
  index.ts                # Plugin implementation & tools
  lib/                    # Internal Mem0 client implementation
  SKILL.md                # This file
  README.md               # Detailed documentation
```

## Author

Maintained by @xRay2016. Modified from the original Mem0 OpenClaw integration.

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.