pdf

Automates PDF processing including merging, extracting text/tables, OCR, and form filling using Python libraries.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/XinyuYao98/engineering-playbook --skill pdf-xinyuyao98
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/XinyuYao98/engineering-playbook/tree/main/skill/pdf
Command: npx skills add https://github.com/XinyuYao98/engineering-playbook --skill pdf-xinyuyao98

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDFs are often manual to process, requiring multiple tools to read, merge, split, fill forms, or OCR; this skill centralizes those tasks into a programmable workflow.

Core Features & Use Cases

  • Read and extract text and tables from PDFs.
  • Merge, split, rotate, watermark, or create new PDFs.
  • Fill PDF forms, extract images, and perform OCR on scanned documents.
  • Use Case: Batch processing of invoices or legal documents in a production pipeline.

Quick Start

Use this skill to extract all text from a provided PDF file.

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 in a production pipeline?

Extracting text and tables from PDFs programmatically requires libraries like pdfplumber to parse document structures and access embedded content. This approach automates data extraction workflows, replacing manual reading for batch processing of invoices or legal documents.

How do I perform OCR on scanned PDF documents?

Performing OCR on scanned PDFs involves rendering the document pages into images using pdf2image and Pillow. Once pages are images, optical character recognition processes can be applied to extract text from the scanned content automatically.

Do I need Python to merge, split, and fill PDF forms automatically?

Yes, you need Python to automate PDF processing tasks like merging, splitting, and filling forms. The workflow relies on Python libraries such as pypdf and pdfplumber to parse PDFs, access form fields, and perform transformations.

What is the best way to batch process invoices and prepare legal documents?

The best way to batch process invoices and prepare legal documents is using a programmable workflow that automates merging, splitting, and watermarking. This centralizes manual tasks into a single pipeline using libraries like pypdf for transformations.

Can I extract images and fill PDF forms using pypdf and pdfplumber?

Yes, you can extract images and fill PDF forms using pypdf and pdfplumber. These libraries parse PDFs to access form fields for filling and manipulate document structures to extract embedded images within an automated workflow.

Why does PDF processing require multiple libraries like pdf2image and Pillow?

PDF processing requires multiple libraries because different tasks need specific functionalities: pdfplumber extracts text and tables, pypdf handles merging and form filling, while pdf2image and Pillow render pages to images for OCR on scanned documents.