pdf

Process PDFs with Python libraries for extraction, merging, OCR, and form filling.

Updated Nov 15, 2025
One-click install
npx skills add https://github.com/billh93/snchz --skill pdf-billh93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/billh93/snchz/tree/main/.agents/skills/pdf
Command: npx skills add https://github.com/billh93/snchz --skill pdf-billh93

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Processing PDF documents often requires switching between tools for reading, extracting data, merging files, or applying forms and OCR. This Skill consolidates common PDF operations into a single, reproducible workflow, reducing manual steps and human error.

Core Features & Use Cases

  • Read, extract text and tables from PDFs using reliable Python libraries.
  • Merge or split PDFs, rotate pages, add watermarks, and encrypt/decrypt documents.
  • Create new PDFs, extract images, and perform OCR on scanned files to enable searchability.
  • Fill PDF forms automatically or annotate non-fillable PDFs for data collection and archival.
  • Use Case: Digitize a stack of invoices by extracting vendor data and totals, then compile into CSV and archive.

Quick Start

Provide a PDF file and the desired operation to perform text extraction, merging, form filling, OCR, or encryption.

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 for data processing?

Extract text and tables from PDF documents using pdfplumber and pypdf to parse structured content. This approach pulls readable text and tabular data from digital PDFs, enabling downstream data processing workflows like compiling invoice data into CSV files.

What's the best way to make a scanned PDF searchable?

Perform OCR on scanned PDFs using pdf2image and Pillow to convert document pages into images, then extract text to enable searchability. This digitization process transforms flat scanned images into searchable and indexable document archives.

Can I merge multiple PDF files and add an encryption password?

Merge multiple PDF files and apply encryption using pypdf to combine documents and secure them with password protection. You can execute both page-level operations like merging and document-level transformations like encryption in a single automated workflow.

Does pypdf support filling out PDF forms automatically?

Yes, pypdf supports filling out PDF forms automatically to streamline data collection. You can populate interactive form fields programmatically or annotate non-fillable PDFs, reducing manual data entry and human error in administrative and archival contexts.

How do I extract images from a PDF file using Python?

Extract images from a PDF file using Python libraries like pdf2image and Pillow to render and process visual content. This allows you to pull embedded visual assets from documents for separate storage, analysis, or transformation tasks.