About this use case
The writer uses Claude Code to compare related files, spot repeated material and show where versions diverged, reviewing its plan before it renames, moves or deletes anything.
What they did
Jeff Butts points Claude Code at a messy directory and first asks for an inventory with no changes. It reads file names, contents, timestamps and structure, then flags likely duplicates and related groups. He then asks for a cleanup plan, rejects or adjusts parts of it, and only afterward lets it make small batches of changes.
Prompt
Look through the folder [path to messy folder or notes] and compare related files to find duplicates, repeated material and different versions of the same document, showing where the versions diverge. Then write a proposed reorganization plan listing every rename, move and deletion you suggest. Do not rename, move or delete anything until I have reviewed the plan and approved it.
Reported outcome
It gives him a readable map of a folder and summaries that help him decide which notes to keep, so he can resume old projects faster. It can't know why he kept a file, so it may guess wrong.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.