pdf

Automate PDF form filling, extraction, and manipulation across Python and CLI workflows.

6|2|Updated Oct 2, 2025
One-click install
npx skills add https://github.com/lizTheDeveloper/ai_game_theory_simulation --skill pdf-lizthedeveloper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/lizTheDeveloper/ai_game_theory_simulation/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/lizTheDeveloper/ai_game_theory_simulation --skill pdf-lizthedeveloper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pytesseract, pdf2image, poppler-utils, qpdf, libreoffice, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates the manual, time-consuming process of filling out PDF forms, extracting data, and managing PDF documents, allowing you to focus on higher-value tasks. It handles both fillable and non-fillable forms, and complex data extraction.

Core Features & Use Cases

  • Intelligent Form Filling: Automatically fill both fillable and non-fillable PDF forms with precise data, using visual analysis for non-standard layouts.
  • Advanced Data Extraction: Extract text, structured tables, and metadata from complex PDFs, including scanned documents via OCR.
  • Document Manipulation: Merge, split, rotate, watermark, and password-protect PDFs programmatically.
  • Use Case: Process a batch of legal contracts by extracting key clauses, filling in client-specific details, and then merging them into a single, watermarked document, all while handling potential encryption.

Quick Start

Fill out the attached 'loan_application.pdf'. The applicant's name is 'John Smith', their address is '123 Main St, Anytown, USA', and their date of birth is '1980-05-15'. Ensure the checkbox for 'I agree to the terms and conditions' is checked.

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 programmatically?

Extract text and tables from PDFs using pdfplumber for structured data parsing and pytesseract for OCR on scanned documents. This Skill automates text and table extraction across complex PDFs, including those requiring image-based analysis for non-standard layouts.

Can I automatically fill both fillable and non-fillable PDF forms?

Yes. This Skill fills fillable forms by writing to PDF fields and non-fillable forms using visual analysis and image-based field localization. It validates field IDs and values during automated completion across both form types.

What's the best way to process and manipulate multiple PDFs in batch workflows?

Batch process PDFs by merging, splitting, rotating, and watermarking documents programmatically using pypdf and qpdf. This Skill handles document assembly and manipulation at scale across Python toolchains and CLI utilities.

How do I handle encrypted or password-protected PDFs in automation workflows?

Handle encryption and password protection programmatically during form filling and data extraction. This Skill processes encrypted PDFs as part of batch-scale legal and compliance workflows without manual intervention.

Does this approach work with scanned documents and image-based PDFs?

Yes. OCR via pytesseract and pdf2image converts scanned PDFs to machine-readable text. Field localization uses image analysis to identify and populate form fields in non-fillable, image-based documents.

What are the limitations when working with complex or non-standard PDF layouts?

Complex layouts require image-based field localization and visual analysis; standard PDF field definitions work reliably for fillable forms. This Skill validates field IDs and handles both approaches, but layout complexity may require field mapping refinement.