🌙
/dream Install Guide
Claude Code Custom Skill
Install /dream in 60 seconds
/dream is a Claude Code custom skill that consolidates your memory files — merging duplicates, resolving contradictions, fixing relative dates, and trimming the index. Just paste one prompt into Claude Code and it builds the skill for you automatically.
💬 Paste this into Claude Code
You: I wanna create a skill called 'dream'
     and follow this prompt to do so
     github.com/vnsavitri/claude-code-system-prompts
     /…/agent-prompt-dream-memory-consolidation.md
click to copy
📋
Step-by-Step Setup
1
Open Claude Code in any project
You need an active Claude Code session. Any project directory works — /dream operates on your memory folder, not the project itself.
copy # from any directory
claude
2
Paste the install prompt
Copy and paste this single message. Claude Code fetches the skill definition from GitHub and builds the /dream skill automatically.
copy I wanna create a skill called 'dream'
and follow this prompt to do so
https://github.com/vnsavitri/claude-code-system-prompts
/blob/main/system-prompts/agent-prompt-dream-memory-consolidation.md
3
Confirm Claude Code creates the skill
Claude Code will create a /dream skill entry in your skills configuration. You'll see a confirmation in the response.
copy # Verify it's installed
/skills
4
Run it whenever memory gets messy
That's it. Invoke /dream any time your memory files have drifted, contradicted each other, or the index has grown bloated.
copy /dream ← runs memory consolidation
What /dream Does
Phase 1
Orient
Reads your memory directory and existing index file. Skims topic files so it improves rather than duplicates them. Checks recent session activity logs.
Phase 2
Gather Signal
Reads the most recent 1–3 days of session logs. Identifies drifted facts that contradict the current codebase. Greps session transcripts narrowly for specific context — never reads whole files.
Phase 3
Consolidate
Merges new signal into existing topic files. Converts relative dates ("next Friday", "yesterday") into absolute dates (2026-03-24). Deletes contradicted facts at the source.
Phase 4
Prune & Index
Updates the index file, kept under ~200 lines and ~25 KB. Each entry is one concise line. Removes stale pointers, demotes verbose entries, resolves contradictions between files.
Prerequisites
Claude Code installed & authenticated
Memory system active (e.g. MemPalace or similar)
Internet access (Claude Code fetches the prompt from GitHub)
No manual file editing required
Run /dream when…
memory feels inconsistent dates have drifted too many memory files context window bloated before a long new session
Skill source
Free & open source
No config files needed
Works with any memory system
One prompt, fully automated
View prompt on GitHub →