Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explains three ways to feed PDFs to a model, choosing native input, text extraction, or chunked summarization by document size and layout.
Use this skill ↓56% 92%+36 ptsof test cases passed
Passed 23 of 25 test cases with the skill, and 14 of 25 without it.
3 of 3 safety checks passed
Not used yet
Three ways to feed a PDF to the model, in increasing order of preprocessing:
Native PDF input — pass the file directly. Model sees pages as images + extracted text. Best for docs under ~100 pages with meaningful layout (tables, figures, forms). Preserves structure.
Text extraction then send — pdftotext / pypdf / equivalent, then send the text. Loses layout but cheap. Fine for prose-heavy docs where tables don't matter.
Extract → chunk → summarize → send — for docs >100 pages or when you'll query the same doc many times. Preprocess once, cache the summary.
| Doc shape | Path |
|---|---|
| <20 pages, layout matters (report, form, invoice) | Native |
| <20 pages, pure prose (article, memo) | Text extraction |
| 20-100 pages, mixed | Native, but chunk if context tight |
| >100 pages | Extract → chunk → summarize |
| Scanned PDF (no text layer) | OCR first (Tesseract or vision model), then treat as extracted text |
| Tables are the point | Native — text extractors mangle tables |
| Figures/diagrams are the point | Native + explicit "describe the figure on page N" prompt |
prompt-caching). Native PDFs are large — every uncached turn costs full input price on the whole doc.pdftotext reading order. Multi-column PDFs come out as interleaved lines. Use pdftotext -layout for column preservation, or pdftotext -raw for straight reading order — pick per doc, don't guess.Next to this one in the catalogue, plus more from the same author.