# memory-lancedb-pro-openclaw

Guides setup of OpenClaw’s LanceDB memory plugin. Useful when an agent needs to retain project context between sessions or retrieve stored details.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1300 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/memory-lancedb-pro-openclaw/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/memory-lancedb-pro-openclaw

## What it does

This skill covers configuring OpenClaw’s long-term memory plugin, which stores preferences and project context in LanceDB and can bring relevant entries back before an agent responds. The setup guide discusses hybrid vector and BM25 retrieval, cross-encoder reranking, and separate memory scopes for agents, users, and projects.

It includes `openclaw.json` examples, embedding provider choices, and commands to validate the configuration and restart the gateway. The OpenAI-compatible setup uses an API key; Ollama is shown as a local option. One setup detail matters: npm installs require the plugin’s absolute path in `plugins.load.paths`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill memory-lancedb-pro-openclaw -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/memory-lancedb-pro-openclaw/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/memory-lancedb-pro-openclaw/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill memory-lancedb-pro-openclaw -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/memory-lancedb-pro-openclaw/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill memory-lancedb-pro-openclaw -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/memory-lancedb-pro-openclaw/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills memory-lancedb-pro-openclaw
```

2. **Manually: put the files in place**
- File: `.github/skills/memory-lancedb-pro-openclaw/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill memory-lancedb-pro-openclaw -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/memory-lancedb-pro-openclaw
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/memory-lancedb-pro-openclaw/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill memory-lancedb-pro-openclaw -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/memory-lancedb-pro-openclaw/SKILL.md

## When to use it
- configure persistent memory for an OpenClaw agent
- enable vector and BM25 hybrid retrieval
- isolate memory by agent, user, or project
- validate OpenClaw settings and restart the gateway

## Example prompts
- Show me how to enable hybrid search and reranking in `memory-lancedb-pro`.
- Check my `openclaw.json` memory setup and explain how to restart the OpenClaw gateway.

## Similar
- [memory-lancedb-pro](https://affpapa.org/en/nevibecode/skills/memory-lancedb-pro.md) — skill · 643 installs
- [Memory Vault](https://affpapa.org/en/nevibecode/mcp/memory-vault.md) — MCP server · ★ 65
- [Kagura Memory Cloud](https://affpapa.org/en/nevibecode/mcp/kagura-memory-cloud.md) — MCP server · ★ 13
- [memory-hygiene](https://affpapa.org/en/nevibecode/skills/aaaaqwq-memory-hygiene.md) — skill · 374 installs
- [openclaw-history-ingest](https://affpapa.org/en/nevibecode/skills/openclaw-history-ingest.md) — skill · 2200 installs
- [elite-longterm-memory](https://affpapa.org/en/nevibecode/skills/elite-longterm-memory.md) — skill · 2400 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 199 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
