Challenge
- Opening the vendor's app and picking settings for every scan is tedious, so paper piles up
- Scanned files end up with serial numbers or garbled names that cannot be searched later, and renaming and sorting by hand never lasts
Approach
- Scanning talks to the printer directly over eSCL; you only pick one of five presets: document, color, receipt, photo or draft
- Filing is split: Claude judges content and names, a script finds, moves and logs files for undo. Claude first learns the naming convention from folders that are already tidy, and follows it
Outcome
- Put the paper down and ask; the scan runs, and Claude checks right away for blank pages or skew
- Moves run only after you see the preview; existing files with the same name are skipped, never overwritten, and the log can undo everything
Household paperwork is mostly things you will need to find later but that arrive without names: medical statements, certificates, payment receipts. The author turned scanning and filing into one flow made of two Claude Code skills.
The scan skill first checks the printer's status and stops if it is not idle. The filing skill says up front that reading content puts the text into the conversation, and lets you choose between reading the text or sorting only by file name and date.
Key points
Not inventing a naming scheme. Claude reads the convention from already-filed documents, such as date + institution + subject, and uses the date printed on the document, not the scan date. When no convention can be read or the category is unclear, it asks, showing what it saw.
Writing a plan before touching anything. Each entry lists source, new name, destination and the reason, and a person reviews the dry-run output before it runs. Reasons must be checkable, like what the first page's heading says and which date it shows.
Making it hard to break things. The script only moves files, never copies or deletes, and skips any destination that already exists. Each skipped file is reported with its reason, and the undo command is shown at the end.