cd /news/ai-tools/show-hn-a-claude-skill-that-prunes-y… · home topics ai-tools article
[ARTICLE · art-39976] src=puremint.co.uk ↗ pub= topic=ai-tools verified=true sentiment=· neutral

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

A developer created a memory cleaner for Claude that prunes bloated memory files through an interview-like diff process, requiring user approval for each change. The tool addresses performance degradation and contradictions caused by accumulated memory data in AI sessions.

read1 min views1 publishedJun 25, 2026

I made a memory cleaner for Claude. I guess it'll probably work in other AIs but I've only tested it in Claude and 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 big it stops working.

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 and it was full of contradiction.

The reason why this works is because it always asks you for your opinion rather than just going off and doing a prune on its own. If you don't trust the model to not bloat your memory in the first place you shouldn't trust it to be the one who prunes that memory either. That's why it has to be an interview-like, diff process. And guess what? It works because you do it that way.

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

Comments URL: [https://news.ycombinator.com/item?id=48679461](https://news.ycombinator.com/item?id=48679461)

Points: 1

── more in #ai-tools 4 stories · sorted by recency
── more on @claude 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-a-claude-ski…] indexed:0 read:1min 2026-06-25 ·