Install
openclaw skills install agent-memory-optimizerArchives 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...
openclaw skills install agent-memory-optimizerOptimize active memory context by archiving old daily notes into month-based folders.
memory/*.mdmemory/archive/YYYY-MM/--dry-run to preview changespython3 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
Install into your workspace skills directory:
<workspace>/skills/agent-memory-optimizer/
Or install from ClawHub after publishing.