session-dream
Installation
SKILL.md
session-dream
A manual trigger for the memory distillation that Claude Code's autoDream service does automatically in the background. Where autoDream fires after 5+ sessions and 24+ hours, this skill fires on demand — letting you capture a session's insights before they're lost in compaction.
How autoDream works (the source pattern)
From services/autoDream/consolidationPrompt.ts, the autoDream process has 4 phases:
- Orient — scan what memory already exists, avoid creating duplicates
- Gather signal — identify new information worth persisting (logs, session transcripts, drifted facts)
- Consolidate — write or update topic files, merge rather than duplicate, fix contradictions
- Prune and index — keep MEMORY.md under max lines, one pointer per file, remove stale entries
This skill follows the same 4-phase structure but applies it to the current conversation rather than historical transcripts.