What problem does it solve? Reading text out of PDFs and scanned documents is inconsistent: text-based PDFs need a fast parser, while scanned pages and complex layouts require OCR. This Skill routes each document to the right tool and also covers splitting, merging, searching PDFs, and reading DOCX files. ## Core Features & Use Cases - Tool Selection Decision Flow: Chooses between pymupdf (fast, ~25MB, text-based PDFs) and marker-pdf (OCR, ~3-5GB, scanned or complex layouts with equations and tables). - PDF Manipulation: Split large PDFs into single pages, merge multiple PDFs, search for keywords, and extract embedded images with pymupdf. - OCR Conversion: Convert scanned PDFs to Markdown with marker-pdf, including batch directory processing with parallel workers. - Use Case: Given a folder of scanned invoices, run marker-pdf to convert each to Markdown, then search the output for invoice totals. ## Quick Start Extract all the text from the attached PDF file, using OCR if it turns out to be a scanned document.