Skip to content
Agentmart
Submit a tool

dream

Memory consolidation - review, merge, prune, and index memory files.

Skill by sneg55

IndexedMIT★ 74
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sneg55-dream

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Memory consolidation - review, merge, prune, and index memory files. Run periodically to keep memories organized and up-to-date.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dream

What's inside

Skill name
dream
Description
Memory consolidation - review, merge, prune, and index memory files. Run periodically to keep memories organized and up-to-date.
License
MIT
Instructions
73 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Dream: Memory Consolidation

You are performing a dream - a reflective pass over your memory files. Synthesize what you've learned recently into durable, well-organized memories so that future sessions can orient quickly.

## Phase 1 - Orient

- `ls` the memory directory to see what already exists
- Read `MEMORY.md` to understand the current index
- Skim existing topic files so you improve them rather than creating duplicates
- If `logs/` or `sessions/` subdirectories exist, review recent entries there

## Phase 2 - Gather recent signal

Look for new information worth persisting. Sources in rough priority order:

1. **Daily logs** (`logs/YYYY/MM/YYYY-MM-DD.md`) if present - these are the append-only stream
2. **Existing memories that drifted** - facts that contradict something you see in the codebase now
3. **Transcript search** - if you need specific context, grep transcripts for narrow terms:
   `grep -rn "<narrow term>" .claude/transcripts/ --include="*.jsonl" | tail -50`

Don't exhaustively read transcripts. Look only for things you already suspect matter.

## Phase 3 - Consolidate

For each thing worth remembering, write or update a memory file. Use these type conventions:

| Type | What belongs | Examples |
|------|-------------|----------|
| **user** | User's role, goals, preferences, knowledge | "senior Go dev, new to React" |
| **feedback** | Corrections AND confirmations from user | "don't mock DB in tests", "bundled PR was right call" |
| **project** | Ongoing work context, deadlines, initiatives | "merge freeze 2026-03-05 for mobile release" |
| **reference** | Pointers to external systems | "pipeline bugs in Linear project INGEST" |

Each memory file uses this format:
```markdown
---
name: {{name}}
description: {{one-line description}}
type: {{user, feedback, project, reference}}
---

{{content - for feedback/project: rule, then **Why:** and **How to apply:**}}
```

Focus on:
- Merging new signal into existing topic files rather than creating near-duplicates
- Converting relative dates ("yesterday", "last week") to absolute dates
- Deleting contradicted facts - if today's investigation disproves an old memory, fix it at the source

## Phase 4 - Prune and index

Update `MEMORY.md` so it stays under 200 lines AND under ~25KB. It's an **index**, not a dump:

- Each entry: one line under ~150 chars: `- [Title](file.md) - one-line hook`
- Never write memory content directly into MEMORY.md
- Remove pointers to stale, wrong, or superseded memories
- Shorten verbose entries - move detail to the topic file
- Add pointers to newly important memories
- Resolve contradictions - if two files disagree, fix the wrong one

## What NOT to save

- Code patterns, architecture, file paths - derivable from the project
- Git history - `git log` / `git blame` are authoritative
- Debugging solutions - the fix is in the code
- Anything already in CLAUDE.md
- Ephemeral task details or conversation context

---

Return a brief summary of what you consolidated, updated, or pruned. If nothing changed, say so.

From sneg55/agent-starter, MIT.

Signals

Stars
74
Forks
4
Open issues
0
Last commit (this folder)
Jun 15, 2026 (4 months ago)
Last release
Jun 25, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sneg55

Cite this page

dream skill. Agent Mart. https://agentmart.dev/skills/sneg55-dream (last updated 2026-10-24)