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.
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/dreamRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/maomao-2001/Whispera /tmp/Whispera && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Whispera/mem0/integrations/mem0-plugin/skills/dream ~/.gemini/antigravity-cli/skills/dreamAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
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.
