← ClaudeAtlas

dreamlisted

Reflective memory consolidation - performs a periodic pass over memory files, synthesizing recent learnings into durable, well-organized memories for future sessions. Validates technical claims against Context7, enforces security protocols, rewrites and merges stale entries in place, surfaces what has gone dormant, and produces a structured consolidation report. Use when the user says "dream", "/dream", "consolidate memories", "memory cleanup", "reflect on recent sessions", "update memories", or at the end of a productive session when significant new information was learned. Do NOT use for: simple memory writes (use auto-memory), knowledge base operations (use /zk), or session initialization (use /prime).
mishahanin/heading-os · ★ 11 · AI & Automation · score 78
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