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.
.claude/skills/irfad7-autodream/SKILL.md| 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)| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 2,020 | 4,743 | +135% | 1 | 1 | 0% | 253 | 1,394 | +451% | 0 | 0 | — |
case-02 | fail→fail | 15,859 | 4,036 | -75% | 1 | 1 | 0% | 2,672 | 1,383 | -48% | 0 | 0 | — |
case-03 | pass→pass | 3,733 | 2,978 | -20% | 1 | 1 | 0% | 628 | 1,647 | +162% | 0 | 0 | — |
case-04 | pass→pass | 8,670 | 4,839 | -44% | 1 | 1 | 0% | 1,469 | 1,806 | +23% | 0 | 0 | — |
case-05 | fail→pass | 8,893 | 4,961 | -44% | 1 | 1 | 0% | 1,644 | 1,867 | +14% | 0 | 0 | — |
case-06 | pass→pass | 5,004 | 3,687 | -26% | 1 | 1 | 0% | 842 | 1,708 | +103% | 0 | 0 | — |
case-07 | pass→pass | 7,204 | 4,393 | -39% | 1 | 1 | 0% | 1,202 | 1,840 | +53% | 0 | 0 | — |
case-08 | fail→fail | 5,343 | 3,896 | -27% | 1 | 1 | 0% | 713 | 1,568 | +120% | 0 | 0 | — |
case-09 | fail→fail | 8,590 | 3,696 | -57% | 1 | 1 | 0% | 1,376 | 1,683 | +22% | 0 | 0 | — |
case-10 | pass→pass | 5,107 | 5,684 | +11% | 1 | 1 | 0% | 879 | 2,095 | +138% | 0 | 0 | — |
case-11 | fail→pass | 7,226 | 3,940 | -45% | 1 | 1 | 0% | 1,209 | 1,776 | +47% | 0 | 0 | — |
case-12 | pass→pass | 11,856 | 10,775 | -9% | 1 | 1 | 0% | 1,893 | 2,753 | +45% | 0 | 0 | — |
case-13 | fail→fail | 5,789 | 2,928 | -49% | 1 | 1 | 0% | 903 | 1,441 | +60% | 0 | 0 | — |
case-14 | pass→pass | 4,724 | 3,562 | -25% | 1 | 1 | 0% | 902 | 1,724 | +91% | 0 | 0 | — |
case-15 | fail→pass | 5,136 | 1,620 | -68% | 1 | 1 | 0% | 871 | 1,296 | +49% | 0 | 0 | — |
case-16 | fail→pass | 8,418 | 7,687 | -9% | 1 | 1 | 0% | 1,559 | 2,451 | +57% | 0 | 0 | — |
case-17 | fail→pass | 6,949 | 2,547 | -63% | 1 | 1 | 0% | 1,152 | 1,577 | +37% | 0 | 0 | — |
case-18 | fail→pass | 2,663 | 4,120 | +55% | 1 | 1 | 0% | 441 | 1,788 | +305% | 0 | 0 | — |
case-19 | pass→pass | 6,701 | 12,267 | +83% | 1 | 1 | 0% | 1,187 | 2,636 | +122% | 0 | 0 | — |
case-20 | pass→pass | 7,622 | 7,860 | +3% | 1 | 1 | 0% | 1,444 | 2,539 | +76% | 0 | 0 | — |
case-21 | fail→fail | 2,372 | 5,467 | +130% | 1 | 1 | 0% | 284 | 1,911 | +573% | 0 | 0 | — |
case-22 | pass→pass | 16,816 | 6,087 | -64% | 1 | 1 | 0% | 1,398 | 2,269 | +62% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 21 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +27 percentage points is the difference between those two pass rates over the 21 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/3/2026 | +30% |
Other measured skills in the registry, with their headline benchmark lift.