dream
Installation
SKILL.md
Mem0 Dream — Memory Consolidation
This skill performs a memory consolidation pass: it fetches all project memories, identifies near-duplicates, flags contradictions, and prunes stale entries based on configured retention policies. All proposed changes are shown as a diff for user approval before anything is modified.
IMPORTANT: Execute steps strictly in order (1 → 2 → 3 → 4 → 5 → 6). Each step depends on the previous one. Do NOT run steps in parallel or skip ahead.
Step 1: Load Retention Policies
Determine the active retention policy by running the parser script. Use the
appropriate PLUGIN_ROOT variable for the current platform (${CLAUDE_PLUGIN_ROOT},
${CODEX_PLUGIN_ROOT}, or ${CURSOR_PLUGIN_ROOT}):
python3 "<PLUGIN_ROOT>/scripts/parse_mem0_config.py" "<cwd>"