Research & KnowledgeDone with Claude Aug 31, 2026
Reverse-engineer a book file format to search it
After the RAG indexer crashed on an uploaded book, Claude used Unix commands to work out the file format and grep the book manually.
- What They Did
- The commenter uploaded a book into the project context on Claude's web chat. The RAG indexer crashed on the file. Claude then used a series of Unix commands to work out the book's file format, and searched the contents with grep by hand. The source doesn't say whether the commenter prompted any of these steps.
- How It Went
- Claude got around the crashed indexer and could search the book anyway. The commenter found this surprising. The source gives no details on accuracy, the file format, or how long it took.
Try it yourself with Claude
I have a file at [path to file] that my tools can't read properly, and it is a [book/document, format if known]. Use command-line tools to inspect its structure, work out the format, and extract the readable text into a plain text file. Then search it for [topic or phrase] and show me the matching passages with their locations. Don't modify the original file.