[HTML version of this page](https://vibecode.fun/rik/disk-doctor)

# disk-doctor

A macOS menubar app that finds and cleans the caches generic Mac cleaners miss \~10 MB. Free. MIT.

- Maker: [RIK](https://vibecode.fun/rik) (@rik)
- Type: Code repository
- Open it: https://github.com/midcurvelabs/disk-doctor
- Status: online, checked 2 Dec 2026
- Added: 11 May 2026
- Last updated: 11 May 2026
- Upvotes: 1

## Built with

- [Claude Code](https://vibecode.fun/tools/claude-code): stated by the maker
- [TypeScript](https://vibecode.fun/tools/typescript): stated by the maker
- [Tailwind CSS](https://vibecode.fun/tools/tailwindcss): stated by the maker

## About

CleanMyMac doesn't know what a Claude VM is. OnyX doesn't know you have 28 \`node\_modules\` across worktrees. DaisyDisk counts them as "personal documents." The generic cleaners predate the agent era.

Disk Doctor is what I built after losing a Monday morning to a Mac that wouldn't stop crashing — 7 macOS diagnostic reports in five days, Claude Desktop dying mid-task, 64 MB of free RAM on a 16 GB machine. The root cause was 84 GB of regenerable agent-era cruft I had no idea was there, plus a 90-server MCP plugin sprawl that filled the rest of my RAM. Once I cleaned it up by hand with Claude in plan mode, I realised every vibe coder has this problem. So I built the tool.

\*\*What it knows about\*\* \(15 cache categories, all hard-coded, no user globs\):
\- npm package cache + \`node\_modules\` across all your projects \(worktrees included\)
\- Claude Code agent VM disk image
\- opencode session snapshots, Codex archived sessions
\- Ollama local models, Xcode DerivedData + iOS Simulators
\- Descript / Notion / Slack / Discord / Stremio electron partitions
\- Chromium-flavor browser caches \(Chrome / Brave / Dia\)
\- pip cache, Playwright binaries, Homebrew downloads, user logs, Trash

Two tabs. \*\*Disk\*\* scans, sorts results into three tiers \(Safe / Confirm / Your call\), one-click cleans the safe ones with progress + a history record. \*\*Memory\*\* shows true macOS memory pressure \(the kernel-level signal, not the misleading "% used"\), groups running processes by their parent \`.app\` so "Browser Helper × 4" attributes correctly to Dia or Claude, and each row has a hover info-dot that tells you in plain English whether it's safe to quit. System processes are classified \`DoNotKill\` and the ✕ button is disabled — no foot-guns.

Built in a single Monday afternoon using Tauri 2 + Rust + React. \*\*The release \`.dmg\` is 3.1 MB\*\* — about 1/35th of a comparable Electron app, which felt important given the whole point is to clean up Electron's mess. No telemetry. No paywall. No login. The app refuses to clean a category if its owning app is running. Deletions for Tier 2+ go through the system Trash, not silent \`rm -rf\`.

Free + open source. Pull requests for new cache categories are welcome — the catalog is one Rust file.

Tags: macos, developer-tools, productivity, system-utility, cleanup, tauri, rust, ai, claude, opencode, ollama, vibecoding, indie-hacker, ship-season
