dream
Installation
SKILL.md
Dream - Memory Consolidation
Deterministic memory maintenance: detect stale entries, merge duplicates, resolve contradictions, rebuild the MEMORY.md index. All pruning decisions are based on verifiable checks (file exists? function exists? duplicate content?), not LLM judgment.
Argument Resolution
DRY_RUN = "--dry-run" in "$ARGUMENTS" # Preview changes without writing
Overview
Memory files accumulate across sessions. Over time they develop problems:
- Stale references — memories pointing to files, functions, or classes that no longer exist
- Duplicates — multiple memories covering the same topic with overlapping content
- Contradictions — newer memories superseding older ones without cleanup
- Index drift — MEMORY.md index out of sync with actual memory files
This skill fixes all four problems using deterministic checks only.