Install
openclaw skills install per-agent-compression-universalAutomates weekly memory compression per agent in OpenClaw, consolidating daily notes into domain-specific long-term files without manual setup.
openclaw skills install per-agent-compression-universalThis skill automates weekly memory consolidation for multi-agent OpenClaw deployments. It discovers all agents with workspaces and registers staggered cron tasks that compress old daily notes into long-term memory files.
openclaw agents list.compression_state.json./install.shcd /root/.openclaw/workspace/skills/per-agent-compression-universal
./install.sh
This creates 5 staggered tasks (if you have 5 agents) running Sundays 03:00-05:00 Shanghai time.
memory/processed/Each agent workspace should have:
memory/YYYY-MM-DD.md (daily notes)USER.md, IDENTITY.md, SOUL.md, MEMORY.md (targets)After running:
memory/.compression_state.json (state tracking)memory/processed/ (moved old notes)Edit install.sh to adjust:
OFFSETS array)DOMAIN_CONTEXT associative array){WORKSPACE} (uppercase), not {workspace}--timeout in install.sh (default 1200s)to field./uninstall.sh
Removes all per_agent_compression_* tasks.
Current: 1.3.4 (fixes STATE_FILE case sensitivity bug)
See README.md for full documentation.