ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

agent-memory-setup

Set up the full OpenClaw agent memory system with 3-tier memory (HOT/WARM/COLD), daily logs, semantic search (QMD), and lossless context management (Lossless Claw). Use when onboarding a new agent, setting up memory for a fresh OpenClaw instance, or when asked to install the memory system on a new agent. Triggers on "set up memory", "install memory system", "onboard new agent memory", "memory setup", "agent onboarding", "configure agent memory", "add memory to my agent", "how do I set up memory", "initialize memory", "memory system for OpenClaw".

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/autosolutionsai-didac/agent-memory-setup-qmd
Or

Agent Memory Setup

Set up a complete 3-tier memory system for any OpenClaw agent. Includes directory structure, memory files, semantic search, and context compaction.

Quick Start

# 1. Run setup script
bash scripts/setup_memory.sh /path/to/workspace

# 2. Copy AGENTS.md template to workspace
# (read references/AGENTS_TEMPLATE.md, adapt, write to workspace/AGENTS.md)

# 3. Add config to openclaw.json (see Step 3 below for exact JSON)

# 4. Restart
openclaw gateway restart

For full details, read the sections below.

When NOT to Use This Skill

  • Backing up or exporting memory — this skill sets up memory, it doesn't handle backup/migration
  • Memory is already set up — run the verification checklist in Step 4 instead of re-running setup
  • Debugging a specific memory issue — check the Troubleshooting section directly
  • Changing memory tier content — that's the agent's job during normal operation, not a setup task

Prerequisites

Before running setup, ensure:

  • OpenClaw CLI is installed and on your PATH (openclaw --version). If not installed, the setup script will still create directories and memory files, but plugin installation and config changes must be done manually.
  • Python 3.8+ (for QMD only — optional). Check with python3 --version. QMD provides semantic search (memory_search) over memory files. The core memory system (tiers, daily logs, Lossless Claw) works fully without it. If you can't install QMD (no Python, restricted server), you lose semantic search but keep everything else.
  • Node.js 18+ (for OpenClaw and Lossless Claw plugin).

Platform Notes

  • Linux: Fully supported. No special considerations.
  • macOS: Fully supported. Config lives at ~/.openclaw/openclaw.json (same as Linux). The setup script uses POSIX-compatible date and mkdir — no GNU-specific flags.
  • Windows (WSL2): Supported via WSL2 with Ubuntu or similar. Run everything inside WSL, not from Windows CMD/PowerShell. Gotcha: If your workspace is on a Windows-mounted drive (/mnt/c/...), file permissions may behave unexpectedly — prefer using a path inside the WSL filesystem (~/workspace) for reliable permission handling. The script's set -euo pipefail and mkdir -p work fine under WSL2.
  • Windows (native): Not supported. OpenClaw requires a Unix shell.

Setup Steps

Step 1: Run the setup script

bash scripts/setup_memory.sh /path/to/agent/workspace

This creates:

  • memory/, memory/hot/, memory/warm/ directories
  • memory/hot/HOT_MEMORY.md (active session state)
  • memory/warm/WARM_MEMORY.md (stable config & preferences)
  • MEMORY.md (long-term archive)
  • memory/YYYY-MM-DD.md (today's daily log)
  • memory/heartbeat-state.json (heartbeat tracking)

It also checks for QMD and Lossless Claw, installing them if possible.

Step 2: Copy the AGENTS.md template

Read references/AGENTS_TEMPLATE.md and write it to the agent's workspace as AGENTS.md.

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-autosolutionsai-didac-agent-memory-setup-qmd": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

agent-memory-setup

Set up the full OpenClaw agent memory system with 3-tier memory (HOT/WARM/COLD), daily logs, semantic search (QMD), and lossless context management (Lossless Claw). Use when onboarding a new agent, setting up memory for a fresh OpenClaw instance, or when asked to install the memory system on a new agent. Triggers on "set up memory", "install memory system", "onboard new agent memory", "memory setup", "agent onboarding", "configure agent memory", "add memory to my agent", "how do I set up memory", "initialize memory", "memory system for OpenClaw".

autosolutionsai-didac 4473

agent-memory-setup-v2

Create a 3-tier memory directory structure (HOT/WARM/COLD) for OpenClaw agents and configure the built-in memory-core plugin to use Google Gemini Embeddings 2 (gemini-embedding-2-preview) for semantic memory search. Creates memory/ directories and stub files only — no code execution or external API calls from the setup script. After setup, the agent's memory_search tool uses Gemini's cloud embedding API to index memory files. Requires a free Google Gemini API key. Use when setting up a new agent's memory system or asked about semantic memory search. Triggers on "set up memory", "memory setup", "agent memory", "gemini memory", "semantic search memory", "onboard new agent".

autosolutionsai-didac 4473

gamma

Create presentations, documents, social posts, and web pages via the Gamma.app API. Use when asked to create a presentation, pitch deck, slide deck, document, social media carousel, or webpage using Gamma. Also use when asked to generate slides, export to PDF/PPTX, or create content from a Gamma template. Triggers on "create a presentation", "make a deck", "gamma", "slides", "pitch deck", "create a document in gamma".

autosolutionsai-didac 4473

deep-research

Conduct deep multi-phase research using parallel subagents and iterative search. Use for deep research requests, comprehensive analysis, competitive intelligence, market research, or thorough investigation of complex topics.

autosolutionsai-didac 4473

Autosolutions Npd Validator

Run a full NPD validation pipeline on a product concept. Orchestrates 8 specialized subagents (Research Coordinator, 5 Independent Evaluators, Devil's Advocate, Consensus Director) to produce an evidence-based GO / CONDITIONAL GO / REVISIT / NO-GO recommendation. Use when someone asks to validate a product idea, assess market fit, or evaluate whether a product should be launched.

autosolutionsai-didac 4473