pdf

Extract text and fill forms in PDFs using Python libraries.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/mattismyname3011/school-council-election --skill pdf-mattismyname3011
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/mattismyname3011/school-council-election/tree/main/skills/document-skills/pdf
Command: npx skills add https://github.com/mattismyname3011/school-council-election --skill pdf-mattismyname3011

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill reduces manual effort spent on handling PDFs by automating form filling, text extraction, and document preparation.

Core Features & Use Cases

  • Automated PDF Form Filling: Programmatically fill both fillable and non-fillable PDF forms.
  • Text and Data Extraction: Extract text and tables from PDFs for reporting and archiving.
  • Use Case: Process hundreds of student transcripts by pulling key fields into CSV for analysis.

Quick Start

Run the extraction workflow on sample.pdf: python scripts/extract_form_field_info.py sample.pdf fields.json

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract data from PDF forms in bulk for analysis?

To extract data from PDF forms in bulk, this Skill uses Python with pypdf to parse form fields and text, outputting structured data like JSON for analysis. It handles batch processing across administrative and educational workflows.

Can I programmatically fill both fillable and non-fillable PDF forms using Python?

Yes, you can programmatically fill both fillable and non-fillable PDF forms using Python. This Skill uses pypdf to parse and modify documents, allowing automated document preparation without manual data entry.

Does pypdf support generating annotated PDF outputs for automated document preparation?

Yes, pypdf supports generating annotated PDF outputs for automated document preparation. This Skill leverages pypdf along with pdf2image and Pillow to parse, render, and modify PDFs including annotations.

What is the best way to convert PDF text and tables into CSV for archiving?

The best way to convert PDF text and tables into CSV for archiving is using automated Python extraction scripts. This Skill parses documents with pypdf to pull key fields into structured formats for reporting.

Why use pdf2image and Pillow alongside pypdf for PDF automation tasks?

Using pdf2image and Pillow alongside pypdf enables comprehensive PDF automation by allowing scripts to render, rasterize, and visually process pages. This combination supports advanced document preparation and annotation generation.

Are there limitations when batch processing hundreds of PDF files for text extraction?

When batch processing hundreds of PDFs for text extraction, limitations depend on document structure and form field consistency. This Skill automates parsing, but complex non-standard layouts may require custom script adjustments.