memory-setup
Enable and configure Moltbot/Clawdbot memory search for persistent context. Use when setting up memory, fixing "goldfish brain," or helping users configure memorySearch in their config. Covers MEMORY.md, daily logs, and vector search setup.
By sundial-org · 1,654 installs
npx skills add sundial-org/awesome-openclaw-skills --skill memory-setup
Source repository · Upstream listing
Memory Setup Skill
Transform your agent from goldfish to elephant. This skill helps configure persistent memory for Moltbot/Clawdbot.
Quick Setup
1. Enable Memory Search in Config
Add to ~/.clawdbot/clawdbot.json (or moltbot.json ):
2. Create Memory Structure
In your workspace, create:
3. Initialize MEMORY.md
Create MEMORY.md in workspace root:
Config Options Explained
Setting Purpose Recommended
enabled Turn on memory search true
provider Embedding provider "voyage"
sources What to index ["memory", "sessions"]
indexMode When to index "hot" (real time)
minScore Relevance threshold 0.3 (lower = more results)
maxResults Max snippets returned 20
Provider Options
voyage — Voyage AI embeddings (recommended)
openai — OpenAI embeddings
local — Local embeddings (no API needed)
Source Options
memory — MEMORY.md + memory/ .md files
sessions — Past conversation transcripts
both — Full context (recommended)
Daily Log Format
Create memory/logs/YYYY MM DD.md daily:
Agent Instructions (AGENTS.md)
Add to your AGENTS.md for agent behavior:
Troubleshooting
Memory search not working?
1. Check memorySearch.enabled: true in config
2. Verify MEMORY.md exists in workspace root
3. Restart gateway: clawdbot gateway restart
Results not relevant?
Lower minScore to 0.2 for more results
Increase maxResults to 30
Check that memory files have meaningful content
Provider errors?
Voyage: Set VOYAGE API KEY in environment
OpenAI: Set OPENAI API KEY in environment
Use local provider if no API keys available
Verification
Test memory is working:
If agent has no memory, config isn't applied. Restart gateway.
Full Config Example
Why This Matters
Without memory:
Agent forgets everything between sessions
Repeats questions, loses context
No continuity on projects
With memory:
Recalls past conversations
Knows your preferences
Tracks project history
Builds relationship over time
Goldfish → Elephant. 🐘