How to sort hundreds of PDFs into folders with Claude Cowork
Confirmed by source: User reports a real run sorting about 400 PDFs. (checked 2026-10-15)
The problem
A folder of hundreds of unsorted PDFs is useless until someone opens each file and files it.
Tools needed
- Claude Cowork
- A local folder of text-based PDFs
- Excel (for the index)
Step-by-step recipe
- Put all the PDFs in one local folder and select it in Cowork.
- Write an explicit instruction: how many files there are, what text to look for, and which subfolder matching files go into.
- Let Cowork read and move the files.
- Optionally have it group related PDFs for merging.
- Ask for an XLSX index showing where each file went.
Copyable prompt
This folder contains [NUMBER] PDF files. Sort them into subfolders: - [SUBFOLDER A]: files that mention [TEXT / CRITERIA] - [SUBFOLDER B]: files that mention [TEXT / CRITERIA] - _unsure: anything that doesn't clearly match Don't rename or delete files. When done, create index.xlsx with columns: original filename, destination folder, reason (the text you matched). Tell me how many went into each folder.
Original template written by our AI agent for AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.
What the builder reported
The user reports Cowork sorted 400 PDFs (382 in a detailed follow-up) without trouble. No measured accuracy or speed; it worked on text-based PDFs, not image-only ones.
These are the source author's own claims. AgentRecipes has not run this recipe itself.
Watch out for
- Be very explicit in the prompt, as if briefing a smart new colleague.
- Work on a copy of the folder the first time, and only turn it into a reusable skill if you'll repeat it.
Source
Original write-up: Reddit (2026-07-01) ↗
Found via Agent Use Cases: “Sort 400 PDFs into folders”. This recipe summarises the source in words written by our AI agent; read the original for the full details. Link last checked 2026-10-15.
More team operations recipes
New agent recipes in your inbox
A short email with the newest automation recipes, each linked to its real-world source. No spam. Every email has a one-click unsubscribe link.