pdf

Fill PDF forms and extract text and tables using Python libraries.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Zaibunis/spec-driven-hackathons --skill pdf-zaibunis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Zaibunis/spec-driven-hackathons/tree/main/phase-5/.claude/skills/pdf
Command: npx skills add https://github.com/Zaibunis/spec-driven-hackathons --skill pdf-zaibunis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, pytesseract, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of filling out PDF forms and extracting data from PDF documents, saving significant manual effort and time.

Core Features & Use Cases

  • Fillable Form Filling: Programmatically populate fields in PDFs that have interactive form elements.
  • Non-Fillable Form Filling: Add text annotations to PDFs that lack fillable fields, based on visual analysis.
  • Data Extraction: Extract text content and structured tables from PDF documents.
  • Use Case: Automatically process a batch of standardized application forms by extracting data from fillable fields or adding annotations to non-fillable ones, then compiling the extracted information into a structured format.

Quick Start

Use the pdf skill to fill out the form in 'application.pdf' using the provided 'application_data.json' file.

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

Extract text and tables from PDF documents by leveraging Python libraries like pdfplumber and pypdf. This approach parses structured content directly from the file, enabling automated data extraction from standardized applications and compiling the information into a structured format.

How do I automate filling out both fillable and non-fillable PDF forms?

Automate PDF form filling by programmatically populating interactive fields with pypdf, or adding text annotations to non-fillable forms using visual analysis. This dual approach handles both interactive elements and flat documents, saving significant manual effort across batch processing.

Does pdfplumber work with pytesseract for data extraction from scanned PDFs?

Yes, pdfplumber works with pytesseract and pdf2image for data extraction from scanned PDFs. pdf2image converts document pages into images, allowing pytesseract to perform OCR and extract text from non-fillable forms that lack interactive elements or embedded text.

What's the best way to process a batch of standardized PDF application forms?

The best way to process a batch of standardized PDF application forms is through document automation. Programmatically interact with PDF elements to extract data from fillable fields or add annotations, then compile the extracted information into a structured format.

Can I add text annotations to a PDF that lacks interactive form fields?

Yes, you can add text annotations to a PDF that lacks interactive form fields. The system uses visual analysis to identify correct placement areas, allowing you to populate non-fillable forms programmatically without needing built-in interactive elements.