pdf

Extract text, tables, and metadata from PDFs using Python scripts.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Chai-Un/wedding --skill pdf-chai-un
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Chai-Un/wedding/tree/main/.github/skills/pdf
Command: npx skills add https://github.com/Chai-Un/wedding --skill pdf-chai-un

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow.

What problem does it solve?

This Skill automates PDF handling to replace manual editing, enabling reliable extraction, assembly, and form processing across large sets of documents.

Core Features & Use Cases

  • Automated form handling: fill and extract data from both fillable and non-fillable PDFs.
  • Text and data extraction: pull text, tables, and metadata from PDFs and assemble reports.
  • Use Case: preprocess hundreds of invoices by extracting key fields and compiling summaries for accounting.

Quick Start

Use the included Python scripts to extract form field metadata from a PDF, merge documents, or fill a form with a provided field_values.json.

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

Extracting text and metadata from PDFs uses Python with pypdf to parse documents. This approach pulls text, tables, and metadata, allowing you to assemble reports and preprocess large document sets by isolating key fields.

Can I fill out both fillable and non-fillable PDF forms automatically?

Filling both fillable and non-fillable PDF forms is supported through automated form handling. By providing a field_values JSON file, Python scripts apply data to documents, reducing manual entry errors across administrative workflows.

Does this PDF manipulation approach require any specific Python libraries?

This PDF manipulation approach requires the pypdf and Pillow libraries. Additionally, pdf2image is an optional dependency used for page rendering when you need to parse or annotate PDF pages within your Python workflow.

What is the best way to merge and split large sets of PDF documents?

The best way to merge and split large sets of PDF documents is automating the process with Python scripts. This replaces manual editing, ensuring reliable assembly and composition for archival tasks while reducing errors.

How do I render and annotate PDF pages when processing invoices?

To render and annotate PDF pages when processing invoices, use the pdf2image library alongside Pillow. This renders pages for visual processing, allowing you to reliably extract key fields and compile summaries for accounting.