← 返回 Skills 市场
jackwang2999

Memory Setup (Jack)

作者 Jackwang2999 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
167
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-setup-jack
功能描述
Enable and configure Moltbot/Clawdbot memory search for persistent context. Use when setting up memory, fixing "goldfish brain," or helping users configure m...
使用说明 (SKILL.md)

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):

{
  "memorySearch": {
    "enabled": true,
    "provider": "voyage",
    "sources": ["memory", "sessions"],
    "indexMode": "hot",
    "minScore": 0.3,
    "maxResults": 20
  }
}

2. Create Memory Structure

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

3. Initialize MEMORY.md

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

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:

# YYYY-MM-DD — Daily Log

## [Time] — [Event/Task]
- What happened
- Decisions made
- Follow-ups needed

## [Time] — [Another Event]
- Details

Agent Instructions (AGENTS.md)

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

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:

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.

Full Config Example

{
  "memorySearch": {
    "enabled": true,
    "provider": "voyage",
    "sources": ["memory", "sessions"],
    "indexMode": "hot",
    "minScore": 0.3,
    "maxResults": 20
  },
  "workspace": "/path/to/your/workspace"
}

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. 🐘

安全使用建议
This skill is a how-to for enabling and configuring your agent's memory and appears internally consistent. Before applying: back up your existing ~/.clawdbot/moltbot config, review any memory files you create for sensitive data (they will be indexed), and prefer the local provider if you don't want to supply external API keys. Note the doc mentions VOYAGE_API_KEY and OPENAI_API_KEY for external embedding providers—only provide those keys if you trust the provider and understand where embeddings/requests are sent.
功能分析
Type: OpenClaw Skill Name: memory-setup-jack Version: 1.0.0 The skill bundle is a documentation-only guide for configuring persistent memory in Moltbot/Clawdbot. It provides configuration templates for `clawdbot.json` and structural templates for `MEMORY.md`, with no executable code, suspicious network calls, or malicious instructions in SKILL.md.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md explains enabling memorySearch, creating MEMORY.md and memory/ folders, and configuring embedding providers—all coherent with a memory-setup utility.
Instruction Scope
Instructions focus on editing the agent config (~/.clawdbot/clawdbot.json or moltbot.json), creating workspace files, and restarting the agent gateway. They do not instruct reading or exfiltrating unrelated system files or contacting unexpected endpoints.
Install Mechanism
No install spec or code files are present; this is instruction-only so nothing is downloaded or written by the skill itself.
Credentials
The skill metadata declares no required env vars, but the doc mentions VOYAGE_API_KEY and OPENAI_API_KEY as provider-specific requirements (in troubleshooting). This is proportionate for embedding providers, but the metadata could explicitly list them as optional to avoid confusion.
Persistence & Privilege
Skill is not force-included (always:false) and does not request persistent system-wide privileges; it instructs the user to modify their agent's own config files and to restart the gateway, which is expected for this task.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-setup-jack
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-setup-jack 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the memory-setup skill for Moltbot/Clawdbot. - Step-by-step guide to enable and configure persistent memory search, covering config file changes and recommended settings. - Instructions for creating MEMORY.md and organizing long-term and daily memory files. - Troubleshooting section for common setup and provider issues. - Example config and agent instructions included for easy setup and verification. - Explains key options, provider choices, and the benefits of persistent memory for chatbot agents.
元数据
Slug memory-setup-jack
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Memory Setup (Jack) 是什么?

Enable and configure Moltbot/Clawdbot memory search for persistent context. Use when setting up memory, fixing "goldfish brain," or helping users configure m... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 167 次。

如何安装 Memory Setup (Jack)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-setup-jack」即可一键安装,无需额外配置。

Memory Setup (Jack) 是免费的吗?

是的,Memory Setup (Jack) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Memory Setup (Jack) 支持哪些平台?

Memory Setup (Jack) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Memory Setup (Jack)?

由 Jackwang2999(@jackwang2999)开发并维护,当前版本 v1.0.0。

💬 留言讨论