pdf

Automate PDF text extraction, merging, splitting, OCR scanning, and form handling with Python libraries and CLI tools.

2|1|Updated Oct 11, 2025
One-click install
npx skills add https://github.com/rafaelcalleja/claude-market-place --skill pdf-rafaelcalleja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/rafaelcalleja/claude-market-place/tree/main/plugins/claudekit-skills/skills/document-skills/pdf
Command: npx skills add https://github.com/rafaelcalleja/claude-market-place --skill pdf-rafaelcalleja

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually handling PDF documents for form filling, data extraction, or validation is a tedious and error-prone process. This skill automates these tasks, saving significant time and improving accuracy.

Core Features & Use Cases

  • Automated Form Filling: Programmatically fill both fillable and non-fillable PDF forms.
  • Data Extraction: Extract text, images, and structured table data from any PDF into usable formats.
  • Form Field Analysis: Identify and inspect form fields, bounding boxes, and annotations for precise interaction.
  • Visual Validation: Create validation images to visually verify form filling accuracy, reducing manual checks.
  • Use Case: Automatically process a batch of expense reports in PDF format, extracting key financial data and populating a spreadsheet, then generating a visual validation image for review.

Quick Start

Use the pdf skill to extract all text content from the attached file 'report.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 table data from PDF files programmatically?

Extract text and structured table data from PDFs using Python libraries like pdfplumber and pypdf, which parse content directly into usable formats without manual copying. Both libraries handle standard and complex layouts, returning text strings and table objects for further processing.

Can I automatically fill PDF forms with data from a script?

Yes, you can programmatically fill both fillable and non-fillable PDF forms using pypdf and related tools. The skill identifies form fields, maps data to their locations, and generates completed PDFs ready for submission or validation.

How do I validate PDF form filling accuracy without manual review?

Generate visual validation images from filled PDFs using pdf2image to convert pages to image files, then review them programmatically or manually. This reduces errors and speeds up batch processing workflows.

What's the best way to process batches of scanned PDF documents?

Use OCR capabilities via pypdf and pdfplumber to extract text from scanned pages, then automate data extraction and form filling across entire document sets. This transforms unstructured scans into structured, processable data.

Can I merge, split, or rotate PDF pages in a Python pipeline?

Yes, pypdf and qpdf enable merging multiple PDFs, splitting documents into separate files, and rotating pages—all callable from Python scripts. These operations integrate into automated workflows without external tools.