Claude wrote the script that made an e-reader worth using
A huge pile of ebooks from Humble Bundle sat unsorted and unread. Claude wrote a Python script that files them by language, genre and author, and the writer says they now read far more.
Done withClaudeSpotted· by HN user InsideOutSanta· Oct 28, 2026
Result The device: an Xteink X4, to always have a book
“I had Claude write a Python script that sorts the books into a file system structure according to Language → Genre → Sub-Genre → Author.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
The writer had a huge dump of epubs from Humble Bundle and other sources that they used to copy onto an e-book reader, but could never find anything to read. They had Claude write a Python script that sorts the books into a file system structure organized by language, then genre, then sub-genre, then author.
How it went
The e-reader became actually useful because the writer can now easily find whatever book they want to read, and they say it has resulted in their reading much more.
Try it yourself with Claude
Write a Python script that sorts the ebooks in [folder] into folders by language, then genre, then sub-genre, then author, using each file's metadata. Do a dry run first that prints where every file would go, and copy rather than move the files, so I can check the result before touching my library.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
Wanting to know how much caffeine was in their system, they asked Claude to build an app: log a coffee's volume with a button, and watch the caffeine load rise then decay in real time. One shot.
Given access to their calendar, Claude built a "taste profile" from past activities and now regularly sends tips on things to do nearby. Picks they like go on the calendar, with an optional partner invite.
Restoring their blog, they found the backups were incomplete, kept only as raw dd images of drives. Claude looked in the free space on the drive image and got the backup back.
Commercial apps to auto-close stale Finder windows existed for a decade, but none worked how they wanted. With Claude and some spare tokens at the end of the week, they built and open-sourced their own.
A modern 6502 build setup on a Mac took an hour with Claude's free tier: VSCode syntax highlighting, KIM-1 paper tape output, and a serial send to a KIM-1 clone.
Channel jingles at the start and end of background-music videos were a trivial annoyance. Claude wrote a Tampermonkey script, mostly zero-shot, to loop any YouTube segment, in maybe 15 minutes.