pdf

Parse and manipulate PDF documents with Python and CLI tools.

3|2|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/hotriluan/ai-command-center --skill pdf-hotriluan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/hotriluan/ai-command-center/tree/main/document-skills/pdf
Command: npx skills add https://github.com/hotriluan/ai-command-center --skill pdf-hotriluan

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually interacting with PDF documents for form filling, data extraction, or content conversion is a time-consuming and error-prone process. This skill provides a suite of Python scripts to automate these tasks, enabling efficient and accurate processing of PDF files, saving significant manual effort.

Core Features & Use Cases

  • Automated Form Filling: Fill both fillable and non-fillable PDF forms programmatically, including support for annotations.
  • Data Extraction: Extract form field information, bounding boxes, and convert PDF pages to images for visual validation.
  • Validation & Verification: Check fillable fields and create validation images to ensure accurate form completion.
  • Use Case: A business needs to process hundreds of standardized PDF application forms. This skill can automatically extract applicant data, fill in specific fields based on business logic, and generate validation images for quick review, drastically reducing manual data entry and potential errors.

Quick Start

Extract all fillable form field information from the attached PDF file 'application_form.pdf'.

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

Extract text and tables from PDFs using Python libraries like pdfplumber and pypdf, which parse content structure and recover formatted data from multi-page documents without manual intervention.

Can I automate filling PDF forms with data from a database or script?

Automate form filling by programmatically detecting fillable fields with pypdf, mapping data to field names, and writing values directly to PDF forms—supporting both standard fillable fields and annotation-based filling for non-standard forms.

What's the best way to process hundreds of standardized PDF documents at scale?

Process bulk PDFs by combining pypdf and pdfplumber for extraction, form field detection, and validation in Python scripts, then generate validation images with pdf2image to verify accuracy before batch export.

How do I merge, split, or rearrange pages in multiple PDF files?

Merge and split PDF documents using pypdf's page manipulation methods, enabling you to combine files, extract ranges, or reorganize multi-page documents within Python workflows or CLI commands.

Can I convert PDF pages to images for visual validation or OCR processing?

Convert PDF pages to image files using pdf2image, producing visual representations for manual review, OCR input, or downstream image processing without losing layout fidelity.

What are the limitations when working with scanned or image-based PDFs?

Text extraction from image-based PDFs requires OCR tools; standard text extraction libraries like pdfplumber work only on searchable, text-layer PDFs—pdf2image plus OCR provides a workaround for scanned documents.