# memory-setup

Configures Moltbot/Clawdbot memory search across files and past sessions. Use it when an agent loses context between conversations.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1700 installs · ★ 670
- Author: sundial-org
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/memory-setup/SKILL.md
- Updated: 2026-03-07
- HTML: https://affpapa.org/en/nevibecode/skills/memory-setup

## What it does

This skill guides persistent memory-search setup for Moltbot/Clawdbot. It covers the `memorySearch` section in `~/.clawdbot/clawdbot.json` or `moltbot.json`, including provider, indexed sources, relevance threshold and result limit. It also lays out a workspace structure with `MEMORY.md`, daily logs, and folders for project or group context.

The suggested `AGENTS.md` instructions tell an agent to call `memory_search` before answering questions about earlier work, then use `memory_get` for specific lines. Daily files at `memory/logs/YYYY-MM-DD.md` can record events, decisions and follow-ups.

The `voyage` provider needs `VOYAGE_API_KEY`, while `openai` needs `OPENAI_API_KEY`; `local` runs without an API key. Check that choice first. For a failed search, the skill points to `MEMORY.md` and a gateway restart with `clawdbot gateway restart`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill memory-setup -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill memory-setup -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill memory-setup -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sundial-org/awesome-openclaw-skills memory-setup
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill memory-setup -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sundial-org/awesome-openclaw-skills --path skills/memory-setup
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill memory-setup -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/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/memory-setup/SKILL.md

## When to use it
- enable persistent memory search for an agent
- create a `MEMORY.md` memory structure
- index session history alongside memory files
- set recall instructions in `AGENTS.md`
- resolve embedding provider key errors

## Example prompts
- Set up Moltbot/Clawdbot persistent memory with `memorySearch` in the config.
- Create `MEMORY.md` and a daily log at `memory/logs/YYYY-MM-DD.md`.
- Add `memory_search` and `memory_get` recall steps to `AGENTS.md`.

## Similar
- [memory-hygiene](https://affpapa.org/en/nevibecode/skills/aaaaqwq-memory-hygiene.md) — skill · 374 installs
- [dingtalk-connection](https://affpapa.org/en/nevibecode/skills/dingtalk-connection.md) — skill · 521 installs
- [feishu-doc](https://affpapa.org/en/nevibecode/skills/feishu-doc.md) — skill · 1900 installs
- [deep-agents-memory](https://affpapa.org/en/nevibecode/skills/deep-agents-memory.md) — skill · 19000 installs
- [agent-memory-systems](https://affpapa.org/en/nevibecode/skills/sickn33-agent-memory-systems.md) — skill · 2000 installs
- [nemo-mbridge-perf-memory-tuning](https://affpapa.org/en/nevibecode/skills/nemo-mbridge-perf-memory-tuning.md) — skill · 1900 installs

From the same set: [sundial-org/awesome-openclaw-skills](https://affpapa.org/en/nevibecode/by/sundial-org/awesome-openclaw-skills.md) — 12 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
