Event ·Multi-source

Mole 一键清理 Claude Code、Codex、Cursor 残留的缓存与会话记录

Claude Code、Codex 和 Cursor 会在本地电脑留下大量残留:已删除项目的聊天记录、旧版 CLI 构建文件、缓存、改动已合并的 worktree,以及指向已卸载程序的 MCP 配置条目。清理工具 Mole(支持 Mac 和 Windows,网站 mole.fit)可以一站式扫描并清理这些文件。 在 Clean 页面点击右上角的小月亮图标,一次扫描会按风险程度分类:缓存和旧 CLI 构建默认勾选;聊天记录默认不勾选,可按工具单独设置保留窗口;已卸载工具的残留单独列出。所有选项排除最近 24 小时内使用过的文件,删除内容统一进入回收站。 Mac 版额外支持清理 worktree、闲置 30 天以上的 CLI,以及失效的 hook 和 MCP 条目;worktree 只有在 git 确认没有未合并改动后才会出现在清理列表中。对同时使用多个 AI 编程工具的开发者来说,这类残留长期占用磁盘并可能泄露项目对话内容。

Current read

如果你电脑里装过 Claude Code、Codex 或 Cursor,大概率留了一堆缓存和聊天记录没清。Mole 这个免费小工具能一次扫描全部找出,还按误删风险分好类,worktree 要 git 确认没独有改动才让删,比较稳。

11 sources24° AI heatLast updated 2026/12/3 14:03:15

Evidence

11 sources
Related source 2Gergely Orosz
View source
Related source 3@koltregaskes
View source
Related source 4@OpenAIDevs
View source
Related source 5Justine Moore
View source
Related source 6TestingCatalog
View source
Related source 7shao__meng
View source
Related source 9techcrunch
View source
Related source 10Garry Tan
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.