DiskWright User Guide
Everything you need to inspect storage, catch AI coding agent bloat, and reclaim space safely on macOS 14+ (Apple silicon & Intel).
1. First scan & Full Disk Access
Start with Scan Home Folder or Scan a Folder… for fast results. For a whole-Mac scan (including system caches and other app containers), grant Full Disk Access in System Settings › Privacy & Security › Full Disk Access. Partial scans always disclose unreadable or excluded mount paths explicitly.
2. Review Queue & Protected Paths
Selecting items never deletes them immediately. Items go into the separate Review Queue where you see full paths, measured allocation, and consequences before confirming Move to Trash. DiskWright re-verifies each file’s device and inode right before moving it, and never empties Trash automatically.
Tool-managed stores (CoreSimulator, Docker.raw, OrbStack VM images, Ollama, Hugging Face, LM Studio, Conda, Android SDK/AVD, Cursor state.vscdb, Codex SQLite/WAL logs, and pnpm stores) are protected from raw Trash staging — including their ancestor folders — so you cannot accidentally corrupt active environments.
3. AI Coding Agents & Safe SQLite Vacuum
Open Developer Storage after a scan to inspect Codex SQLite/WAL logs (logs_1.sqlite, logs_2.sqlite, -wal, codex-tui.log), Claude Code transcripts (~/.claude/projects, file-history, debug — credentials excluded), Cursor state.vscdb & Chromium caches, and Gemini/Antigravity artifacts.
For bloated SQLite databases, click Inspect & Safe Vacuum…. DiskWright confirms the owning app or CLI is closed, runs VACUUM INTO + PRAGMA integrity_check, backs up the original to Trash, replaces the database atomically, and retires stale -wal/-shm sidecars.
4. Tool-Delegated Guided Actions
Instead of raw deletions on managed caches, DiskWright provides previewed Guided Actions that invoke the owning tool’s official CLI directly (never through a shell): brew cleanup, pip3 cache purge, uv cache prune, pnpm store prune, xcrun simctl delete unavailable, explicit-socket Docker/OrbStack builder prune, and tmutil deletelocalsnapshots.
5. CLI & Local MCP Server (Claude Code, Cursor, Codex, Antigravity)
Open DiskWright › Settings (⌘,) › CLI & AI Agents (MCP) and click Install CLI to ~/.local/bin. You can then run:
diskwright agents— Free read-only audit of Codex, Claude Code, Cursor & Gemini sizes, WAL sidecars, 24h growth, retention settings, and live process status.diskwright guard --need 25GB— Exits0if unreserved free space meets your budget, or1if parallel agents riskENOSPC.diskwright mcp— Local stdio JSON-RPC 2.0 MCP server. Agents can inspect disk health, reserve temporary disk budgets, and stage cleanup proposals into your GUI Review Queue — agents can never delete files directly.
Use Copy MCP JSON or Copy Claude Code Cmd in Settings to connect your editor in one step.
6. Menu-Bar Guardian & SSD Write-Rate Watch
Click the DiskWright drive icon in your macOS menu bar to view live free space, 24-hour top folder growth, pending AI-agent staging proposals, and SSD Write-Rate Watch alerts whenever a runaway process exceeds 5 GB/hour of sustained disk writes.
7. Projects, Worktrees & Containers
Inside Developer Storage, open Projects & Worktrees… to inspect linked Git worktrees, verify clean Git status before removal, and deduplicate identical dependency files across sibling worktrees with APFS Copy-on-Write clones. Open Containers & Volumes… to reconcile Docker Desktop and OrbStack sockets read-only without switching your active Docker context.
8. Managing Saved Scan Storage
DiskWright caps its internal SQLite scan index storage so scanning never fills a tight SSD. If you see Make room for scan storage, click Manage saved scans… (or open Settings › Scan storage) and delete older saved scan indexes. Your personal files and saved comparison points are never affected.