← Ideas · 🗂️ Computer cleanup · Last checked: November 10, 2026

Clean up the files on your desktop

You can do this after: Intermediate

💻 This only works on a computer. You'll need Claude Code or the Claude desktop app.

In one line

Open Claude Code in your Desktop folder and say “Sort these into folders by type. Just show me the plan first.” Look at the plan, and if it looks good, let it move them.

When to use it

Before you start

Follow along

Step 1. Open Claude Code on your desktop

🍎 Mac

Open the terminal, type the two lines below one at a time, and press Enter after each.

cd ~/Desktop
claude

If a window like “Terminal would like to access files in your Desktop folder” appears, click Allow.

🪟 Windows

Open PowerShell, type the two lines below one at a time, and press Enter after each.

cd $HOME\Desktop
claude

If it says it “cannot find path,” your Desktop is inside OneDrive. Try cd $HOME\OneDrive\Desktop instead.

Step 2. Get the plan first

I want to organize the files in this folder by type. Show me a plan for creating Photos, Documents, Archives, Installers, and Other folders and moving the files into them. Don’t move anything yet, and never delete any files.

Illustration (may look a little different from the real screen)

I want to organize the files in this folder by type. Show me a plan for creating Photos, Documents, Archives, Installers, and Other folders and moving the files into them. Don't move anything yet, and never delete any files.

Sample replyI looked through 87 files. Here's the plan.

Photos (42): IMG_0012.jpg, Screenshot….png …
Documents (23): quote.pdf, meeting-notes.docx …
Archives (9): files.zip …
Installers (6): …dmg, …exe
Other (7)

Shall I go ahead like this?

Step 2: ask to see the plan before anything moves

Step 3. Adjust the plan and run it

If you don’t like the plan, change it in plain words. For example, “Put work documents in a separate ‘Work’ folder.” If it looks good, say:

OK, move them like this.

If you’d like to check each one before it moves, press Shift + Tab so ⏸ manual mode on shows at the bottom of the screen. In the default auto mode it moves files right away without asking. In manual mode it asks “May I do this?”, so read it and approve if it looks right.

Make it your own

Watch out for

I'm stuck here

Stuck while following along? Tell me where. Only the site owner sees this. Leave your email only if you'd like a reply.