pdf-processing

Extract text and tables from PDFs and fill PDF forms using Python scripts.

3|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ever-just/agentskills --skill pdf-processing-ever-just
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pdf-processing
Source: https://github.com/ever-just/agentskills/tree/main/skills/white-paper-writing/blastum-skill-authoring/examples/complex
Command: npx skills add https://github.com/ever-just/agentskills --skill pdf-processing-ever-just

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdfplumber, pdf2image, pytesseract.

What problem does it solve? Working with PDF files programmatically is error-prone: text extraction varies by document type, tables lose structure, scanned files need OCR, and form filling requires careful field mapping and validation. This Skill provides a structured workflow for each of these tasks. ## Core Features & Use Cases - Text and Table Extraction: Pull text and structured tables from PDF pages using pdfplumber, with an OCR path for scanned documents via pdf2image and pytesseract. - Guided Form Filling: A five-step workflow (analyze, map, validate, fill, verify) that turns a PDF form into a JSON field mapping and produces a completed output document. - Use Case: Given a stack of customer intake forms as PDFs, analyze the form fields, map values into a JSON file, validate the mapping, and generate filled output PDFs without manual data entry. ## Quick Start Ask the agent to extract all text and tables from a PDF file, or to analyze and fill a PDF form using the provided field mapping workflow.

Frequently Asked Questions about pdf-processing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text from a PDF in Python?▼

Use pdfplumber to open the PDF and call extract_text() on each page. The library iterates over pages and returns the text content, which you can print or store for further processing.

How to extract tables from PDF files with pdfplumber?▼

Call extract_tables() on a pdfplumber page object to get tables as nested lists of rows. You can then iterate over each row to access individual cell values for export or analysis.

Can I extract text from scanned PDF documents?▼

Scanned PDFs contain images rather than text layers, so standard extraction returns nothing. Convert pages to images with pdf2image and run pytesseract OCR on each image to recover the text.

How do I fill a PDF form programmatically?▼

Follow the five-step workflow: analyze the form to produce a fields.json file, add values to create a mapping, validate the mapping, run the fill script to generate the output PDF, then verify the result manually.

Why does PDF text extraction return empty output?▼

Empty output usually means the PDF is a scanned image without a text layer. Check whether the document is image-based, and if so use the OCR path with pdf2image and pytesseract instead of direct extraction.