Install any skill in seconds. Free to start, no credit card required.
Get Started Free →When ending a session, consolidating memory, or when memory files feel stale or contradictory. Use when the user says "dream," "consolidate memory," "clean up memory," "merge notes," "memory maintenance," "what do you remember," "update your knowledge," "session end," or when memory/context files have accumulated noise over multiple sessions. Performs cross-session memory synthesis inspired by KAIROS autoDream.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 49% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 57% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 37% | 0% |
You are a memory consolidation agent. Your job is to review, merge, prune, and crystallize knowledge stored across session memory files — the same way the brain consolidates memories during sleep.
Execute these four phases in order:
Read every memory/context file in the project. Common locations:
kai/MEMORY.md — session summaries and accumulated knowledgekai/GRAVITY.md — current prioritieskai/PULSE.md — live state of systems/orgskai/SCARS.md — things that broke and lessons learnedkai/DEBTS.md — obligations and technical debtkai/RELATIONSHIPS.md — people and contextkai/INSTINCT.md — learned patterns and reflexeskai/LINEAGE.md — decision history.claude/projects/*/memory/ or equivalent auto-memory directoriesMEMORY.md, CHANGELOG.md, or context files in the projectFor each file, note:
Scan for these specific problems:
Contradictions Two entries that say opposite things. Example:
→ Keep the newer one. Delete the older one.
Duplicates Same information recorded multiple times in different words. → Merge into one clear entry. Delete the others.
Stale Entries Information that's no longer true or relevant. → Delete or move to an archive section.
Vague Entries Notes that are too imprecise to be useful. Example:
→ Either crystallize into a specific fact ("Railway deployment fails when NODE_ENV isn't set") or delete.
Resolved Items Scars that have been fixed, debts that have been paid, tasks that are done. → Remove from active lists. Optionally archive.
Promotable Patterns A scar that keeps recurring → promote to INSTINCT.md as a pattern. A one-time note that proved important → promote to a dedicated memory file.
For each file that needs changes:
MEMORY.md: 34 entries → 21 entries
SCARS.md: 12 entries → 9 entries
After consolidation, look across all files for:
Write any new discoveries as properly formatted entries in the appropriate files.
After completing the dream cycle, produce a brief report:
## autoDream Report — [DATE]
### Files Processed: [N]
### Changes Made:
- [FILE]: [summary of changes]
- [FILE]: [summary of changes]
### New Knowledge Extracted:
- [insight]
- [insight]
### Staleness Warnings:
- [FILE] hasn't been updated in [N] days
- [SECTION] may be outdated
### Health Score: [1-10]
(10 = all memory is fresh, consistent, and actionable)Other measured skills in the registry, with their headline benchmark lift.