pdf

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

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/ZJUxjy/opencode_lite --skill pdf-zjuxjy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/ZJUxjy/opencode_lite/tree/main/skills/pdf
Command: npx skills add https://github.com/ZJUxjy/opencode_lite --skill pdf-zjuxjy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, 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 table data from a PDF invoice automatically?

To extract text and table data from a PDF invoice automatically, this Skill uses pdfplumber and pypdf to parse binary PDF streams, pulling structured information like invoice numbers and totals into a usable format without manual intervention.

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. The Skill automates form digitization by applying data to PDF documents, eliminating the tedious manual work of entering data into administrative forms.

Do I need pypdf and pdfplumber to extract structured data from PDF documents?

Yes, you need pypdf and pdfplumber to extract structured data from PDF documents. These Python libraries are required dependencies for the Skill to parse binary PDF streams and pull text and table data automatically.

What is the best way to process 100 vendor invoices and compile the data into a CSV file?

The best way to process 100 vendor invoices and compile the data into a CSV file is using this Skill to automatically extract the invoice number, date, and total amount from each PDF document, compiling the structured data retrieval results into a single file.

How does automated PDF data extraction handle archival data retrieval?

Automated PDF data extraction handles archival data retrieval by applying Python libraries to parse binary PDF streams, pulling usable text and structured table data from archived documents for administrative workflows without manual intervention.

What are the limitations of using pdf2image for document processing?

Limitations of using pdf2image for document processing involve its specific dependency requirements for rendering tasks. While pypdf and pdfplumber handle direct text extraction and form filling, pdf2image is included for visual representation needs within the workflow.