pdf

Extract and manipulate text and data from PDF documents.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/pi-2r/copilot-cli-docker --skill pdf-pi-2r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/pi-2r/copilot-cli-docker/tree/main/.copilot/skills/pdf
Command: npx skills add https://github.com/pi-2r/copilot-cli-docker --skill pdf-pi-2r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow.

What problem does it solve?

PDF workflows often involve manual data extraction, form handling, and document assembly. This Skill provides a comprehensive toolkit to automate PDF manipulation, from text extraction to creating, merging, and filling forms, enabling scalable document processing.

Core Features & Use Cases

  • Automated text and table extraction from PDFs.
  • Create new PDFs, merge/split documents, and manage forms (fillable and non-fillable).
  • Use case: batch-process invoices to extract fields and populate a database, or fill forms automatically.

Quick Start

Run the pdf skill to extract all text from an attached PDF.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PDF text and table extraction for batch processing?

Automate PDF text and table extraction by parsing binary PDF streams using Python libraries. This approach supports batch processing across multiple PDFs to retrieve archival data and populate databases with extracted fields.

Can I automatically fill PDF forms and merge multiple documents using Python?

Yes, you can fill PDF forms, merge, and split documents using Python. The workflow relies on libraries like pypdf, pdf2image, and Pillow to render pages, manipulate form fields, and assemble new PDFs.

What is the best way to digitize archival PDF forms and extract data?

The best way to digitize archival PDF forms is to automate extraction workflows that parse binary streams and render pages. This enables scalable document processing and retrieves archival data from multiple files.

Does pypdf support rendering PDF pages to images for annotation workflows?

Yes, pypdf works alongside pdf2image and Pillow to render PDF pages into images. This combination supports form digitization and annotation workflows by parsing binary streams and managing visual page elements.

Why does extracting structured data from scanned PDFs require additional libraries?

Extracting structured data from scanned PDFs requires rendering pages to images before applying text recognition. The pdf2image and Pillow dependencies handle rendering binary streams into images for subsequent form digitization workflows.