pdf

Extract text and tables from PDFs using pypdf and pdfplumber.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/yibozhong/skills --skill pdf-yibozhong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/yibozhong/skills/tree/main/pdf
Command: npx skills add https://github.com/yibozhong/skills --skill pdf-yibozhong

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill automates a wide range of PDF tasks, including reading and extracting text and tables, merging or splitting PDFs, rotating pages, adding watermarks, creating new PDFs, filling forms, encrypting/decrypting PDFs, extracting images, and performing OCR on scanned PDFs to make content searchable.

Core Features & Use Cases

  • Text and data extraction: read PDFs and pull text and tables into usable formats.
  • PDF composition: merge multiple PDFs, split documents, and rotate pages.
  • Form handling: fill out forms, OCR for scans, and apply watermarks or encryption for secure distribution.

Quick Start

Please extract all text from a PDF and save it to a text 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 for invoice data extraction?

PDF text and table extraction uses pdfplumber to pull content into usable formats for invoice data extraction. It reads document structures directly, enabling automated parsing of text and tabular data from digital PDFs across document-heavy workflows.

Can I perform OCR on scanned PDF documents to make them searchable?

OCR on scanned PDF documents converts images into searchable text using pdf2image and Pillow. This process renders scanned pages as images, then applies optical character recognition to digitize archival content and make previously static documents searchable.

What is the best way to merge multiple PDFs or split a document by pages?

Merging multiple PDFs or splitting documents is handled through pypdf composition operations. It automates PDF tasks end-to-end by combining multiple files into one or dividing a single document into separate pages without manual intervention.

Does PDF form filling work on non-fillable scanned documents?

PDF form filling includes validation and safe fallbacks for non-fillable forms. When encountering non-fillable documents, the process validates the form structure and applies alternative handling methods to ensure data input succeeds across various document types.

How do I add watermarks or encrypt a PDF for secure contract distribution?

Watermarking and encrypting a PDF secures contract distribution by overlaying text or images and applying password protection. These features ensure sensitive documents remain protected during archival digitization and secure distribution workflows.

What libraries are required to automate PDF processing tasks end-to-end?

Automating PDF processing requires pypdf, pdfplumber, pdf2image, and Pillow libraries. These dependencies handle text extraction, image rendering, document composition, and OCR, providing the environment needed to execute comprehensive PDF automation workflows.