An automated utility designed to archive aging daily notes into structured monthly folders to minimize token overhead and keep agent memory lean.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-memory-optimizer
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 agent-memory-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent Memory Optimizer is a specialized tool within the ecosystem of Openclaw Skills designed to solve the problem of 'context bloat.' As AI agents accumulate daily memory files, the volume of data can lead to increased prompt token usage and slower processing times. This skill automates the organization of these files, ensuring your agent only focuses on the most relevant, recent information while safely preserving history.
By systematically moving older markdown notes into a hierarchical archive, the tool maintains a clean directory structure. This performance-centric approach is vital for developers and power users who rely on long-running AI agents and want to ensure cost-effective, high-speed interactions without losing their historical data trail.
.md extension.memory/archive/YYYY-MM/ if it does not already exist.To install the Agent Memory Optimizer into your workspace, clone or move the skill folder into your project structure:
mkdir -p <workspace>/skills/agent-memory-optimizer
# Copy skill files into this directory
Ensure you have Python 3 installed, as it is a requirement for Openclaw Skills of this type. You can then execute the optimizer directly from your CLI:
# Run a dry run to see what would be archived
python3 scripts/agent_memory_optimizer.py --dry-run
# Perform the actual archive operation
python3 scripts/agent_memory_optimizer.py
The skill follows a strict file-based taxonomy to ensure compatibility with standard markdown-based memory systems:
| Path | Description |
|---|---|
memory/*.md |
The source location for active daily memory notes. |
memory/archive/ |
The root directory for all archived content. |
memory/archive/YYYY-MM/ |
Time-siloed folders where files are moved (e.g., 2026-05/). |
All metadata is handled via standard filesystem move operations, preserving the original file names and internal content of the markdown notes.
--dry-run flag to validate which files will be moved without performing actual filesystem writes.--before flag (e.g., --before 2026-01) for granular control over what stays in active memory.Loading
An AI-powered video editor that removes and replaces backgrounds using natural language commands without requiring a green screen.

A powerful AI agent skill that transforms written text, documents, and prompts into professional 1080p videos with visuals and background music in minutes.

A technical skill for uploading local image files to an EasyImages 2.0 service to generate secure, shareable hosted links.

An AI-powered video creation tool that transforms text descriptions and images into professional 1080p videos without manual editing.

A prompt-driven video editing engine that transforms raw footage into polished, 1080p MP4 files using cloud-based GPU rendering and GPT-powered commands.

A powerful AI video creation tool that converts text scripts and documents into fully rendered animated explainer videos with voiceovers.








































