Disk map of dev leftovers
Disk almost full: a read-only scan, a treemap of what development left behind, and a cleanup script only for what you tick.
2K saves on X, as of Posted
Prompt
Scan my home folder read-only. Look at sizes only and don't open any file contents. Skip iCloud, the Photos library and external drives, and skip any folder that triggers a system permission prompt. Find the big folders left behind by development work and build a local HTML page: a treemap sized by space, split into 'safe to remove' and 'let me review first'. Sessions, models and Docker always go under 'let me review first'. For each item, show the path, the size and what happens if it's deleted. When I tick items, generate a cleanup script that uses each tool's own clean command, and don't delete anything yourself. Append each item's size to ~/disk-report/sizes.csv, and next time read it first and flag what grew.Next Send it to Claude Code.
My Mac was down to 27 GB, so I had Opus 5.5 scan it read-only: 124 GB of developer leftovers, and ~/.codex alone was 59 GB, 31 GB of it old chats.
It drew a map of it, and once you tick items it writes the cleanup script. 22.5 GB of it is caches and build output that gets re-downloaded or rebuilt when you need it.
Send this to Claude Code and see how much is on yours.
