pdf

Extract text and tables from PDFs using Python libraries.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/TIAN0517/iosboss --skill pdf-tian0517
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/TIAN0517/iosboss/tree/main/temp_extract/99999999/skills/pdf
Command: npx skills add https://github.com/TIAN0517/iosboss --skill pdf-tian0517

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the end-to-end handling of PDF documents, eliminating repetitive manual work by extracting text and tables, filling forms, and composing new PDFs programmatically.

Core Features & Use Cases

  • Text and table extraction from PDFs using Python libraries (pypdf, pdfplumber) for structured data pipelines.
  • Form handling and annotation: fillable and non-fillable forms via scripted field updates and text annotations.
  • PDF composition: merging, splitting, and programmatic creation of PDFs to support reporting, invoicing, and archival workflows.
  • Use Case: Process a batch of invoices to extract metadata and populate a central database or CSV.

Quick Start

Example commands:

  • python scripts/extract_form_field_info.py input.pdf fields.json
  • python scripts/fill_fillable_fields.py input.pdf fields.json output.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 invoices?

Automate PDF text and table extraction using Python libraries like pypdf and pdfplumber to process batch invoices. This enables structured data pipelines by reading invoice metadata and exporting it to a central database or CSV file.

What is the best way to fill fillable PDF forms programmatically using Python?

Fill fillable PDF forms programmatically by mapping field keys to values in a JSON file and applying them via Python scripts. This updates form fields automatically, generating populated PDF documents for automated reporting workflows.

Does pypdf support merging, splitting, and creating new PDFs for archival workflows?

Yes, pypdf supports merging, splitting, and creating new PDFs for archival workflows. Combined with reportlab, it enables programmatic PDF composition to generate reports and structured documents within automated pipelines.

Can I extract form field information from a PDF to use for automated form filling?

Yes, you can extract form field information from a PDF into a JSON file. This maps the document's fillable fields, allowing you to define structured data inputs for subsequent automated form filling and annotation.

How do I handle non-fillable PDF forms when automating document workflows?

Handle non-fillable PDF forms by applying scripted text annotations directly onto the document layers. This approach overlays text data onto static PDF pages, enabling automated population of forms that lack interactive fillable fields.

What Python dependencies are required for PDF generation and image extraction?

PDF generation and image extraction require Python dependencies including pypdf, pdf2image, and Pillow. These libraries enable reading, modifying, and creating PDFs while supporting image conversion for comprehensive document manipulation.