Back to browse
A Claude skill that prunes your AI's memory file, one diff at a time

A Claude skill that prunes your AI's memory file, one diff at a time

by wonkyfruit·Jun 25, 2026·1 point·0 comments

AI Analysis

●●SolidCozySolve My Problem

Human-in-the-loop pruning beats auto-deletion for AI memory files.

Strengths
  • Interview-style approach respects user judgment over automated pruning decisions.
  • Diff previews show exact changes before committing each deletion.
  • Addresses genuine pain point that worsens over time with memory bloat.
Weaknesses
  • Only works with Claude Code, not other AI assistants with memory features.
  • Simple text-file skill, not a substantial tool with deeper functionality.
Category
Target Audience

Claude Code users with bloated memory files

Post Description

I made a memory cleaner for Claude Code. I guess it'll probably work in Codex, OpenCode, Composer etc, but I've only tested it in Claude Code.

It's for getting rid of all of the bloat and crap that builds up in your memory file so that it works better, because when it's too full it stops helping, and seems to actively hurt.

I built it because I noticed that over time my Claude sessions were missing some of the things that I'd asked it to remember.

The reason why this works is because it always asks you for your opinion, rather than pruning on its own.

If you don't trust the model to avoid bloating your memory in the first place, you shouldn't trust it to prune it either.

That's why it has to be an interview-like, diff process. And guess what? It works because it's done that way.

Anyone else noticed theirs bloat? Found anything daft still lurking in there? Mine was full of anecdotes :D

Similar Projects