跳到正文
TakoAPI
返回技能列表

claude-mem

由 thedotmack 提供

Web & Frontend Development
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

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

安装

clawhub install thedotmack/claude-mem

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接