How They Use AI  |  Newest

<< Home  |  Tech

Reclaimed ~70GB of disk space

AreaTech
AI usedClaude Code
Sourcer/BuildWithClaude
Posted2026-04-16

The move

Implement an automated end-of-session script to monitor disk usage and purge unnecessary cache files.

Steps

  1. Navigate to ~/Library/Application Support/Claude/vm_bundles/ and delete old cache files.
  2. Clear out old JSONL session logs in ~/.claude/projects/.
  3. Check ~/Library/Application Support/ for data directories of uninstalled applications.
  4. Create a script to monitor disk usage and alert you when it exceeds 70%.
  5. Move inactive projects to cloud storage and delete local copies.

Prompt for your AI

Write a shell script that checks my current disk usage percentage. If usage is above 70%, list the top 5 largest directories in [path to your projects folder] and [path to your application support folder] so I can identify what to delete.

What happened

The user struggled with storage space on a 256GB MacBook Air while using Claude Code for development. They discovered that Claude's vm_bundles, session logs, and hidden browser caches were consuming significant disk space. By creating a script to monitor disk usage and moving projects to cloud storage, they reclaimed 70GB of space.

Watch out

Deleting vm_bundles or session logs may remove local history or require re-downloading dependencies. Ensure you have backups of critical project files before deleting directories.

Give it to your agent

Read https://howtheyuse.ai/p/reclaimed-70gb-of-disk-space.md and help me do this.

Sources



Last updated November 26, 2026.