Sort messy folders with a review-first cleanup plan

Use Claude Code to inventory a cluttered folder, group related files, and propose safe cleanup changes for your approval.

Done with Claude Code· Intermediate

What they did
Jeff Butts pointed Claude Code at a cluttered directory and started with a read-only inventory. It examined names, contents, timestamps and folder layout, then marked likely duplicates and clusters of related files. After that, he asked for a cleanup plan, tweaked or رفض parts of it, and only then allowed it to make limited changes in small batches.
How it went
The agent produced a clearer map of the folder plus summaries that helped him choose what to keep, which made it easier to pick up older projects again. It still could not tell why a file was saved in the first place, so some guesses were off.
Tips
Keep an untouched backup, and begin with a small set of changes. Define what you mean by draft, reference, archive and final, and think carefully about privacy before giving it access to sensitive folders.

Try it yourself with Claude Code

Inspect the folder at [folder path] and first make a read-only inventory of its files, dates, contents and structure. Group related items, flag duplicates, and point out where different versions appear to split apart. Then draft a reorganization plan with each suggested rename, move, or delete listed separately. Stop and ask for my approval before you do anything that changes or removes files, and wait for me to confirm each batch before continuing.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.