pdf

Extract text, tables, and fill forms in PDFs using Python scripts.

Updated Aug 20, 2025
One-click install
npx skills add https://github.com/robertlupo1997/open-vocabulary-object-detection --skill pdf-robertlupo1997
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/robertlupo1997/open-vocabulary-object-detection/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/robertlupo1997/open-vocabulary-object-detection --skill pdf-robertlupo1997

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF documents often require manual, error-prone processes for text extraction, table extraction, form filling, and PDF creation, which slows workflows.

Core Features & Use Cases

  • Text extraction and layout-preserving reading from PDFs
  • Table extraction and PDF creation/merging/splitting
  • Form handling: fillable fields and annotations for non-fillable forms
  • Use Case: Automate processing of vendor invoices and reports to archival-ready formats.

Quick Start

Process a sample PDF to extract text and tables and fill out a sample form.

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 a PDF document?

To extract text and tables from a PDF, this Skill uses pypdf to read content while preserving layout. It processes document structures to pull text and tabular data, making it ready for downstream automation workflows.

Can I automate PDF form filling for non-fillable documents?

Yes, you can automate form filling for non-fillable PDFs. The Skill handles fillable fields and annotations for non-fillable forms, allowing you to overlay data onto static documents without altering the original structure.

Does pypdf work for generating and merging PDF files from structured data?

Yes, pypdf works for generating and merging PDF files. The Skill leverages it alongside pdf2image and Pillow to create PDFs from structured data, merge documents, and split existing files into separate pages.

What's the best way to extract field metadata from a PDF form?

The best way to extract field metadata from a PDF form is using the provided Python scripts. They interface with pypdf to identify form fields, extract their properties, and validate bounding boxes for accurate data mapping.

Why do I need Pillow and pdf2image to process PDF documents?

You need Pillow and pdf2image to process PDF documents because they handle image rendering and visual layout validation. They convert PDF pages into images, enabling annotation placement and bounding box validation for non-fillable forms.