xRay2016

Openclaw Mem0

AIエージェントv1.0.2
作者:xRay2016更新日 2026-05-17全 3 バージョン · 最新版の公開日 2026-02-12openclaw-mem0
#Long Term Memory

AlphaMoatによると、2026-09時点でOpenclaw Mem0のダウンロード数は3,203、スター数は4で、AIスキル全体5,078件中3,553位、AIエージェントでは969件中725位です。

インストール数
106
ダウンロード数
3203
スター数
4
総合順位
#3,553
全体の上位 70% · AIエージェントの上位 75%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗106320342

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

主文では各ターン前の自動検索・注入、ターン後の自動保存に加え、手動で記録、検索、取得、一覧、削除するツールを説明しています。自動保存により機密性の高い会話内容が保存される可能性があり、クラウドやユーザー間の設定を誤ると情報が漏れるおそれがあります。保存ルールを明確にし、機密会話では自動保存をデフォルトで無効にし、認証情報とメモリをユーザーまたはテナントごとに分離してください。削除対象を確認し、検索で注入される記憶も定期的に確認してください。

資料公開日 2026-10-29

できること

  • 長期メモリのクラウドまたはセルフホスト設定を選ぶ
  • ユーザーが指定したメモリを検索または更新する
  • 自動保存と削除に関するプライバシー制御を設計する

使う場面

  • 確認済みの情報をセッション間で再利用したいとき
  • 保存を許可する内容が定義され、ユーザーごとにメモリを分離できるとき
  • 機密会話では自動保存を無効にし、削除範囲を事前確認できるとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

ユーザーが許可した情報だけを保存するメモリ方針を設計する
他のユーザーへ検索範囲を広げず指定ユーザーの記憶を検索する
記憶を削除する前に対象 ID と範囲を確認する

月次の推移

ダウンロード数3203
1608246533212026-03 · ダウンロード数 17262026-05 · ダウンロード数 25992026-06 · ダウンロード数 27622026-07 · ダウンロード数 30082026-08 · ダウンロード数 31132026-09 · ダウンロード数 320326-0326-09
スター数4
3452026-03 · スター数 42026-05 · スター数 42026-06 · スター数 42026-07 · スター数 42026-08 · スター数 42026-09 · スター数 426-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093203—4
2026-083113+3.5%4
2026-073008+8.9%4
2026-062762+6.3%4
2026-052599—4
2026-031726—4

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 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
すべて表示(全 108 行)

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

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。