Memory Consolidation Skill
Use this skill when triggered by a cron job for memory maintenance.
Tool Note
memory_list, memory_cleanup, memory_delete, and memory_memorize are OpenClaw built-in memory tools — they are NOT zoe-data.* MCP tools. Call them via the exec tool using their OpenClaw native interface, not via mcporter-safe. Example:
exec memory_list limit=100
exec memory_cleanup max_age_days=90
exec memory_delete id=<memory_id>
For creating notes (free-form text storage), use zoe-data via mcporter-safe:
mcporter-safe call zoe-data.note_create title="Memory Summary - [Month Year]" content="[summary]" category="memory-summary"
Weekly Consolidation (runs every Sunday 3am)
- Call
memory_listwith limit 100 to get all recent memories - Group memories by category
- For each category, identify:
- Duplicate or near-duplicate memories (merge them)
- Patterns worth noting (e.g., "user always asks about weather on Mondays")
- Contradictory memories (keep the most recent)
- Call
memory_cleanupwith max_age_days=90 to prune old unreinforced memories - Call
memory_deleteon individual duplicates identified above - Report what was consolidated and pruned
Monthly Distillation (runs 1st of each month at 4am)
- Call
memory_listwith limit 200 - Identify the most important facts across all categories
- Summarize key knowledge into a note:
mcporter-safe call zoe-data.note_create title="Memory Summary - [Month Year]" content="[summary of key facts and patterns]" category="memory-summary" - Call
memory_cleanupwith max_age_days=60 to prune stale memories - Report the distillation results
Important
memory_memorizerequires a URL parameter — for free-form text storage, usenote_createinstead- The goal is to keep memU lean and relevant, not to accumulate everything
- Personality traits, family preferences, and recurring patterns are highest priority to retain