memory-setup

Configure and validate OpenClaw memory recall for persistent context. Use when enabling memory_search/memory_get, fixing poor memory recall, or setting up MEMORY.md + memory/*.md workflows in an OpenClaw workspace.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "memory-setup" with this command: npx skills add syajask/memory-setup-openclaw

Memory Setup (OpenClaw)

Set up durable memory for OpenClaw so the agent can recall prior decisions, preferences, and todos.

1) Prepare workspace files

In workspace root, keep:

  • MEMORY.md (curated long-term memory)
  • memory/YYYY-MM-DD.md (daily notes)

Optional structure:

  • memory/projects/
  • memory/system/
  • memory/groups/

2) Enable memory search in OpenClaw config

Configure under agents.defaults.memorySearch (not top-level memorySearch).

Example:

{
  "agents": {
    "defaults": {
      "memorySearch": {
        "enabled": true,
        "provider": "local",
        "includeDefaultMemory": true,
        "maxResults": 20,
        "minScore": 0.3
      }
    }
  }
}

Notes:

  • includeDefaultMemory: true indexes MEMORY.md + memory/**/*.md.
  • Providers: local, openai, gemini, voyage, mistral.
  • If using remote provider, set corresponding API key (env var or memorySearch.remote.apiKey).

3) Restart and verify

  • Restart gateway after config changes.
  • Verify with:
    • openclaw status
    • openclaw memory status (if available in your CLI build)

4) Test recall behavior

Ask a question about past context, then verify the agent:

  1. Runs memory_search
  2. Uses memory_get for precise lines when needed
  3. Cites source path/lines when useful

5) Troubleshooting

memory_search unavailable

  • Ensure agents.defaults.memorySearch.enabled = true.
  • Ensure policy allows memory tools.
  • Restart gateway.

low-quality matches

  • Lower minScore (e.g. 0.2) to broaden hits.
  • Raise maxResults (e.g. 30).
  • Write more specific notes in MEMORY.md and daily logs.

local provider issues

  • Confirm local model path/settings if configured.
  • If needed, switch provider to remote and set API key.

6) Recommended operating rule

Before answering questions about prior work, decisions, dates, people, preferences, or todos:

  1. memory_search first
  2. memory_get second (only needed lines)
  3. Say you checked memory if confidence is still low

This keeps responses grounded and auditable.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

low-carbon-medicine

低碳生活方式医学咨询。当用户提到低碳饮食、生酮饮食、减肥控糖、糖尿病逆转、代谢综合征、胰岛素抵抗时触发。

Registry SourceRecently Updated
General

x0x-api-smoketest-1777556197822

Scratch skill used to validate CI API publish flow before merge.

Registry SourceRecently Updated
General

java-circular-dependency-breaker

Break circular dependencies in Java multi-module Gradle/Maven projects using interface extraction and business service separation. Triggers: 'circular depend...

Registry SourceRecently Updated
General

Options Trading Brain

Professional options trading intelligence system. Monitors whale flow (Unusual Whales), counts Elliott Waves, analyzes Bollinger Bands, multi-timeframe trend...

Registry SourceRecently Updated