What problem does it solve?
Over time, a project's memory store accumulates duplicate facts, contradictory statements, and outdated entries that degrade search quality. This Skill runs a structured consolidation pass that cleans up the memory store while keeping the user in control of every change.
Core Features & Use Cases
- Duplicate Detection and Merging: Groups memories by type, finds near-duplicates via keyword-overlap heuristics, and drafts merged versions that preserve the most complete information.
- Contradiction Resolution: Flags opposing facts (e.g., "Deploy to ECS" vs. "Deploy to Vercel") and lets the user pick a winner interactively before anything is deleted.
- Retention-Based Pruning: Loads retention policies from
.mem0.json or .mem0.md and prunes memories that are too old or low-confidence, while always protecting pinned entries.
- Auto Mode: Runs non-interactively with
--auto, applying merges and prunes silently, skipping contradictions, and storing a reminder memory when manual review is needed.
- Use Case: After weeks of agent sessions, your project memory feels noisy and search results repeat themselves. Run the consolidation pass, review the diff report, approve the changes, and restore a clean, high-signal memory store.
Quick Start
Ask the assistant to run a memory consolidation pass on the current project and show you the proposed merges, conflicts, and prunes before applying anything.