Mac hit 99% disk usage after weeks of Claude Code and Codex — here's the 30GB cleanup

PicLLM · reddit · 2026-11-23

After a few weeks of AI-assisted coding with Claude Code and Codex across several projects, the author's MacBook hit 99% disk usage from bloated "System Data".

The culprits were familiar dev leftovers: stale nodemodules, unused Python venvs, Rust build output, old test reports, generated JSON, forgotten Git worktrees, Xcode DerivedData/simulator files, and Docker images/containers/volumes.

The post lists the paths to inspect (/Library/Caches, Application Support, Logs, Developer, /private/var/folders, project folders, Docker storage) and one simple rule before deleting: can this be recreated from the repo, a lockfile, or a documented command? If yes, it's a cleanup candidate; if no, back it up. AI-generated files carry no label and caches scatter across Library folders, making one-pass cleanup nearly impossible.

Original post →

More from coding & agent

coding & agent channel →