In 2 Minuten eingerichtet. Datei anlegen, Prompt einfügen, /dream tippen — Claude konsolidiert deine Memory automatisch.
01
Was ist Dream?
Automatische Memory-Konsolidierung im Hintergrund
Dream ist eine neue Funktion von Anthropic, die deine Claude Code Memory automatisch aufräumt. Duplikate zusammenfassen, Widersprüche lösen, veraltete Infos löschen, relative Daten korrigieren. Das Feature wird gerade langsam ausgerollt — aber der Prompt ist öffentlich.
02
Datei erstellen
Slash Command anlegen
Erstelle die Datei .claude/commands/dream.md in deinem Projekt. Füge den Prompt aus Schritt 03 ein — komplett, ohne Änderungen.
# In deinem Projekt:
mkdir -p .claude/commands
touch .claude/commands/dream.md
# Inhalt aus Schritt 03 einfügen
03
Der Prompt
Exakter Prompt — als .claude/commands/dream.md speichern
Den kompletten Prompt findest du im Pro-Tipp-Block unten. Speichere ihn 1:1 in der Datei.
# Dream: Memory Consolidation
You are performing a dream - a reflective pass over your
memory files. Synthesize what you've learned recently into
durable, well-organized memories so future sessions can
orient quickly.
## Phase 1 - Orient
- ls the memory directory to see what already exists
- Read MEMORY.md to understand the current index
- Skim existing topic files to avoid creating duplicates
## Phase 2 - Gather recent signal
- Check existing memories for drifted or contradicted facts
- If needed, grep session transcripts (.jsonl) for narrow
search terms. Don't read whole transcripts.
## Phase 3 - Consolidate
- Merge new signal into existing topic files
- Convert relative dates to absolute dates
- Delete contradicted facts at the source
## Phase 4 - Prune and index
- Keep MEMORY.md under 200 lines (index, not a dump)
- Remove stale pointers, resolve contradictions
- Add pointers to newly important memories
Return a brief summary of what you consolidated or pruned.
04
Nutzen
Tippe /dream in Claude Code
Tippe /dream in Claude Code. Claude geht deine Memory-Dateien durch und räumt auf. Empfehlung: Einmal pro Woche oder nach intensiven Arbeitsphasen.
/dream
# Empfehlung: 1x pro Woche oder nach# intensiven Arbeitsphasen ausfuehren
SKAILE Community · Early Access
Ich baue gerade eine Community für alle, die alles über Claude Code lernen wollen. Workshops, Q&A, alle Guides an einem Ort. Trag dich ein für Early Access.
Pro-Tipp · Master-Prompt
Den kompletten Dream-Prompt reinkopieren.
Speichere diesen Prompt als .claude/commands/dream.md in deinem Projekt. Quelle: github.com/Piebald-AI/claude-code-system-prompts. Tippe danach /dream in Claude Code — Claude macht den Rest.
# Dream: Memory Consolidation
You are performing a dream - a reflective pass over your
memory files. Synthesize what you've learned recently into
durable, well-organized memories so future sessions can
orient quickly.
## Phase 1 - Orient
- ls the memory directory to see what already exists
- Read MEMORY.md to understand the current index
- Skim existing topic files to avoid creating duplicates
## Phase 2 - Gather recent signal
- Check existing memories for drifted or contradicted facts
- If needed, grep session transcripts (.jsonl) for narrow
search terms. Don't read whole transcripts.
## Phase 3 - Consolidate
- Merge new signal into existing topic files
- Convert relative dates to absolute dates
- Delete contradicted facts at the source
## Phase 4 - Prune and index
- Keep MEMORY.md under 200 lines (index, not a dump)
- Remove stale pointers, resolve contradictions
- Add pointers to newly important memoriesReturn a brief summary of what you consolidated or pruned.
Community · Early Access
Werde Teil der SKAILE Community.
Ich baue gerade eine Community für alle, die alles über Claude Code lernen wollen. Workshops, Q&A, alle Guides an einem Ort. Trag dich ein für Early Access.