Memory Manager for Openclaw

The Memory Manager provides persistent long-term memory for AI agents by automatically tracking session history and updating a standardized memory file.

zx0018
v1.0.0
Apr 8, 2026
0
747
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install memory-manager-secure

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-manager-secure 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 Manager?

Memory Manager is an essential tool within the Openclaw Skills ecosystem designed to give AI assistants a continuous memory. It solves the problem of context loss by maintaining a central MEMORY.md file that stores user preferences, system configurations, and significant events. By synthesizing daily interactions, this skill ensures that your AI agent evolves with you, remembering past decisions and ongoing projects without needing to be re-informed in every new session.

The skill operates using a sophisticated hybrid approach, combining fast rule-based filtering with LLM-powered intelligence. It can automatically extract key milestones from your logs while ensuring that sensitive information like API keys remains protected through built-in desensitization logic.

Memory Manager Use Cases

  • Maintaining a consistent user persona and preference profile across different chat sessions.
  • Tracking project milestones and technical decisions automatically to build a searchable history.
  • Managing a persistent task list (TODOs) that agents can check and update during interactions.
  • Monitoring system environment changes and tool configurations over time.

How Memory Manager Works

  1. The skill initializes a standardized MEMORY.md template containing sections for user data, environment details, and event logs.
  2. A cron job is scheduled to run daily (usually at midnight) to scan recent session files in the memory workspace.
  3. The system applies rule-based pre-filtering using over 30 patterns to identify potentially important content.
  4. An LLM (such as Qwen or DeepSeek) analyzes the filtered content to extract meaningful events and updates.
  5. The script checks for sensitive data like tokens or secrets and masks them before writing to the file.
  6. The central MEMORY.md file is updated with the latest distilled information, providing the agent with fresh context for the next session.

Memory Manager Setup

To install the skill, use the following commands in your terminal:

# Install the memory manager skill
clawhub install memory-manager-zx@latest

# Initialize the MEMORY.md template
openclaw memory init

# Configure the daily automated update via cron
openclaw cron add --name "MEMORY Daily Update" \
  --schedule "0 0 * * *" \
  --message "Check today sessions and update MEMORY.md"

Memory Manager Data Schema & Taxonomy

The skill organizes data into a structured Markdown format for easy reading by both humans and AI agents:

Section Metadata Type Description
About User Personalization Stores name, timezone, and communication style
System Env Environment Records OpenClaw version, host OS, and hardware info
Core Config Settings Tracks active models, TTS settings, and channel IDs
Important Events Chronology A date-stamped log of significant actions and milestones
TODO List Task Management Tracks pending items and project progress

Memory Manager Advanced Features

  • Hybrid Smart Filtering: Combines 30+ regex patterns with LLM analysis for cost-efficient intelligence.
  • Privacy Guard: Automatically detects and masks API keys and secrets (ghp_, sk-, etc.) using pattern recognition.
  • Provider Autopilot: Automatically detects and uses API configuration from your existing Openclaw Skills environment.
  • Multi-Agent Integration: Records configuration changes from other skills like edge-tts and tavily-search into the central memory.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*