Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.
Python agent-skillsai-agentsbook-to-skillcontext-engineeringdocument-processingedtechknowledge-baseknowledge-managementllmpdf-to-markdownragself-studystudy-tools
docs: state that scanned PDFs need OCR first (#132)
Virgilio Junior20912277e48a
diff --git a/README.md b/README.mdindex 56a57bc..70c4ce5 100644--- a/README.md+++ b/README.md@@ -158,6 +158,12 @@ The extractor tries tools in order per format and uses the first available. If n> Before extraction begins, the skill asks you whether the book is **technical** or **text-heavy** and picks the right tool automatically. Docling preserves markdown tables and code blocks; pdftotext is faster for prose-only books.+> **Scanned PDFs need OCR first.** A PDF that is page images with no text layer — a photographed or scanned book — has nothing for these tools to extract. The extractor checks the first pages and stops immediately with an explanation, rather than working through the whole book to produce an empty skill. Run OCR yourself, then convert the result:+>+> ```bash+> ocrmypdf input.pdf output.pdf+> ```+**EPUB:**| Tool | Install | Quality |diff --git a/docs/faq.md b/docs/faq.mdindex 00aa1c0..0453946 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -63,6 +63,22 @@ book-to-skill is built for a different job: you want to go deep on a specific to---+**"My PDF is a scan and extraction stops right away. Why?"**++Because a scanned PDF is a stack of page images — there is no text in it to extract. Every tool in the PDF chain reads a text layer, so a scan yields nothing no matter which one runs.++The extractor checks the first pages and stops there with that explanation. That check exists so the failure costs you a second instead of a full pass over a 400-page book that ends in an empty skill.++Run OCR first, then convert the output:++```bash+ocrmypdf input.pdf output.pdf+```++book-to-skill does not run OCR itself, and that is deliberate: it would mean a heavy dependency and a slow, lossy step for every user, to serve a case that a dedicated tool already handles better. The same applies to figures — text baked into diagrams and charts is not extracted from any format.++---+---