🦀 ClawHub
Agent Memory Ops
by @orime
Audit and maintain OpenClaw-style long-term memory. Use for MEMORY.md cleanup, daily-note digestion, duplicate detection, stale-memory review, and promoting...
TERMINAL
clawhub install agent-memory-ops📖 About This Skill
name: agent-memory-ops description: Audit and maintain OpenClaw-style long-term memory. Use for MEMORY.md cleanup, daily-note digestion, duplicate detection, stale-memory review, and promoting durable facts from memory/YYYY-MM-DD.md into curated memory.
Agent Memory Ops
Use this skill when you need to keep an agent's memory layer healthy instead of letting MEMORY.md rot.
What it does
MEMORY.md + memory/*.mdGood use cases
Commands
Run from the workspace root that contains MEMORY.md and memory/.
python3 {baseDir}/scripts/memory_ops.py report --root .
python3 {baseDir}/scripts/memory_ops.py dedupe --root .
python3 {baseDir}/scripts/memory_ops.py digest --root . --days 7
python3 {baseDir}/scripts/memory_ops.py digest --root . --files 5 --format json
Recommended workflow
1. Run report to see gaps, duplicates, and follow-ups.
2. Run digest on the last 5-7 daily notes.
3. Promote only durable facts into MEMORY.md.
4. Keep volatile chatter in daily notes.
5. Never copy secrets into curated memory unless the user explicitly asks.
Output policy
--format markdown for human review.--format json when another tool or script will consume the result.References
references/playbook.md