cyberneticlibrary

Reclaim disk space on macOS automatically

msapps-mac-disk-cleanerpluginsetup L23,035
davepoon/buildwithclaude
What it does

Reclaim disk space on macOS by removing build artifacts

Best for

Freeing 10-50GB on dev MacBook without manually hunting build artifacts.

Inputs
  • · optional: scan threshold (e.g., files >500MB)
Outputs
  • · summary of freed space by category (Xcode, Homebrew, caches)
  • · list of large files and removal recommendations
Requires
  • · macOS filesystem
  • · Xcode (if installed)
  • · Homebrew (if installed)
Preconditions

running on macOS; user has sudo access; Xcode and Homebrew installations (if applicable) are not in active use

Failure modes

deletion fails if live process holds files; Xcode re-downloads derived data on next build; Homebrew cache needed if offline install

Trust signals
  • · macOS-specific cache patterns
  • · safe-to-delete filtering
  • · Xcode and Homebrew awareness