pdf

Extract text and structured data from PDF documents using pypdf and pdfplumber.

Updated Jul 29, 2025
One-click install
npx skills add https://github.com/dieguscl/dotfiles --skill pdf-dieguscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/dieguscl/dotfiles/tree/main/claude/skills/pdf
Command: npx skills add https://github.com/dieguscl/dotfiles --skill pdf-dieguscl

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill eliminates the tedious manual work of filling out PDF forms and extracting data from documents, saving you hours of repetitive effort.

Core Features & Use Cases

  • Automated Form Filling: Programmatically fill both fillable and non-fillable PDF forms.
  • Data Extraction: Pull text and structured table data from any PDF into usable formats.
  • Use Case: Imagine you have 100 vendor invoices in PDF format. Use this Skill to automatically extract the invoice number, date, and total amount from each one and compile them into a single CSV file.

Quick Start

Use the pdf skill to extract all text from the attached file 'invoice-q3.pdf'.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract structured table data from PDF invoices automatically?

To extract structured table data from PDF invoices, you can use this Skill to parse binary PDF streams with pdfplumber and output the extracted text and tables into a usable CSV format. It automates administrative workflows by pulling invoice numbers, dates, and amounts without manual data entry.

Can I programmatically fill out both fillable and non-fillable PDF forms?

Yes, you can programmatically fill out both fillable and non-fillable PDF forms using this Skill. It automates the population of form fields within PDF documents, eliminating the repetitive manual effort typically required for administrative form digitization and processing.

What Python libraries are required to parse PDF streams for data extraction?

The required Python libraries to parse PDF streams for data extraction are pypdf and pdfplumber. Additionally, pdf2image and pytesseract are included as dependencies to handle document processing and image-based text extraction workflows.

Is there a way to automate text extraction from scanned PDF documents?

Automating text extraction from scanned PDF documents is supported through the pytesseract and pdf2image dependencies. This allows the Skill to apply optical character recognition to process and pull text from image-based PDF files during archival data retrieval or form digitization.

What is the best way to process a batch of 100 vendor invoices in PDF format?

The best way to process a batch of vendor invoices in PDF format is using this Skill to automatically extract the invoice number, date, and total amount from each file. It compiles the extracted structured data into a single CSV file, saving hours of repetitive administrative effort.