Skip navigation
Claude Code, Codex and Cursor leave a lot on your computer: chats for projects you deleted, old CLI…
0:00 / 0:37

Claude Code, Codex and Cursor leave a lot on your computer: chats for projects you deleted, old CLI…

Tw93

@HiTw93168K followers

Visit on X
52 likesDownloadOriginal post

15,153 views

Claude Code, Codex and Cursor leave a lot on your computer: chats for projects you deleted, old CLI builds, caches, worktrees whose changes already landed, and MCP entries pointing at programs that are gone. Mole for Mac and Windows cleans it up in one place: Click the small moon at the top right of the Clean page, and one scan sorts everything by how much removing it could hurt: • Caches and old CLI builds, ticked by default • Chats, unticked, with a retention window you pick per tool • Leftovers of tools you already removed Nothing used in the last 24 hours is listed, and everything goes to the Trash or the Recycle Bin. On the Mac it also covers worktrees, CLIs unused for 30 days and broken hook and MCP entries, and a worktree only shows up when git proves it holds nothing unique.

18 Comments

Comments from the original post on X (Twitter)

  • Marvix's profile picture

    @nanshanjukr

    太好了!

    1 like

  • 银耳很好奇's profile picture

    @YinerIsCurious

    昨晚刚在 V2ex 刷到你推荐 App 的帖子里面有提到 CommandX,今天突然发现 Mole 支持访达剪切了,这种感觉真棒!

    1 like

  • Tw93's profile picture

    @HiTw93

    哈哈哈 是一个外国用户强烈要求,所以我就给加上了

  • FutureLens's profile picture

    @sreenivasan_ac

    any possibility of having a MCP server for Mole that I can connect with Claude. I recently used Mole, and it gives a big suggested list, which I did paste to Claude, but when Claude suggests to remove few things, I have to go and find every one of those from the Mole list

  • Shane's profile picture

    @ShaneRobinett

    Agent leftovers are the new node_modules, ship it :)

  • Tw93's profile picture

    @HiTw93

    Yes, it really slows down the computer.。

  • Nash's profile picture

    @NashBriggsy

    the dead mcp entries are the ones nobody would ever think to clean up

  • Tw93's profile picture

    @HiTw93

    My OCD self would, and Mole would too, hahaha.

  • ElevenW-W's profile picture

    @wang_yi46337

    大佬我对自己不自信,可以无脑删除已完成的 worktree 吗···

  • Tw93's profile picture

    @HiTw93

    已经完成的了,我认为是可以删除的,按理说这个应该由聪明的agent在他干完活主动做的事情,不过不放心可以点击展开看看,其实还好的

  • Jarvis Claude's profile picture

    @Duolinto

    这些工具确实到处留垃圾 该清清了

  • Jay Ghiya's profile picture

    @BeLikeBumblebee

    Is the same available for omarchy or Linux is general huge movement happening moved Mac mini to omarchy and now it is real dev machine plus server

  • Tw93's profile picture

    @HiTw93

    Sorry, Linux is not currently supported. mole already supports Windows and Mac versions, but there is a mole CLI on Linux. You are welcome to contribute code.

  • Jay Ghiya's profile picture

    @BeLikeBumblebee

    I shud you are right. Let me figure out

    1 like

  • Nilo's profile picture

    @nilokray

    the dead MCP entries are the sneaky ones. claude code still tries to start every one of them each session /mcp shows which ones fail, worth a look before reaching for a cleaner

  • Sagar Tanur 🇮🇳's profile picture

    @Sagarvd01

    the leftover chat logs worry me more than disk space ngl, half of them prob have api keys ppl pasted mid debug that nobody remembrs are there

  • Tw93's profile picture

    @HiTw93

    Yes, I actually support cleaning this up as well. As for the keys, I haven't dealt with them yet because there are indeed security concerns. I'm still leaning towards being more secure, but I'd love to hear your suggestions too.

    1 like

  • Víctor Falcón's profile picture

    @victoor

    Is this available from the cli?