Joseph Krug

LanceDB Hybrid Search Memory Plugin

AIエージェントv1.2.1
作者:Joseph Krug更新日 2026-05-11全 4 バージョン · 最新版の公開日 2026-03-09memory-lancedb-hybrid@clawhub_joeykrug/memory-lancedb-hybrid
コンテキスト管理メモリ強化#Long Term Memory

AlphaMoatによると、2026-09時点でLanceDB Hybrid Search Memory Pluginのダウンロード数は3,937、スター数は2で、AIスキル全体5,078件中2,624位、AIエージェントでは969件中514位です。

インストール数
128
ダウンロード数
3937
スター数
2
総合順位
#2,624
全体の上位 52% · AIエージェントの上位 54%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗12838202-
SkillHub ↗12439372—

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

このスキルでできること

OpenClawのLanceDBメモリを拡張し、意味ベクトル検索とBM25全文検索を組み合わせ、結果の再ランキングを設定できます。有効化するとメモリの保存、想起、削除にハイブリッド検索を使います。プロンプトや記憶したテキストは設定済みの埋め込みプロバイダーへ送信される可能性があります。機微な作業ではローカルの埋め込み先を使うか、自動想起と自動保存を無効にしてください。不要になった永続メモリも定期的に確認して削除してください。

資料公開日 2026-10-29

できること

  • 長期メモリで意味検索とキーワード検索を組み合わせる
  • メモリツールで情報を保存、想起、削除する
  • 検索結果の再ランキングを設定する

使う場面

  • OpenClawでLanceDBメモリを利用し、ハイブリッド検索が必要なとき
  • 埋め込みプロバイダーのデータ取扱いを確認できたとき
  • 保存内容と自動記憶の動作を見直せるとき

プロンプト例

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

このプラグインを有効にすると、どのプロンプトや記憶が埋め込みプロバイダーへ送信されるか説明してください。データ取扱いを私が承認するまで、自動想起や自動保存を有効にしないでください。

月次の推移

ダウンロード数3937
2347320140552026-03 · ダウンロード数 24652026-05 · ダウンロード数 31272026-06 · ダウンロード数 32712026-07 · ダウンロード数 36062026-08 · ダウンロード数 37192026-09 · ダウンロード数 393726-0326-09
スター数2
1232026-03 · スター数 22026-05 · スター数 22026-06 · スター数 22026-07 · スター数 22026-08 · スター数 22026-09 · スター数 226-0326-09

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

月ダウンロード数前月比スター数
2026-093937—2
2026-083719+3.1%2
2026-073606+10.2%2
2026-063271+4.6%2
2026-053127—2
2026-032465—2

SKILL.md 原文

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

3.6 KB・ClawHub v1.2.1
---
name: memory-lancedb-hybrid
description: LanceDB long-term memory plugin with BM25 + vector hybrid search (RRF or linear reranking).
---

# LanceDB Hybrid Search (Memory Plugin)

This skill packages a **drop-in OpenClaw memory plugin** that adds **hybrid search** to LanceDB memory:

- **Vector search** (semantic)
すべて表示(全 121 行)
- **BM25 full-text search** (exact terms)
- Configurable reranking:
  - `rrf` (Reciprocal Rank Fusion, recommended)
  - `linear` (weighted combination)

It is based on (and credits) OpenClaw PR **openclaw/openclaw#7636**.

## What you get

A local plugin (extension) located at:

- `plugin/` → **overrides the built-in plugin id** `memory-lancedb` (adds hybrid search)

Once enabled, it provides the same tools as the bundled LanceDB memory plugin:

- `memory_store`
- `memory_recall`
- `memory_forget`

…but `memory_recall`/auto-recall/forget now use hybrid search when enabled.

## Install / Enable

1) Ensure the skill folder exists (ClawHub install puts it under your workspace):

- `~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin`

2) Install the plugin dependencies (once):

```bash
cd ~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin
npm install --omit=dev
```

3) Add the plugin to OpenClaw’s plugin load paths.

This plugin keeps the id `memory-lancedb`, so it will **override** the bundled `memory-lancedb` extension when discovered via `plugins.load.paths` (higher precedence than bundled).

Edit `~/.openclaw/openclaw.json`:

```json5
{
  plugins: {
    load: {
      // Point at the plugin directory inside this skill
      paths: ["~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin"]
    },

    // Ensure the memory slot points at LanceDB memory
    slots: {
      memory: "memory-lancedb"
    },

    // Configure LanceDB memory (this override adds the `hybrid` config block)
    entries: {
      "memory-lancedb": {
        enabled: true,
        config: {
          embedding: {
            apiKey: "${OPENAI_API_KEY}",
            model: "text-embedding-3-small"
          },

          // Optional
          dbPath: "~/.openclaw/memory/lancedb",

          // Optional
          autoCapture: true,
          autoRecall: true,

          // Hybrid search options
          hybrid: {
            enabled: true,
            reranker: "rrf"

            // If using reranker: "linear", you can also set:
            // vectorWeight: 0.7,
            // textWeight: 0.3,
          }
        }
      }
    }
  }
}
```

4) Restart the Gateway.

Hybrid search needs an FTS index on the `text` column; the plugin will attempt to create it automatically. If FTS setup fails for any reason, the plugin logs a debug message and falls back to vector-only search.

## Config reference

All config lives under `plugins.entries.memory-lancedb.config`.

- `hybrid.enabled` (boolean, default `true`)
- `hybrid.reranker` (`rrf` | `linear`, default `rrf`)
- `hybrid.vectorWeight` (number 0–1, default `0.7`, only used for `linear`)
- `hybrid.textWeight` (number 0–1, default `0.3`, only used for `linear`)

## Notes / troubleshooting

- This plugin does not modify OpenClaw’s install on disk; it **overrides** the bundled `memory-lancedb` at runtime (remove `plugins.load.paths` to revert).
- If you already have LanceDB memory data on disk, you can keep using the same `dbPath`.
- If you see no hybrid effect, make sure `hybrid.enabled` is true and that the FTS index was created (check Gateway logs).

## Files

- `plugin/index.ts` – plugin implementation (hybrid search)
- `plugin/config.ts` – config parsing + UI hints
- `plugin/openclaw.plugin.json` – manifest + JSON Schema (used for strict config validation)

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

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