pdf

Fill PDF forms and extract text and tables using pypdf, pdfplumber, and pdf2image.

2|3|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/psd401/psd-claude-plugins --skill pdf-psd401
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/psd401/psd-claude-plugins/tree/main/plugins/psd-productivity/skills/pdf
Command: npx skills add https://github.com/psd401/psd-claude-plugins --skill pdf-psd401

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow, 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 time and reducing manual effort.

Core Features & Use Cases

  • Fillable Form Filling: Accurately populates fields in PDFs that have pre-defined form elements.
  • Non-Fillable Form Annotation: Adds text annotations to PDFs that lack fillable fields, based on visual analysis and defined bounding boxes.
  • Data Extraction: Extracts text content and structured tables from PDF documents.
  • Use Case: Automatically fill out a batch of standardized application forms with user-provided data, or extract all tabular data from a research paper into a spreadsheet.

Quick Start

Use the pdf skill to fill out the form in 'application.pdf' with the provided data.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I automate filling out PDF forms that lack pre-defined fillable fields?

To automate filling non-fillable PDF forms, you can add text annotations based on visual analysis and defined bounding boxes. This approach overlays text onto the document without requiring existing interactive form elements.

What is the best way to extract text and structured tables from PDF documents?

The best way to extract text and structured tables from PDF documents is by using libraries like pypdf and pdfplumber. These tools parse document content directly to pull out structured data for further processing.

How do I populate interactive fillable PDF fields with user-provided data?

To populate interactive fillable PDF fields, you can directly update the existing form elements with user-provided data. The process checks field types and accurately fills pre-defined fields within the document.

Do I need Pillow and pdf2image to convert PDFs to images for validation?

Yes, you need Pillow and pdf2image to convert PDFs to images. These dependencies allow you to create validation images, enabling visual analysis to accurately place annotations on non-fillable forms.

Can I use pypdf to check field types before filling out a PDF form?

Yes, you can use pypdf to check field types before filling out a PDF form. The process includes scripts for identifying field types to determine whether to fill existing fields or add annotations.

Why does PDF data extraction sometimes fail on scanned document images?

PDF data extraction often fails on scanned document images because tools like pypdf parse embedded text, not pixels. Scanned documents lack embedded text layers, requiring image conversion and visual analysis instead.