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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install memory-setup或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install memory-setup⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/memory-setup/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: memory-setup description: 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. ---
Transform your agent from goldfish to elephant. This skill helps configure persistent memory for Moltbot/Clawdbot.
Add to ~/.clawdbot/clawdbot.json (or moltbot.json):
{
"memorySearch": {
"enabled": true,
"provider": "voyage",
"sources": ["memory", "sessions"],
"indexMode": "hot",
"minScore": 0.3,
"maxResults": 20
}
}
In your workspace, create:
workspace/
├── MEMORY.md # Long-term curated memory
└── memory/
├── logs/ # Daily logs (YYYY-MM-DD.md)
├── projects/ # Project-specific context
├── groups/ # Group chat context
└── system/ # Preferences, setup notes
Create MEMORY.md in workspace root:
# MEMORY.md — Long-Term Memory
## About [User Name]
- Key facts, preferences, context
## Active Projects
- Project summaries and status
## Decisions & Lessons
- Important choices made
- Lessons learned
## Preferences
- Communication style
- Tools and workflows
| 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 |
voyage — Voyage AI embeddings (recommended)openai — OpenAI embeddingslocal — Local embeddings (no API needed)memory — MEMORY.md + memory/*.md filessessions — Past conversation transcriptsboth — Full context (recommended)Create memory/logs/YYYY-MM-DD.md daily:
# YYYY-MM-DD — Daily Log
## [Time] — [Event/Task]
- What happened
- Decisions made
- Follow-ups needed
## [Time] — [Another Event]
- Details
Add to your AGENTS.md for agent behavior:
## Memory Recall
Before answering questions about prior work, decisions, dates, people, preferences, or todos:
1. Run memory_search with relevant query
2. Use memory_get to pull specific lines if needed
3. If low confidence after search, say you checked
memorySearch.enabled: true in configclawdbot gateway restartminScore to 0.2 for more resultsmaxResults to 30VOYAGE_API_KEY in environmentOPENAI_API_KEY in environmentlocal provider if no API keys availableTest memory is working:
User: "What do you remember about [past topic]?"
Agent: [Should search memory and return relevant context]
If agent has no memory, config isn't applied. Restart gateway.
{
"memorySearch": {
"enabled": true,
"provider": "voyage",
"sources": ["memory", "sessions"],
"indexMode": "hot",
"minScore": 0.3,
"maxResults": 20
},
"workspace": "/path/to/your/workspace"
}
Without memory:
With memory:
Goldfish → Elephant. 🐘
安装 Memory Setup 后,可以对 AI 说这些话来触发它
Help me get started with Memory Setup
Explains what Memory Setup does, walks through the setup, and runs a quick demo based on your current project
Use Memory Setup to and configure Moltbot/Clawdbot memory search for persistent context
Invokes Memory Setup with the right parameters and returns the result directly in the conversation
What can I do with Memory Setup in my ai agent & automation workflow?
Lists the top use cases for Memory Setup, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/memory-setup/ 目录(个人级,所有项目可用),或 .claude/skills/memory-setup/(项目级)。重启 AI 客户端后,用 /memory-setup 主动调用,或让 AI 根据上下文自动发现并使用。
Memory Setup 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
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.
Memory Setup 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my ai agent & automation tasks using Memory Setup
Identifies repetitive steps in your workflow and sets up Memory Setup to handle them automatically