Agent Sightings Real agent use cases

Clear local disk space with a guided plan

Lenny asks Claude Code how to free storage, discusses options, then has it run the safer cleanup steps.

Agent or tool
Claude Code
Topic
Personal Files
Reported on
Lenny's Newsletter
Added
2026-10-15

Why it matters

Everyone has a messy folder somewhere. Agents that can sort, rename and summarise files make digital clutter far less painful to deal with. It is one of 3 sightings filed under Personal Files on Agent Sightings (number 2 by interest), and one of 164 involving Claude Code.

How you could try it

Here is a reusable prompt, written by us in our own words, that captures the task. Paste it into Claude Code or any similar agent and adjust the details to your situation.

How can I clear storage on this computer? List the largest reclaimable items with sizes, risk, and the exact commands. Wait for my OK before deleting anything.

The prompt breaks down into 3 steps you can check as the agent works:

  1. How can I clear storage on this computer?
  2. List the largest reclaimable items with sizes, risk, and the exact commands.
  3. Wait for my OK before deleting anything.

Tip: Point the agent at a copy of the folder first, so nothing important is lost if it sorts things the wrong way.

Source

Read the original first-hand account on Lenny's Newsletter: https://www.lennysnewsletter.com/p/everyone-should-be-using-claude-code. Our summary is a paraphrase; details are in the source.

Featured in these guides

Related sightings

← All 991 use cases