pdf

Extract text and tables from PDF documents using Python.

1|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/beyondkmp/claude-code-plugins --skill pdf-beyondkmp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/beyondkmp/claude-code-plugins/tree/main/plugins/skills/document-processing/pdf-anthropic
Command: npx skills add https://github.com/beyondkmp/claude-code-plugins --skill pdf-beyondkmp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow, and includes scripts (resource) components.

## What problem does it solve? This Skill provides a comprehensive Python-based toolkit for automatic PDF processing, enabling extraction, creation, and modification of PDF documents.

## Core Features & Use Cases

  • Read and manipulate PDFs: extract text and tables, rotate pages, merge and split documents, create new PDFs, and handle forms both fillable and non-fillable.
  • Form digitization and automation: fill forms programmatically, annotate non-fillable forms, and extract field metadata for audit trails.
  • Real-world scenario: automate consolidation of vendor PDFs, extract key fields into CSV/Excel, and auto-fill standard forms across an enterprise workflow.

### Quick Start

  • Install dependencies: pip install pypdf pdf2image Pillow
  • Example: extract text from document.pdf using the toolkit; or merge doc1.pdf and doc2.pdf into merged.pdf.

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 document in Python?

To extract text and tables from a PDF, this skill uses pypdf to read document content and structure. It processes the PDF to isolate text blocks and table data for output into usable Python data structures.

Can I automate filling out PDF forms programmatically?

Yes, you can automate PDF form filling programmatically. The toolkit handles both fillable forms and non-fillable forms, allowing you to input data, annotate documents, and extract field metadata for audit trails.

What Python dependencies do I need to manipulate PDF files?

You need three Python dependencies to manipulate PDF files: pypdf for reading and writing, pdf2image for converting pages to images, and Pillow for image processing tasks within your workflow.

What is the best way to merge and split PDF documents at scale?

The best way to merge and split PDFs at scale is using a Python-based toolkit like this one. It leverages pypdf to programmatically combine multiple vendor documents or split large files into individual pages.

How does Python handle PDF page rotation and document creation?

Python handles PDF page rotation and document creation through the pypdf library. This skill provides scripts to rotate specific pages within existing documents and create new PDF files from scratch programmatically.

Does this PDF processing approach work for enterprise workflow automation?

Yes, this PDF processing approach works for enterprise workflow automation. It consolidates vendor PDFs, extracts key fields into CSV or Excel files, and auto-fills standard forms across automated business processes.