dream-memory
Skill236 starsChanged 8 months agoMITView on GitHub
Consolidate recent logs, sessions, and existing memory files into durable topic memories, normalize dates, prune stale entries, and keep MEMORY.md short enough for prompt use.
In this repository5 other files it gives its agents.
- kairos-liteSkill
- memory-extractorSkill
- structured-context-compressorSkill
- swarm-coordinatorSkill
- verification-gateSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when you want a deliberate memory-consolidation pass instead of storing more raw notes.
- Distinctive: line 41
Remove stale or contradicted memory.
- Distinctive: line 47
Prefer topic merges over new file creation.
- Distinctive: line 49
Do not store code-state facts that can drift.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dream Memory
Use this skill when you want a deliberate memory-consolidation pass instead of storing more raw notes.
This bundle is intentionally portable. It borrows the workflow shape from Claude Code's dream system, but it does not depend on Claude Code internals.
Use It For
- nightly or manual memory cleanup
- merging overlapping memory notes
- normalizing relative dates into absolute dates
- pruning stale or contradicted memories
- keeping
MEMORY.mdsmall and index-like
Avoid It For
- saving a single new memory from the current turn
- persisting code facts that should be re-read from source
- replacing plans, task boards, or issue trackers
Quick Start
Inspect a memory directory before running the consolidation prompt:
python3 {baseDir}/scripts/dream_memory.py --memory-root /path/to/memory --transcripts-dir /path/to/transcriptsThen use the portable prompt in references/prompt-template.md.
Workflow
- Inspect
MEMORY.md, topic files, and recent logs or transcripts. - Identify durable facts worth keeping.
- Merge into topic files instead of creating near-duplicates.
- Remove stale or contradicted memory.
- Rewrite
MEMORY.mdas a concise index.
Rules
MEMORY.mdis an index, not a content dump.- Prefer topic merges over new file creation.
- Convert relative dates to absolute dates.
- Do not store code-state facts that can drift.
Supporting Files
- Prompt template: references/prompt-template.md
- Source notes: references/source-notes.md
- Helper script:
python3 {baseDir}/scripts/dream_memory.py ...
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

