/install agent-memory-optimizer
Agent Memory Optimizer
Optimize active memory context by archiving old daily notes into month-based folders.
What it does
- Scans
memory/*.md - Moves files older than the current month into
memory/archive/YYYY-MM/ - Supports
--dry-runto preview changes - Safe to run repeatedly
Run
python3 scripts/agent_memory_optimizer.py --dry-run
python3 scripts/agent_memory_optimizer.py
Optional custom cutoff:
python3 scripts/agent_memory_optimizer.py --before 2026-05
Installation
Install into your workspace skills directory:
\x3Cworkspace>/skills/agent-memory-optimizer/
Or install from ClawHub after publishing.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-memory-optimizer - After installation, invoke the skill by name or use
/agent-memory-optimizer - Provide required inputs per the skill's parameter spec and get structured output
What is Agent Memory Optimizer?
Archives older daily memory notes into month folders to keep active memory lean and reduce prompt token usage. Use when users want lower token overhead, clea... It is an AI Agent Skill for Claude Code / OpenClaw, with 77 downloads so far.
How do I install Agent Memory Optimizer?
Run "/install agent-memory-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agent Memory Optimizer free?
Yes, Agent Memory Optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Agent Memory Optimizer support?
Agent Memory Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agent Memory Optimizer?
It is built and maintained by x3r081 (@x3r081); the current version is v1.0.0.