pdf

Extracts text and tables from PDFs using Python scripts and templates.

4|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/Touricks/fanshi_personal_skills --skill pdf-touricks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Touricks/fanshi_personal_skills/tree/main/original/skills/pdf
Command: npx skills add https://github.com/Touricks/fanshi_personal_skills --skill pdf-touricks

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF workflows often require manual, repetitive tasks like extracting text and tables, filling forms, merging or splitting documents, and generating new PDFs. This Skill provides a comprehensive toolkit to automate these tasks programmatically.

Core Features & Use Cases

  • Text and table extraction from PDFs using Python libraries.
  • Create, merge, split, and manipulate PDFs, including form handling.
  • Use Case: Automate processing of large batches of invoices or reports to extract data and produce standardized outputs.

Quick Start

Run a sample script to extract text from a PDF and view the results.

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 documents in Python?

Yes, you can fill PDF form fields programmatically using Python scripts that verify form fields and apply annotations. This toolkit handles form processing workflows, allowing you to automate filling out standardized documents and validate bounding boxes within the forms.

What's the best way to merge and split PDF files for batch document processing?

The best way to merge and split PDF files for batch processing is using a Python-based automation toolkit. It manipulates PDFs programmatically, handling document splitting and merging with robust error handling for large volumes of invoices or reports.

Does pypdf support converting PDFs to images for bounding box validation?

Yes, pypdf works alongside pdf2image and Pillow to convert PDFs to images for visual validation. This combination supports comprehensive document manipulation, allowing scripts to verify form fields and validate bounding boxes within the converted image outputs.

How do I automate data extraction from invoices using Python?

You automate data extraction from invoices using Python by applying text and table extraction scripts to batch process PDFs. This toolkit standardizes outputs from large batches of invoices, handling form fields and document manipulation programmatically.

Can I use Python to create and fill PDF forms with annotations?

Yes, you can create and fill PDF forms with annotations using Python scripts. The toolkit verifies form fields, applies annotations, and validates bounding boxes, enabling automated form processing and document generation for standardized outputs.