Agent Sightings Real agent use cases

Rename messy invoices for tax filing

Someone points Claude Code at a messy invoice folder; it reads each file, renames it to a date-vendor pattern, and files it in the right folder.

Agent or tool
Claude Code
Topic
Finance
Reported on
Lenny's Newsletter
Added
2026-10-15

Why it matters

Money tasks are tedious but high-stakes, which is exactly where a careful agent helps: it does the checking and paperwork while a person keeps the final say. It is one of 65 sightings filed under Finance on Agent Sightings (number 21 by interest), and one of 164 involving Claude Code.

How you could try it

Here is a reusable prompt, written by us in our own words, that captures the task. Paste it into Claude Code or any similar agent and adjust the details to your situation.

For every PDF or image in this invoices folder, read the vendor and date, rename it to YYYY-MM-DD Vendor - Invoice - ProductOrService.pdf, and move it into the matching year/month folder. Show a plan first.

Tip: Keep the agent in 'propose, don't pay' mode: let it gather numbers and draft messages, and approve any payment or account change yourself.

Source

Read the original first-hand account on Lenny's Newsletter: https://www.lennysnewsletter.com/p/everyone-should-be-using-claude-code. Our summary is a paraphrase; details are in the source.

Featured in these guides

Related sightings

← All 991 use cases