它是什么What it is
Leftovers 是开源 macOS 菜单栏工具(MIT)。README 写:coding agent 会话常留下 dev server、各自一份 MCP、git worktree 和定时任务;Activity Monitor 按内存排序时,已经换到 swap 的泄漏几乎看不见。Leftovers 读每个进程的 footprint(RAM + 压缩 + swap),列出 likely leaks、按 agent 会话归类的占用、可安全移除的 worktree(含 GitHub squash-merge 已合但本地还在的),以及可重建的开发者缓存(Xcode / npm / Docker 构建缓存等,不碰你的代码和数据库 volume)。也有 CLI:`leftovers --report` / `--json` / `--clean`。Show HN item 49861159。本站收成「工具笔记」:给跑本机 agent(含 Grok Bot 相邻栈)时清桌面用,不是云端 Bot 本身。 Leftovers is an open-source macOS menu-bar tool (MIT). The README says coding-agent sessions often leave behind dev servers, per-session MCP copies, git worktrees, and scheduled jobs; Activity Monitor sorts by RAM, so a leak already swapped out barely shows. Leftovers reads each process’s footprint (RAM + compressed + swap), lists likely leaks, memory by agent session, worktrees that are safe to remove (including ones squash-merged on GitHub that local git still keeps), and rebuildable developer caches (Xcode / npm / Docker build cache, and more — not your code or database volumes). CLI too: leftovers --report / --json / --clean. Show HN item 49861159. This library lists it as a tool tip for cleaning a local agent desk (including Grok Bot-adjacent stacks) — not the cloud Bot itself.
为什么推荐Why we recommend it 收录理由:agent 本机残留是真实痛点,菜单栏 + CLI 可核对。边界:只支持 macOS;清理动作不可逆,受保护进程会拒绝;本站未在你的 Mac 上安装或代清。 Listing rationale: leftover local agent processes are a real pain; menu bar + CLI are checkable. Boundary: macOS only; cleanup is irreversible and protected processes are refused; this site did not install or clean on your Mac.
核验记录:来源、抓取与截图说明Verification log: sources, checks, and captures
主源是 Show HN 49861159 与 MIT 仓库 / 文档站。星数仍低(核对 2★)。预览 Playwright 实拍文档首页 3:2。不打星。 (item 49861159,2026-09-26 ~22:27Z,Algolia 核对 2pts) 仓库 arpwal/leftovers 于 2026-09-28 gh api:MIT、2★; 文档站 https://arpwal.github.io/leftovers/ HTTP 200。Primary sources are Show HN 49861159 and the MIT repo / docs site. Star count is still low (2★ at check time). Preview is a Playwright 3:2 capture of the docs home. Unrated. (2026-09-26 ~22:27Z, 2pts on Algolia at check time) Show HN item 49861159 at https://github.com/arpwal/leftovers — MIT free macOS menu-bar app: finds leftover dev servers, MCP copies, git worktrees, LaunchAgents, and rebuildable caches by footprint (RAM + compressed + swap) and cleans them safely. Repo arpwal/leftovers on the 2026-09-28 gh api: MIT, 2★; docs site https://arpwal.github.io/leftovers/ HTTP 200.