# Send Openclaw Mem0 to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-mem0",
    "name": "Openclaw Mem0",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/xRay2016/openclaw-mem0",
    "canonicalUrl": "https://clawhub.ai/xRay2016/openclaw-mem0",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-mem0",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-mem0",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "README_zh.md",
      "SKILL.md",
      "clawdbot.plugin.json",
      "index.ts",
      "lib/mem0.ts"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-mem0",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T23:36:02.352Z",
      "expiresAt": "2026-05-09T23:36:02.352Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-mem0",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-mem0",
        "contentDisposition": "attachment; filename=\"openclaw-mem0-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-mem0"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-mem0"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-mem0",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-mem0",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-mem0/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-mem0/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-mem0/agent.md"
  }
}
```
## Documentation

### 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

### Platform Mode (Recommended)

Get a free API key at mem0.ai
Add to your OpenClaw config:

{
  "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):

{
  "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:

ToolDescriptionParametersmemory_storeExplicitly save a facttext (string), longTerm (bool)memory_searchSearch memoriesquery (string), scope ("session"|"long-term")memory_getGet memory by IDmemoryId (string)memory_listList all memoriesuserId (string)memory_forgetDelete a memorymemoryId (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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: xRay2016
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T23:36:02.352Z
- Expires at: 2026-05-09T23:36:02.352Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-mem0)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-mem0/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-mem0/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-mem0/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-mem0)