pdf

Extract text, fill forms, and merge PDFs using Python libraries.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Derek-X-Wang/skills --skill pdf-derek-x-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Derek-X-Wang/skills/tree/main/pdf
Command: npx skills add https://github.com/Derek-X-Wang/skills --skill pdf-derek-x-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF processing is often tedious and error-prone when extracting text and tables, filling forms, and combining multiple documents. This Skill provides a cohesive, script-based toolkit to automate these tasks in a reproducible way.

Core Features & Use Cases

  • Text and table extraction: retrieve textual content and structured data from PDFs using Python libraries and CLI tools.
  • Form handling and annotation: fill out fillable forms, add annotations for non-fillable data, and support both controlled and manual workflows.
  • Document creation and assembly: merge, split, and generate PDFs to streamline batch processing and archival.
  • Use Case: automate processing of supplier invoices by extracting line items, filling standard forms, and consolidating multiple PDFs into a single report.

Quick Start

Run a sample workflow by processing a sample.pdf to extract text, handle forms, and merge documents.

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 PDF files using Python?

To extract text and tables from PDF files, this Skill uses the pypdf library to parse and retrieve textual content and structured data. It provides deterministic Python scripts to automate this extraction process reproducibly.

How do I automate filling out fillable PDF forms and adding annotations?

Automating PDF form filling and annotation involves using pypdf to populate fillable fields and apply structured data. This Skill supports both controlled automated workflows and manual annotation for non-fillable documents.

What's the best way to merge, split, and assemble multiple PDFs for batch processing?

The best way to merge, split, and assemble PDFs is using this Skill's script-based toolkit, which leverages pypdf to streamline document creation and consolidation for batch processing and archival.

Can I use Python to convert PDF pages to images for record digitization?

Yes, you can convert PDF pages to images for record digitization by utilizing the pdf2image and Pillow dependencies. This Skill integrates these libraries to render PDFs for comprehensive document manipulation.

Does this PDF processing toolkit support extracting line items from supplier invoices?

Yes, this PDF processing toolkit supports extracting line items from supplier invoices. It combines text extraction, form handling, and document assembly to automate administrative workflows like invoice processing.

Are there limitations when extracting structured data from non-fillable PDF forms?

When processing non-fillable PDFs, structured data extraction relies on text parsing rather than form fields. This Skill handles limitations by supporting manual annotation workflows alongside automated pypdf parsing.