pdf

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

2|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Weiwei-Mao/hydrology-skills --skill pdf-weiwei-mao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Weiwei-Mao/hydrology-skills/tree/main/hydrology-skills/pdf
Command: npx skills add https://github.com/Weiwei-Mao/hydrology-skills --skill pdf-weiwei-mao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, pytesseract, and includes scripts (resource) and references (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 text and structured table data from PDF invoices?

To extract text and structured table data from PDF invoices, you can automate the process using Python libraries like pypdf and pdfplumber to parse binary PDF streams and compile the extracted invoice numbers, dates, and amounts into a single CSV file.

What is the best way to automate filling out non-fillable PDF forms?

Automating non-fillable PDF forms requires programmatically overlaying or populating the documents using Python scripts. This approach eliminates tedious manual data entry by applying automated form filling techniques to both fillable and non-fillable PDF files.

Can I use Python to digitize administrative forms and retrieve archival data?

Yes, you can use Python to digitize administrative forms and retrieve archival data by applying automated extraction workflows. This handles administrative tasks like form digitization and archival data retrieval directly from binary PDF documents.

Do I need pypdf and pdfplumber to parse binary PDF streams without manual intervention?

Yes, you need pypdf and pdfplumber to parse binary PDF streams without manual intervention. These Python dependencies are required to successfully execute the automated text and structured data extraction from your PDF documents.

Does PDF data extraction work for batch processing hundreds of vendor invoices?

PDF data extraction works for batch processing hundreds of vendor invoices by automating the workflow. You can automatically extract the invoice number, date, and total amount from each document and compile them into a single usable format.

When should I not use Python scripts for PDF form filling and data extraction?

You should not use Python scripts for PDF form filling and data extraction when dealing with heavily image-based documents that require advanced OCR, as this approach primarily relies on parsing text and structured table data from binary PDF streams.