{
  "schemaVersion": "1.0",
  "item": {
    "slug": "memory-lancedb-hybrid",
    "name": "LanceDB Hybrid Search",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/joeykrug/memory-lancedb-hybrid",
    "canonicalUrl": "https://clawhub.ai/joeykrug/memory-lancedb-hybrid",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/memory-lancedb-hybrid",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-lancedb-hybrid",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "plugin/config.ts",
      "plugin/index.ts",
      "plugin/openclaw.plugin.json",
      "plugin/package-lock.json",
      "plugin/package.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/memory-lancedb-hybrid"
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/memory-lancedb-hybrid",
    "agentPageUrl": "https://openagent3.xyz/skills/memory-lancedb-hybrid/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memory-lancedb-hybrid/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memory-lancedb-hybrid/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "LanceDB Hybrid Search (Memory Plugin)",
        "body": "This skill packages a drop-in OpenClaw memory plugin that adds hybrid search to LanceDB memory:\n\nVector search (semantic)\nBM25 full-text search (exact terms)\nConfigurable reranking:\n\nrrf (Reciprocal Rank Fusion, recommended)\nlinear (weighted combination)\n\nIt is based on (and credits) OpenClaw PR openclaw/openclaw#7636."
      },
      {
        "title": "What you get",
        "body": "A local plugin (extension) located at:\n\nplugin/ → overrides the built-in plugin id memory-lancedb (adds hybrid search)\n\nOnce enabled, it provides the same tools as the bundled LanceDB memory plugin:\n\nmemory_store\nmemory_recall\nmemory_forget\n\n…but memory_recall/auto-recall/forget now use hybrid search when enabled."
      },
      {
        "title": "Install / Enable",
        "body": "Ensure the skill folder exists (ClawHub install puts it under your workspace):\n\n~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin\n\nInstall the plugin dependencies (once):\n\ncd ~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin\nnpm install --omit=dev\n\nAdd the plugin to OpenClaw’s plugin load paths.\n\nThis 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).\n\nEdit ~/.openclaw/openclaw.json:\n\n{\n  plugins: {\n    load: {\n      // Point at the plugin directory inside this skill\n      paths: [\"~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin\"]\n    },\n\n    // Ensure the memory slot points at LanceDB memory\n    slots: {\n      memory: \"memory-lancedb\"\n    },\n\n    // Configure LanceDB memory (this override adds the `hybrid` config block)\n    entries: {\n      \"memory-lancedb\": {\n        enabled: true,\n        config: {\n          embedding: {\n            apiKey: \"${OPENAI_API_KEY}\",\n            model: \"text-embedding-3-small\"\n          },\n\n          // Optional\n          dbPath: \"~/.openclaw/memory/lancedb\",\n\n          // Optional\n          autoCapture: true,\n          autoRecall: true,\n\n          // Hybrid search options\n          hybrid: {\n            enabled: true,\n            reranker: \"rrf\"\n\n            // If using reranker: \"linear\", you can also set:\n            // vectorWeight: 0.7,\n            // textWeight: 0.3,\n          }\n        }\n      }\n    }\n  }\n}\n\nRestart the Gateway.\n\nHybrid 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."
      },
      {
        "title": "Config reference",
        "body": "All config lives under plugins.entries.memory-lancedb.config.\n\nhybrid.enabled (boolean, default true)\nhybrid.reranker (rrf | linear, default rrf)\nhybrid.vectorWeight (number 0–1, default 0.7, only used for linear)\nhybrid.textWeight (number 0–1, default 0.3, only used for linear)"
      },
      {
        "title": "Notes / troubleshooting",
        "body": "This plugin does not modify OpenClaw’s install on disk; it overrides the bundled memory-lancedb at runtime (remove plugins.load.paths to revert).\nIf you already have LanceDB memory data on disk, you can keep using the same dbPath.\nIf you see no hybrid effect, make sure hybrid.enabled is true and that the FTS index was created (check Gateway logs)."
      },
      {
        "title": "Files",
        "body": "plugin/index.ts – plugin implementation (hybrid search)\nplugin/config.ts – config parsing + UI hints\nplugin/openclaw.plugin.json – manifest + JSON Schema (used for strict config validation)"
      }
    ],
    "body": "LanceDB Hybrid Search (Memory Plugin)\n\nThis skill packages a drop-in OpenClaw memory plugin that adds hybrid search to LanceDB memory:\n\nVector search (semantic)\nBM25 full-text search (exact terms)\nConfigurable reranking:\nrrf (Reciprocal Rank Fusion, recommended)\nlinear (weighted combination)\n\nIt is based on (and credits) OpenClaw PR openclaw/openclaw#7636.\n\nWhat you get\n\nA local plugin (extension) located at:\n\nplugin/ → overrides the built-in plugin id memory-lancedb (adds hybrid search)\n\nOnce enabled, it provides the same tools as the bundled LanceDB memory plugin:\n\nmemory_store\nmemory_recall\nmemory_forget\n\n…but memory_recall/auto-recall/forget now use hybrid search when enabled.\n\nInstall / Enable\nEnsure the skill folder exists (ClawHub install puts it under your workspace):\n~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin\nInstall the plugin dependencies (once):\ncd ~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin\nnpm install --omit=dev\n\nAdd the plugin to OpenClaw’s plugin load paths.\n\nThis 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).\n\nEdit ~/.openclaw/openclaw.json:\n\n{\n  plugins: {\n    load: {\n      // Point at the plugin directory inside this skill\n      paths: [\"~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin\"]\n    },\n\n    // Ensure the memory slot points at LanceDB memory\n    slots: {\n      memory: \"memory-lancedb\"\n    },\n\n    // Configure LanceDB memory (this override adds the `hybrid` config block)\n    entries: {\n      \"memory-lancedb\": {\n        enabled: true,\n        config: {\n          embedding: {\n            apiKey: \"${OPENAI_API_KEY}\",\n            model: \"text-embedding-3-small\"\n          },\n\n          // Optional\n          dbPath: \"~/.openclaw/memory/lancedb\",\n\n          // Optional\n          autoCapture: true,\n          autoRecall: true,\n\n          // Hybrid search options\n          hybrid: {\n            enabled: true,\n            reranker: \"rrf\"\n\n            // If using reranker: \"linear\", you can also set:\n            // vectorWeight: 0.7,\n            // textWeight: 0.3,\n          }\n        }\n      }\n    }\n  }\n}\n\nRestart the Gateway.\n\nHybrid 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.\n\nConfig reference\n\nAll config lives under plugins.entries.memory-lancedb.config.\n\nhybrid.enabled (boolean, default true)\nhybrid.reranker (rrf | linear, default rrf)\nhybrid.vectorWeight (number 0–1, default 0.7, only used for linear)\nhybrid.textWeight (number 0–1, default 0.3, only used for linear)\nNotes / troubleshooting\nThis plugin does not modify OpenClaw’s install on disk; it overrides the bundled memory-lancedb at runtime (remove plugins.load.paths to revert).\nIf you already have LanceDB memory data on disk, you can keep using the same dbPath.\nIf you see no hybrid effect, make sure hybrid.enabled is true and that the FTS index was created (check Gateway logs).\nFiles\nplugin/index.ts – plugin implementation (hybrid search)\nplugin/config.ts – config parsing + UI hints\nplugin/openclaw.plugin.json – manifest + JSON Schema (used for strict config validation)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/joeykrug/memory-lancedb-hybrid",
    "publisherUrl": "https://clawhub.ai/joeykrug/memory-lancedb-hybrid",
    "owner": "joeykrug",
    "version": "1.2.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/memory-lancedb-hybrid",
    "downloadUrl": "https://openagent3.xyz/downloads/memory-lancedb-hybrid",
    "agentUrl": "https://openagent3.xyz/skills/memory-lancedb-hybrid/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memory-lancedb-hybrid/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memory-lancedb-hybrid/agent.md"
  }
}