dream

Solid

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, prunes stale entries, 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).

AI & Automation 10 stars 1 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
35
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
mishahanin
Repository
mishahanin/heading-os
Created
4 weeks ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category