An intelligent memory management tool that reviews daily notes and automates file cleanup for OpenClaw agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install memory-maintenance
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install memory-maintenance using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Memory Maintenance is an essential utility designed to solve the common problem of memory bloat in autonomous AI agents. As agents accumulate daily notes and session logs, context windows become saturated with irrelevant history, and critical decisions often get buried. This skill, as part of the ecosystem of Openclaw Skills, automates the entire lifecycle of an agent's memory. It proactively reviews daily session notes to suggest permanent updates to the MEMORY.md file, ensuring that the agent's core identity and long-term knowledge remain accurate and accessible.
By implementing this skill, developers can ensure their agents wake up with a refined context rather than a pile of unorganized files. It serves as an automated janitor for your agent's directory, maintaining health and fragmentation standards while keeping safety at the forefront with human-in-the-loop approvals for all significant content changes. Utilizing Openclaw Skills like this one ensures your agent improves over time rather than degrading due to information overload.
To install this skill and integrate it into your agent's workflow, use the following commands. Ensure you have the required dependencies for these Openclaw Skills installed on your system:
# Install the skill via Clawhub
clawhub install memory-maintenance
# Install system dependencies
brew install gemini-cli jq
You must also ensure your GEMINI_API_KEY is exported in your environment or set in your .env file to enable the intelligent analysis features.
The skill organizes its output and maintenance files within the agent's memory directory to ensure clear metadata taxonomy:
| Path | Description |
|---|---|
agents/memory/review-v2-YYYY-MM-DD.json |
Structured JSON data containing LLM-generated suggestions. |
agents/memory/review-v2-YYYY-MM-DD.md |
Human-readable Markdown report for manual approval. |
agents/memory/stats.json |
Aggregate statistics regarding memory growth and health. |
agents/memory/archive/YYYY-MM/ |
Monthly bucketed storage for archived session notes. |
agents/memory/.trash/ |
Hidden directory for recoverable deletions within the retention period. |
config/settings.json.--safe flag to automate archiving and directory health tasks while leaving content changes for manual review.Loading
An automated system utility for macOS that enables AI agents to monitor performance, clear junk, and manage applications via a local API.

A background utility that automates daily version checks and updates for both the core agent and all installed skills.

A professional-grade CLI integration for full Remember The Milk task lifecycle management within an AI agent environment.

A CLI-based tool for querying public bird song detection data and wildlife trends from BirdWeather stations globally.

A comprehensive legal AI platform providing encrypted document storage, OCR, transcription, and specialized legal search capabilities.

A comprehensive CLI-based skill for controlling Athom Homey smart home devices through local LAN or cloud APIs.








































