consolidate-memory
Skill32 starsChanged 16 days agoMITView on GitHub
Reflective pass over your memory files — merge duplicates, fix stale facts, prune the index.
10 other projects use a version of this, 6 of them edited.
Adopted by
Most recently taken up by
- invergent-ai/surogatesedited, first seen Oct 13, 2026
- jesusalgartrainer/claude-skillsedited, first seen Oct 13, 2026
- UtsavBalar1231/oh-my-claudeagenttheir own version, first seen Oct 12, 2026
- docvinum/agent-skillsedited, first seen Sep 2, 2026
- Hassaan146/claude-skillsedited, first seen Jul 25, 2026
- LilithLabs/liliththeir own version, first seen Jun 20, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- invergent-ai/surogates★ 2834% same
- Hassaan146/claude-skills★ 1896% same
- thtskaran/claude-skills★ 1896% same
- csiddhant796-blip/claude-skills-collection★ 296% same
- docvinum/agent-skills★ 096% same
- jesusalgartrainer/claude-skills★ 096% same
Wrote their own version · 4
- UtsavBalar1231/oh-my-claudeagent★ 3same name
- LilithLabs/lilith★ 1same name
- Myra-Agents/skills★ 0same name
- talgacapri/pm-os★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- open-source-jp-scraperSkill
- vault-token-optimizerSkill
- agent-config-auditSkill
- claude-code-routerSkill
- code-correctorSkill
- dev-protocolSkill
- docmancerSkill
- doc-to-skillSkill
- god-modeSkill
- rtkSkill
- session-memorySkill
- skill-creatorSkill
- skill-managerSkill
- subtitle-fixSkill
- tk-bootSkill
- tk-grillSkill
- tk-orchestratorSkill
- token-saviorSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Merge overlaps: If two files describe the same person, project, or preference, combine into one and keep the richer file's path.
- Very specific: line 29
Update MEMORY.md so it stays under 200 lines and ~25KB.
- Distinctive: line 31
Remove pointers to retired memories
- Distinctive: line 33
Add anything newly important
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory Consolidation
You're doing a reflective pass over what you've learned about this user and their work. The goal: a future session should be able to orient quickly — who they work with, what they're focused on, how they like things done — without re-asking.
Your system prompt's auto-memory section defines the directory, file format, and memory types. Follow it.
Phase 1 — Take stock
- List the memory directory and read the index (
MEMORY.md) - Skim each topic file. Note which ones overlap, which look stale, which are thin.
Phase 2 — Consolidate
Separate the durable from the dated. Preferences, working style, key relationships, and recurring workflows are durable — keep and sharpen them. Specific projects, deadlines, and one-off tasks are dated — if the date has passed or the work is done, retire the file or fold the lasting takeaway into a durable one.
Merge overlaps. If two files describe the same person, project, or preference, combine into one and keep the richer file's path.
Fix time references. Convert "next week", "this quarter", "by Friday" to absolute dates so they stay readable later.
Drop what's easy to re-find. If a memory just restates something you could pull from the user's calendar, docs, or connected tools on demand, cut it. Keep what's hard to re-derive: stated preferences, context behind a decision, who to go to for what.
Phase 3 — Tidy the index
Update MEMORY.md so it stays under 200 lines and ~25KB. One line per entry, under ~150 chars: - [Title](file.md) — one-line hook.
- Remove pointers to retired memories
- Shorten any line carrying detail that belongs in the topic file
- Add anything newly important
Finish with a short summary: how many files you touched and what changed.
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.

