PDF Extract

Extracts text and tables from PDFs, fills forms, and merges documents. Use when the user mentions PDFs, form filling, or document extraction. Do not use for scanned image-only PDFs without OCR.

gesh75 1eb944e 3 files · 854 B Updated

File contents

PDF extract

  1. Confirm the file path and the desired output (text, tables, filled form, merge).
  2. Prefer scripts/extract.py over ad-hoc one-liners.
  3. For form field maps see FORMS.md.
  4. Return the artifact path and a one-line summary of pages processed.

Do not load every page into context. Stream through the script and keep only the rows you need.

python scripts/extract.py input.pdf --tables

Safety

Never upload the PDF to a third-party API. Confirm page count before writing.

gesh75/claude-skill-lint/tree/main/tests/fixtures/clean/pdf-extract commit 1eb944e7d1

Frequently asked questions

npx skillmds@latest add gesh75/pdf-extract