memory-reviewer

Audits stored project memories for duplicates, contradictions, and stale entries.

1|Updated Jan 13, 2022
One-click install
npx skills add https://github.com/jayho-k/TIL --skill memory-reviewer-jayho-k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-reviewer
Source: https://github.com/jayho-k/TIL/tree/main/AI/mem0/code/mem0_code_analize/mem0/integrations/mem0-plugin/skills/memory-reviewer
Command: npx skills add https://github.com/jayho-k/TIL --skill memory-reviewer-jayho-k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Over time, stored AI memories accumulate duplicates, contradictions, and outdated entries that degrade retrieval quality. This Skill audits memory stores and surfaces actionable quality issues before they cause conflicting search results. ## Core Features & Use Cases - Duplicate Detection: Finds near-duplicate memories using noun-overlap comparison within the same metadata type. - Contradiction & Staleness Scanning: Flags opposing facts, low-confidence entries, untagged memories, and entries older than 180 days. - Use Case: After a long coding session with many memory writes, run the reviewer to check whether conflicting decisions (e.g., "use PostgreSQL" vs "use MySQL") were both stored, then consolidate them with the dream command. ## Quick Start Ask the assistant to check my project memories for duplicates and contradictions.

Frequently Asked Questions about memory-reviewer

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

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

Run the memory-reviewer audit, which fetches up to 200 memories for the active project and compares entries within each metadata type using noun-overlap detection. It reports near-duplicate pairs with their memory IDs so you can consolidate them.

How to find contradictions in mem0 memory storage?

The reviewer groups memories by metadata type and scans for opposing facts about the same topic, such as conflicting database choices. Contradictions are listed with both memory IDs so you can resolve them with the dream consolidation command.

Can the memory reviewer delete or modify memories?

No, the reviewer is strictly read-only. It only reports issues like duplicates, contradictions, and stale entries; actual consolidation or deletion is handled separately by the dream command after you review the findings.

What counts as a stale memory entry?

A memory is flagged as stale when its created_at timestamp is older than 180 days with no updates. Low-confidence entries below 0.3 and memories missing a metadata type are also flagged during the audit.

What are the limitations of the memory audit?

The scan caps at 200 memories per run, so very large memory stores may not be fully covered. Duplicate detection relies on noun-overlap heuristics, which can miss paraphrased duplicates or produce occasional false positives.