memory-setup

Configure persistent memory and vector search for Moltbot/Clawdbot.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/jieni777/opencode-config-backup --skill memory-setup-jieni777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-setup
Source: https://github.com/jieni777/opencode-config-backup/tree/main/skills/memory-setup
Command: npx skills add https://github.com/jieni777/opencode-config-backup --skill memory-setup-jieni777

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables Moltbot/Clawdbot to retain and reuse context across sessions by configuring persistent memory and a structured memory workflow.

Core Features & Use Cases

  • Enable memorySearch in the agent config to persist contextual data across runs.
  • Create and organize MEMORY.md plus a dedicated memory/ directory (logs, projects, groups, system) for long-term memory.
  • Support daily logs and vector search configuration to improve recall and consistency across conversations.

Quick Start

Add memorySearch.enabled = true with provider set to voyage and sources set to memory and sessions in your config, then create MEMORY.md and the memory/ directory structure as described.

Frequently Asked Questions about memory-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable persistent memory for my agent across sessions?

Persistent memory is enabled by setting memorySearch.enabled = true in your agent config, specifying a vector provider like voyage, and defining sources. This allows the agent to retain context across multiple runs.

How does vector search configuration work for agent memory?

Vector search configuration requires setting a provider, defining memory sources, and adjusting parameters like indexMode, minScore, and maxResults. This controls how the agent retrieves relevant context from stored memories.

What directory structure is needed for long-term agent memory?

Long-term memory requires creating a MEMORY.md file and a dedicated memory/ directory. The directory should be organized into subfolders for logs, projects, groups, and system data.

Can I use daily logs to improve agent context recall?

Yes, daily logs are supported as part of the memory workflow. When stored in the structured memory directory, they help the agent recall past interactions and maintain consistency across conversations.

What configuration details are required for memorySearch?

memorySearch requires configuring enabled, provider, sources, indexMode, minScore, and maxResults. These parameters define the vector search behavior and determine how context is retrieved during agent sessions.

What is the best way to configure an agent to retain context across sessions?

The best way is to enable memorySearch with a vector provider like voyage, set sources to memory and sessions, and create a structured MEMORY.md file with a memory directory for persistent storage.