pdf

Extract text and tables from PDFs using Python libraries.

1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/benjaleivas/Claude-Code-Workflow --skill pdf-benjaleivas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/benjaleivas/Claude-Code-Workflow/tree/main/skills/pdf
Command: npx skills add https://github.com/benjaleivas/Claude-Code-Workflow --skill pdf-benjaleivas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow, pytesseract.

What problem does it solve?

This skill provides a comprehensive approach to PDF processing, including reading, merging, text and table extraction, page rotation, watermarking, form filling, and OCR for scanned documents.

Core Features & Use Cases

  • Read and inspect PDFs with Python libraries (pypdf, pdfplumber)
  • Merge, split, and modify PDFs; extract text and tables; fill PDF forms
  • Automate workflows for document digitization, archival, reporting, and form processing
  • Use Case: Automate extraction of invoice data from a batch of PDFs and compile into CSV

Quick Start

Create a small Python script that reads a PDF and prints the number of pages.

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 a PDF using Python?

You can extract text and tables from PDFs using Python libraries like pypdf and pdfplumber, which parse document structures to render structured data for automated report generation and archiving workflows.

Does Python OCR work for extracting text from scanned PDF documents?

Python OCR for scanned PDF documents works by combining pdf2image, Pillow, and pytesseract to render pages as images and extract actionable text, satisfying document digitization requirements.

What is the best way to merge multiple PDF files and fill out forms programmatically?

The best way to merge PDF files and fill forms programmatically involves using pypdf to modify page structures and handle form filling across large batches for automated workflow processing.

Can I automate invoice data extraction from a batch of PDFs into a CSV?

You can automate invoice data extraction from a batch of PDFs into a CSV by scripting text and table parsing workflows with pdfplumber to compile structured document data.

Why does text extraction fail on scanned PDFs without OCR?

Text extraction fails on scanned PDFs without OCR because scanned documents are embedded as images rather than selectable text layers, requiring pdf2image and pytesseract to digitize the content.