dreamlisted
Install: claude install-skill mishahanin/heading-os
# Dream - Reflective Memory Consolidation
Perform a reflective pass over memory files. Synthesize recent learnings into durable, well-organized memories so that future sessions can orient quickly.
## Paths
- **Memory directory:** the canonical DATA overlay `<data-root>/auto-memory/`, resolved via:
```bash
python3 -c "from scripts.utils.workspace import get_auto_memory_dir; print(get_auto_memory_dir())"
```
This is the authoritative store. Do NOT operate on the native harness store `~/.claude/projects/<project-slug>/memory/` - `memory-reconcile.py` re-syncs from the canonical dir at SessionStart.
- **Index file:** `MEMORY.md` (inside that dir, 200-line budget)
- **Transcripts:** `~/.claude/projects/<project-slug>/*.jsonl`
- **Context7:** `python3 scripts/context7.py "<library>" "<topic>"`
- **Security rules:** `.claude/rules/security.md`, `docs/security/SECURITY-CONSTITUTION.md`
## Variables
- `$ARGUMENTS` - Optional focus area or topic to investigate during the dream
---
## Phase 0 - Orient
Understand the current state of the memory system before making any changes.
1. **List memory files:**
```bash
ls "$(python3 -c 'from scripts.utils.workspace import get_auto_memory_dir; print(get_auto_memory_dir())')"
```
2. **Read the index:** Read `MEMORY.md` to understand current structure, categories, and entry count.
3. **Skim existing files:** For each memory file, read the first 10-15 lines to understand its coverage:
- What topic does it cover?
- W