agentsclimarketplace

Consolidate memory

Skill thtskaran/claude-skills/consolidate-memory

Battle-tested Claude Code skills for hardening vibe-coded projects. Audit, clean, and ship AI-generated codebases with confidence.

Install
npx -y skills add thtskaran/claude-skills --skill consolidate-memory

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 16 stars16 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Reflective pass over your memory files — merge duplicates, fix stale facts, prune the index.

SKILL.md

1.9 KB, as published. Nobody here has run it

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 (e.g. "user prefers X format for launch docs") 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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.