LanceDB long-term memory plugin with BM25 + vector hybrid search (RRF or linear reranking).
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install memory-lancedb-hybrid或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install memory-lancedb-hybrid⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/memory-lancedb-hybrid/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: memory-lancedb-hybrid description: LanceDB long-term memory plugin with BM25 + vector hybrid search (RRF or linear reranking). ---
This skill packages a drop-in OpenClaw memory plugin that adds hybrid search to LanceDB memory:
- rrf (Reciprocal Rank Fusion, recommended) - linear (weighted combination)
It is based on (and credits) OpenClaw PR openclaw/openclaw#7636.
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_storememory_recallmemory_forget…but memory_recall/auto-recall/forget now use hybrid search when enabled.
1) Ensure the skill folder exists (ClawHub install puts it under your workspace):
~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin2) Install the plugin dependencies (once):
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:
{
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.
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)memory-lancedb at runtime (remove plugins.load.paths to revert).dbPath.hybrid.enabled is true and that the FTS index was created (check Gateway logs).plugin/index.ts – plugin implementation (hybrid search)plugin/config.ts – config parsing + UI hintsplugin/openclaw.plugin.json – manifest + JSON Schema (used for strict config validation)安装 LanceDB Hybrid Search Memory Plugin 后,可以对 AI 说这些话来触发它
Help me get started with LanceDB Hybrid Search Memory Plugin
Explains what LanceDB Hybrid Search Memory Plugin does, walks through the setup, and runs a quick demo based on your current project
Use LanceDB Hybrid Search Memory Plugin to lanceDB long-term memory plugin with BM25 + vector hybrid search (R...
Invokes LanceDB Hybrid Search Memory Plugin with the right parameters and returns the result directly in the conversation
What can I do with LanceDB Hybrid Search Memory Plugin in my documents & notes workflow?
Lists the top use cases for LanceDB Hybrid Search Memory Plugin, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/memory-lancedb-hybrid/ 目录(个人级,所有项目可用),或 .claude/skills/memory-lancedb-hybrid/(项目级)。重启 AI 客户端后,用 /memory-lancedb-hybrid 主动调用,或让 AI 根据上下文自动发现并使用。
LanceDB Hybrid Search Memory Plugin 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
LanceDB Hybrid Search Memory Plugin 可免费安装使用。请查阅仓库了解许可证信息。
LanceDB long-term memory plugin with BM25 + vector hybrid search (RRF or linear reranking).
Automate my documents & notes tasks using LanceDB Hybrid Search Memory Plugin
Identifies repetitive steps in your workflow and sets up LanceDB Hybrid Search Memory Plugin to handle them automatically
LanceDB Hybrid Search Memory Plugin 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。