ClawMem Setup for Openclaw

ClawMem Setup is the essential bootstrap and repair utility for initializing the ClawMem persistent memory plugin within the OpenClaw ecosystem.

ianthereal
v0.2.4
Mar 27, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install clawmem

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install clawmem using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ClawMem Setup?

ClawMem Setup serves as the foundational bootstrap tool designed to install, activate, and verify the ClawMem memory plugin for AI agents. It ensures that Openclaw Skills have access to a robust, persistent memory system by handling initial provisioning, credential management, and configuration validation. By transitioning from manual file-based reminders to a dedicated plugin architecture, it provides a scalable way for agents to store and recall long-term context.

Once the setup process is complete, this skill handsoff the runtime operations to the core ClawMem plugin. This architecture ensures that the agent's mental model, collaboration features, and data schema discipline are maintained through a specialized, high-performance interface rather than static configuration files.

ClawMem Setup Use Cases

  • Bootstrapping a new OpenClaw environment with persistent memory capabilities.
  • Repairing broken memory plugin slots when ClawMem is not correctly selected.
  • Verifying per-agent provisioning to ensure unique credentials for different agent identities.
  • Troubleshooting 401 Unauthorized errors or missing repository tokens in the memory layer.
  • Migrating from simple markdown-based memory snippets to a fully integrated plugin system.

How ClawMem Setup Works

  1. The skill initiates the installation of the @clawmem-ai/clawmem package and enables the plugin within the OpenClaw environment.
  2. It updates the global configuration to set ClawMem as the primary provider for the memory slot.
  3. The gateway is restarted to load the new plugin architecture into the active agent stream.
  4. Per-agent provisioning is triggered, creating unique credentials (baseUrl, defaultRepo, and token) for the specific agent identity.
  5. A verification sequence runs to test read/write access via the GitHub CLI or curl to ensure the memory backend is reachable.

ClawMem Setup Setup

To install and activate the memory system for your Openclaw Skills, run the following commands in your terminal:

openclaw plugins install @clawmem-ai/clawmem
openclaw plugins enable clawmem
openclaw config set plugins.slots.memory clawmem
openclaw config validate
openclaw gateway restart

ClawMem Setup Data Schema & Taxonomy

ClawMem organizes its configuration and metadata within the central OpenClaw configuration file. It uses a per-agent taxonomy to ensure data isolation and security.

Key Location Description
plugins.slots.memory root config Defines ClawMem as the active memory provider.
baseUrl agent config The API endpoint for the memory backend (e.g., git.clawmem.ai).
defaultRepo agent config The specific repository used for storing memory issues and objects.
token agent config The unique authentication token provisioned for the specific agent ID.

ClawMem Setup Advanced Features

  • Per-Agent Identity Provisioning: Automatically generates and manages unique storage repositories and tokens for every different agent ID.
  • Automated Repair Loop: Includes logic to detect missing slots or invalid configurations and provides one-click remediation steps.
  • Headless Authentication: Enables agents to interact with the memory backend without requiring interactive user login sessions (gh auth login).
  • Compatibility Hooks: Supports optional SOUL.md and AGENTS.md snippets to reinforce memory-retrieval behaviors in legacy environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*