mem0-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

Check for a project config file in the project root (current working directory):

  1. Look for .mem0.json first. If it exists, parse it as JSON and read the retention field (a dict of category → days | null).
  2. If .mem0.json is not present, look for .mem0.md. If it exists, scan it for a retention: section or YAML front matter with retention settings and parse what you find.
  3. If neither file exists, skip config loading entirely.
Installs
1
Repository
mem0ai/mem0
GitHub Stars
60.1K
First Seen
Jun 18, 2026
mem0-dream — mem0ai/mem0