Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dream

Skill by maomao-2001

Dream consolidates stored Mem0 memories by merging near-duplicates, flagging contradictions and pruning stale entries. It is for users who want cleaner project memory and less repetitive search results. Changes are shown as a diff for approval first.

  • Score 65
  • 121 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dream

Built from the published package, never by AI.

git clone --depth 1 https://github.com/maomao-2001/Whispera /tmp/Whispera && mkdir -p ~/.claude/skills && cp -r /tmp/Whispera/mem0/integrations/mem0-plugin/skills/dream ~/.claude/skills/dream

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dream in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Dream is a skill for consolidating the memories stored in Mem0 for a project. It fetches all memories for the active user and project, then groups them by metadata type. It finds near-duplicate pairs and drafts a merged version that is more specific than either original. It also flags contradictory memories and marks prune candidates based on retention policies and low confidence.

Before changing anything, Dream prints a diff report and waits for approval. Contradictions need a manual choice of A, B or skip. Pinned memories are never pruned. An auto mode, run with --auto, applies merges and prunes without prompting, skips contradictions and stores a reminder for later review. It suits users who want to keep a Mem0 memory store tidy and search results less noisy.

Written from the project's SKILL.md and checked against it.

What it can do

  • Load retention policiesReads per-type retention periods with a Python parser script, falling back to built-in defaults.
  • Fetch project memoriesRetrieves every memory for the active project using get_memories, with pagination.
  • Find near-duplicatesIdentifies memories that express the same fact and drafts a merged version.
  • Flag contradictionsFinds memories that assert opposing facts on the same topic for user review.
  • Prune stale entriesMarks memories past their retention period or with low confidence and no project detail.
  • Show diff reportPrints proposed merges, conflicts and prunes before any memory is changed.
  • Auto modeWith --auto, applies merges and prunes silently and skips contradictions.

What you need

  • Mem0 memory tools
  • Python 3 to run the policy parser script

Try asking

  • Run dream to find duplicate and stale memories in this project
  • Show me the dream diff before merging any duplicate memories
  • Run dream in auto mode to clean up memories without prompts

Good to know

  • Contradictions are skipped in auto mode and need manual review.
  • Near-duplicate detection is estimated from keyword overlap, not true similarity.
  • Pinned memories are always skipped.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: mem0/integrations/mem0-plugin/skills/dream/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to dream

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

dream: common questions

Does dream delete memories without asking?

In interactive mode it shows a diff and applies changes only after approval. In auto mode, merges and prunes are applied without prompting.

Are pinned memories affected?

No. Memories with metadata.pinned set to true are always skipped, regardless of age or confidence.

How does dream decide what is stale?

Session state and compact summaries default to 90 days of retention. Memories older than their type's configured retention, or with confidence below 0.3 and no project-specific detail, are prune candidates.

How do I install dream?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dream free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is dream safe to use?

It scores 65 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dream?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

Add to stack

Loading.