pdf

Extract text, tables, and forms from PDF documents using Python libraries.

305|10|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/BinSquare/ERA --skill pdf-binsquare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/BinSquare/ERA/tree/main/python/storage/skills/pdf
Command: npx skills add https://github.com/BinSquare/ERA --skill pdf-binsquare

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pdf2image, pytesseract, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solves? Manual PDF processing is time-consuming and error-prone. This skill automates complex PDF tasks, from data extraction to form filling, freeing you from tedious document management.

Core Features & Use Cases

  • Intelligent Form Filling: Automatically fill both fillable and non-fillable PDF forms with precision, eliminating manual data entry.
  • Advanced Data Extraction: Extract text, tables, and metadata from PDFs, transforming unstructured documents into actionable data.
  • Document Manipulation: Merge, split, rotate, watermark, and password-protect PDFs at scale.
  • Use Case: Quickly process a batch of scanned invoices by extracting key details (vendor, amount, date) and then automatically filling out a new report template, all without human intervention.

Quick Start

Example: Extracting text from a PDF

from pypdf import PdfReader

reader = PdfReader("document.pdf") text = "" for page in reader.pages: text += page.extract_text() print(text)

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract text and tables from PDF documents?

Extract text and tables from PDFs using libraries like pdfplumber and pypdf, which parse page content and transform unstructured document data into structured text and tabular formats for further processing or analysis.

Can I automatically fill out PDF forms with data?

Yes, automate form filling for both fillable and non-fillable PDFs by programmatically mapping data fields to form coordinates, using pypdf and reportlab to inject values and generate completed documents without manual entry.

What's the best way to process large batches of PDFs?

Process PDF batches at scale using Python scripts with pypdf, pdfplumber, and pandas to extract, transform, and validate data across multi-page documents in repeatable workflows, coordinating image-to-PDF transformations and bounding-box validation.

How do I merge, split, or manipulate multiple PDF files?

Merge, split, rotate, watermark, and password-protect PDFs using pypdf and reportlab to combine documents, extract page ranges, apply transformations, and produce reproducible outputs programmatically.

Can I convert scanned PDF pages to searchable text?

Convert scanned PDFs to searchable text using pytesseract for optical character recognition combined with pdf2image to render pages as images, extracting text from non-digital documents.

Do I need OCR capability to extract data from all PDF types?

OCR via pytesseract is necessary only for scanned or image-based PDFs; digital PDFs with embedded text use pdfplumber and pypdf for direct extraction without image rendering overhead.

Related Skills