memory-reviewer

Audits stored memories for duplicates, contradictions, and stale entries with actionable reports.

64.5k|7.6k|Updated Jun 20, 2023
One-click install
npx skills add https://github.com/mem0ai/mem0 --skill memory-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-reviewer
Source: https://github.com/mem0ai/mem0/tree/main/integrations/mem0-plugin/skills/memory-reviewer
Command: npx skills add https://github.com/mem0ai/mem0 --skill memory-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Over time, stored AI memories accumulate duplicates, contradictions, and outdated entries that degrade retrieval quality and produce conflicting answers. This Skill audits memory quality so you can identify and fix issues before they cause problems.

Core Features & Use Cases

  • Duplicate Detection: Finds near-duplicate memories using noun-overlap analysis within the same type group.
  • Contradiction Scanning: Flags opposing facts about the same topic, such as conflicting technology choices.
  • Hygiene Metrics: Reports low-confidence entries, missing type tags, and memories stale beyond 180 days.
  • Use Case: After a long coding session with many memory writes, run a review to confirm no conflicting decisions were stored, then consolidate with the dream command.

Quick Start

Ask the assistant to check my memories for duplicates and contradictions in the current project.

Frequently Asked Questions about memory-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my stored memories for duplicates?

Run the memory-reviewer audit, which fetches all project memories and groups them by type. It flags near-duplicates using noun-overlap comparison and lists the conflicting memory IDs so you can consolidate them.

How to find contradictions in AI agent memories?

The audit scans each memory type group for opposing facts about the same topic, such as conflicting database choices. Contradictions are reported with both memory texts and their IDs for manual resolution.

Does the memory review modify or delete my memories?

No, the review is strictly read-only. It only reports findings and suggests running the dream command to consolidate duplicates and resolve contradictions, leaving all modification decisions to you.

What counts as a stale memory in an audit?

A memory is flagged as stale when its created_at timestamp is older than 180 days with no subsequent updates. Stale entries are listed separately so you can decide whether to refresh or remove them.

Is there a limit on how many memories can be reviewed?

Yes, each scan is capped at 200 memories, fetched with pagination using a page size of 200. Projects with more memories should be reviewed in filtered batches.