💼 Work & career

Let an AI sort and rename a messy folder of files

Point a desktop agent at your Downloads folder or a drive full of oddly named files. It proposes a folder structure and clear names, then moves things only after you approve.

MediumUpdated · By BotsDoThat · Added Oct 24, 2026

Seen on Reddit ×3 · Hacker News · YouTube · GitHub

What the bot does

  1. Looks through a folder you choose and reads what each file is about.
  2. Suggests a simple folder structure and a naming pattern.
  3. Shows you the plan before it moves or renames anything.
  4. Applies the plan and gives you a list of what changed.

What you end up with

A tidy folder where files have names that say what they are.

Copy-paste prompt

Fill in the [brackets]. Then paste it into any tool below.

Copy this prompt
Look at the files in [folder]. Propose a folder structure with no more than [6] folders and a naming pattern like [YYYY-MM-DD topic]. Show me the full plan as a table (old name, new name, new folder) and wait for my OK. Don't delete anything. Put files you're unsure about in a folder called “To check”.

New to this? How to build an AI agent without coding, or set up a bot in 5 plain steps →

Setup

  1. Make a backup copy of the folder first, or try it on a copy.
  2. In Claude Cowork, give it access to only that one folder.
  3. Paste the prompt and read the plan it shows you. Ask for changes.
  4. Say OK, then spot-check a few files in their new places.

Tools that can do it today

Plans and limits change; check each tool's page.

Watch out

  • Always keep a backup. An agent that can move files can also make a mess of them.
  • Give it one folder, not your whole computer.
  • Tiago Forte checked every decision an AI made when organizing his files. Do the same for anything important.

What this costs to run

In a chat app it runs inside your plan. If you run it as a bot on an AI API, the bill depends on how often it runs and how much it reads.

Estimate it in the cost calculator →

Tip: Use a small AI model for simple jobs, a big one for hard ones. More in Run your bots for less and how much an AI agent costs.

Questions people ask

Which AI tools can do this?

Claude Cowork or Ollama (local models) can do this today. Paste the copy-paste prompt on this page into any of them and fill in the [brackets].

How hard is it to set up?

It's rated Medium. Start with the steps under “What the bot does”.

What should I watch out for?

Always keep a backup. An agent that can move files can also make a mess of them.

Sources

Last checked Oct 24, 2026. Self-reported results from posts are the poster's own claims.

BotsDoThat Weekly

3 to 5 practical jobs you can hand to AI each week

Real examples with sources, a prompt to copy, one new guide and one thing that went wrong. Free, one email a week.

We'll email you a link to confirm. You're not subscribed until you click it. Unsubscribe any time. Privacy

Know someone who'd like this? Forward it, or send them to botsdothat.com/#subscribe