A new Hacker News post from June 25th introduces a free Claude skill that tackles one of the most annoying problems with AI assistants: memory file bloat. The tool, called simply 'Memory Cleanup,' walks users through their Claude memory file line by line, showing diffs and asking permission before removing anything. No subscriptions, no telemetry—just a SKILL.md file you drop into your existing skills folder.
Why Memory Files Go to Hell
The author explains that AI memory files only ever grow. Every preference, every rule, every fact Claude learns about you gets added—and never removed. The more crammed in there, the worse Claude performs at actually recalling anything and staying consistent with itself. Before long you're left with contradictions: rules fighting each other instead of a clean set of preferences steering the model how you intended. When the file gets too bloated, Claude stops helping and starts actively hurting your workflow.
How the Pruning Tool Works
The skill takes an interview approach rather than making unilateral decisions. It works through your memory file line by line, flagging issues like repeated phrases that waste context space or contradictions with other entries you might have forgotten about. For each flagged item, it shows you a before-and-after diff so you can see exactly which words are staying and which are going. You then choose: accept the change, reword it yourself, or leave that memory alone entirely. The tool never quietly hollows out your preferences without consent.
Installation Is Dead Simple
Download the skill folder, unzip it, drop the SKILL.md alongside your other Claude skills (ask Claude 'where does that live?' if you're not sure), and then just say 'let's do a memory cleanup' when you want to run it. The author says they run it every week or two as maintenance. A lean memory file is one the assistant actually follows, they note—seems obvious in hindsight but nobody really talks about this kind of maintenance.
Why It's Free
The creator makes it clear why they're not charging: 'I wanted it for myself, couldn't find it anywhere, and it doesn't feel right charging for a text file that does a job.' They also mention making other software—both free and paid—with no subscriptions or telemetry. The rant about modern software practices is refreshing: 'Just simple software for people who remember how software used to behave, before Facebook and MicroSlop started ruining it.' John Carmack and Chris Sawyer get shoutouts as coding heroes, not the bastards who invented popups and dark patterns.
Key Takeaways
- Claude memory files only grow over time, degrading AI performance instead of improving it
- This free skill prunes your file through an interactive interview process with full user consent at each step
- Installation requires dropping one SKILL.md file into your existing skills folder
- The developer advocates for simple, subscription-free software with zero telemetry
The Bottom Line
This is exactly the kind of maintenance tool that should exist but nobody bothers to build. If you're running Claude daily and haven't touched your memory file in months, you're probably working with a bloated mess that's actively making things worse. Download it, run it, thank the developer later.