Memory-ReMe for Openclaw

Memory-ReMe is a sophisticated memory management system that enables AI agents to maintain persistent context, apply user preferences automatically, and learn from feedback across multiple sessions.

minybear
v1.0.0
Mar 7, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install memory-reme

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 memory-reme 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 Memory-ReMe?

Memory-ReMe provides a robust framework for long-term memory management powered by the ReMe-ai library. It solves the common problem of AI amnesia by creating a structured three-level memory hierarchy that includes long-term rules, daily session summaries, and compressed in-memory context.

By implementing these Openclaw Skills, developers can ensure their agents evolve alongside the user. The system automatically extracts rules from user feedback, stores tool-specific execution patterns, and retrieves relevant preferences via semantic search to ensure consistent behavior without manual re-prompting.

Memory-ReMe Use Cases

  • Remembering user-specific coding styles and formatting preferences across different projects.
  • Preventing the repetition of past mistakes by storing and applying corrective feedback.
  • Maintaining continuity in long-term research tasks through daily session summaries.
  • Managing token limits in long conversations via intelligent context compression.
  • Storing tool-specific configurations like custom timeouts for specific web domains.

How Memory-ReMe Works

  1. Initialize the ReMe environment at the beginning of a session to load the user profile and long-term memory files.
  2. Perform a semantic search across stored memories to find preferences or rules relevant to the current user request.
  3. Apply retrieved preferences to the agent's active context, influencing tool parameters and output styles.
  4. Record new learnings and session events in real-time as the user provides feedback or tasks are completed.
  5. Generate a summarized report at the end of the session, updating the long-term MEMORY.md and creating a daily log file.

Memory-ReMe Setup

To integrate this capability into your project, first install the necessary dependency:

pip install reme-ai

Initialize the memory structure and retrieve existing preferences by running the initialization script at the start of your workflow:

python3 scripts/init_reme.py

Memory-ReMe Data Schema & Taxonomy

The skill maintains a structured directory named .reme/ to manage persistence efficiently:

Component File Pattern Purpose
Long-term Memory MEMORY.md Stores user profiles, persistent rules, and tool-specific preferences.
Daily Logs memory/YYYY-MM-DD.md Contains session-specific summaries and key decisions made during that day.
Vector Cache .embeddings/ Stores semantic embeddings to enable fast and relevant memory retrieval.
Work Cache tool_result/ Temporary storage for tool outputs, subject to automatic cleanup routines.

Memory-ReMe Advanced Features

  • Context-Aware Retrieval: Dynamically adjusts search queries based on whether the agent is performing coding, writing, or research tasks.
  • Conditional Rule Application: Only applies specific memory fragments when the current task context matches the stored rule's intent.
  • Automatic Lifecycle Management: Includes routines for archiving old session logs and merging duplicate preference entries to prevent memory bloat.
  • Multi-Agent Synchronization: Supports sharing the long-term MEMORY.md across different agent instances to maintain a unified user persona.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*