Memory consolidation plugin for Claude Code — simulates Auto Dream
npx claudepluginhub jl-cmd/claude-dreamMemory consolidation for Claude Code. Simulates the Auto Dream feature by auditing, deduplicating, and rebuilding your memory files.
Memory consolidation for Claude Code — the /dream command that should exist.
Claude Code shows /dream in the /memory UI, but the command doesn't exist yet (#39135, #38426, #38461). Auto Dream is in gradual rollout — this plugin gives you the /dream command now.
/dream audits and consolidates your auto memory files:
No changes are made without your approval.
/plugin marketplace add jl-cmd/claude-dream
/plugin install dream@claude-dream
git clone https://github.com/jl-cmd/claude-dream.git
claude --plugin-dir ./claude-dream
/dream
Or Claude may invoke it automatically when you say "consolidate memory", "clean up memory", or "dream".
claude-dream/
├── .claude-plugin/
│ ├── plugin.json # Plugin manifest
│ └── marketplace.json # Self-contained marketplace
├── skills/
│ └── dream/
│ └── SKILL.md # The dream skill
├── README.md
├── LICENSE
└── .gitignore
The skill enforces the memory format contract from Claude Code's system prompt:
| Rule | What Dream Checks |
|---|---|
| MEMORY.md is an index | No inline content, tables, or multi-line facts |
| Topic files need frontmatter | name, description, type fields present |
| Valid types only | user, feedback, project, reference |
| Semantic naming | Session-dated files flagged for rename |
| Under 200 lines | MEMORY.md line count check |
| No duplicates | Facts appearing in multiple files flagged |
| Stale content | TODOs/Next sections older than 14 days flagged |
Built from Claude Code's own system prompt instructions for auto memory, which define the format contract, memory types, and organization rules. The skill codifies these into an auditable, repeatable process.
user, feedback, project, reference), the MEMORY.md index structure (one-line entries, 200-line limit), frontmatter requirements, and organization rules. This is not a public docs page -- it's the client system prompt itself.