Skip to content
TakoAPI
Back to skills

claude-mem

by thedotmack

Web & Frontend Development
—Not yet rated
Your rating

Brief

This guide walks through setting up the claude-mem plugin on an OpenClaw gateway.

Description

What This Skill Does

An OpenClaw plugin that gives agents persistent memory across sessions. It records each tool use as a structured observation, writes a MEMORY.md file to the agent's workspace, and optionally streams observations to a messaging channel in real time.

Agents get full session history injected automatically via MEMORY.md without any manual context passing between runs.

When to Use It

  • Keeping a coding agent aware of decisions made in past sessions
  • Reviewing what an agent worked on across multiple runs
  • Watching agent tool activity stream to a messaging channel live
  • Scoping memory by project so multiple gateways don't mix observations
  • Auditing agent work history via the worker's built-in viewer UI

Example Workflow

INPUT

User asks: 'Continue working on the API client from yesterday'

AGENT
  1. 1

    Plugin syncs MEMORY.md to agent workspace before session starts

  2. 2

    Agent reads MEMORY.md and finds prior observations about the API client work

  3. 3

    Agent continues implementation with full context of previous decisions

  4. 4

    Each new tool call is recorded as a structured observation by the worker

  5. 5

    Session ends and worker summarizes progress for the next run

OUTPUT

Agent resumes with accurate prior context; MEMORY.md updated with new observations for future sessions

Requirements

  • AI provider API key (e.g., Gemini API key) or Claude Max Plan subscription

Installation

clawhub install thedotmack/claude-mem

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links