Local disk space manager for AI coding agents (DSH, Codex, Claude Code, Cursor, Gemini, Aider...) - risk-tiered cleanup, session management, git worktree GC. Web UI + MCP server + CLI. Zero dependenci
View on GitHub ↗AI agents hoard. See what, and take it back.
本地磁盘空间管理台,专治 AI 编码 agent 在硬盘上留下的垃圾。 零依赖(Node 内置模块),只绑 127.0.0.1,数据不出本机。
平台:Windows 10/11 优先,已实测。macOS / Linux 未测试 —— 盘符统计(fs.statfsSync('C:\\'))、 junction 去重、%TEMP% 路径都是 Windows 语义,其他平台能启动但行为不保证。 运行环境:Node.js ≥ 18.15(用到 fs.statfsSync)。
打开 http://127.0.0.1:5178 ,点「开始扫描」。 Windows 上也可以双击 start.cmd,它会检查 Node、启动服务并打开浏览器。
第一次打开是一张引导卡,不是白屏:点开始后显示实时进度(当前扫到哪个 agent、已扫多少文件 / 多少 GB), 扫描期间服务仍能响应请求,可以切到别的窗口。
为什么不打包成 exe:目标用户都装了 Node(Claude Code / Codex 本身就是 npm 装的), 而 90 MB 的未签名 exe 做「删文件」操作极易被 SmartScreen 拦。源码 225 KB,start.cmd 双击即用。
文件数 大致耗时 ---:--- ~10 万 15–25 秒 ~30 万 60–90 秒 ~200 万 90–180 秒
入口 命令 适合 --------- Web UI node server.mjs → http://127.0.0.1:5178 看图、点选、批量挑 MCP Server node mcp-server.mjs 让 agent 自己调清理能力 CLI node cli.mjs 脚本 / 远程 / 无浏览器
同类工具(agent-cleaner、agent-residue、spoilheap、agent-footprint)覆盖的,这里都有;除此之外补了四块:
1. 可视化联动 —— 风险 × 平台二维图表,点扇区就筛到「Codex 的低风险项」,CLI 类工具做不到 2. 两个只在真机上才踩得到的去重坑 - junction 去重:~/.dsh/sessions 是指向 D:\dsh-data 的目录联接,跟着走会把同一份数据算两遍(本机凭空多算 2 GB) - 父子去重:目录是树,全选会父子重复累加。修之前全选报 269 GB —— 超过磁盘总量 3. 归档 ≠ 省空间 —— 直接告出 archivedSessionIds 在哪,并算给你看:归档了多少个、占多少 MB,一点没少 4. git worktree 走 git worktree remove —— 不是 rm -rf;判定 dirty / unmerged 的默认拒绝
DSH、Codex CLI、Claude Code、Cursor、Gemini CLI、Aider、OpenCode、Windsurf、Continue、Cline、Roo Code、GitHub Copilot CLI、Ollama、LM Studio、WorkBuddy、Qoder、Trae、Zed、Amp、Kilo Code、OpenHands,外加「系统临时文件」。
不靠写死的清单跑,而是逐个候选路径 stat,存在才纳入扫描。常见情况是 22 种里能命中 5–8 种。
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/dawnnnnnnnnnnnnnnnn--agent-hoard.html)
Open-source MCP server for comparing products and asking the buyer before purchase.
marclou/mailcheapNewsletters where you pay for the emails you send, not for dormant subscribers, at a fraction of the price of beehiiv and the like. Open source: self-host it, or use mailcheap.ai.
sv-number/mcp-serverMCP server for AI agents that need a phone number: order a private number in 200+ countries, read the SMS verification code, hand it back. The widest country coverage in the category, and you can chec
vibeinging/deepseek-harness-desktop-appDeepSeek Harness Desktop App: a local AI desktop workspace for DSH Sessions, projects, files, web research, plugins, and Office artifacts.
shanselman/sandbox-mcpFresh, throwaway Windows machines for testing your apps: an MCP server and CLI that automate Windows Sandbox
shlokkhemani/rabbitholeAn infinite canvas for learning — select text, ask, and answers branch out as documents. MCP server for Claude Code, Codex, and any agent.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.