pdf

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

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

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 multiple PDF invoices automatically?

You can extract text and structured table data from PDF invoices automatically by using this Skill to parse binary PDF streams with pypdf and pdfplumber without manual intervention. It compiles extracted invoice numbers, dates, and amounts into usable formats.

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. This Skill automates form digitization by applying Python libraries to populate document fields, eliminating the tedious manual work of data entry.

Does this PDF data extraction approach work with scanned documents or only native text?

This PDF data extraction works with both scanned documents and native text. It uses pytesseract and pdf2image alongside pdfplumber to parse binary streams and retrieve archival data from image-based PDFs.

What is the best way to automate invoice processing and compile the results into a CSV?

The best way to automate invoice processing is using this Skill to pull text and structured table data from vendor PDFs. It automatically extracts invoice numbers, dates, and totals, compiling them into a single CSV file.

Do I need Python libraries like pypdf and pdfplumber installed to parse binary PDF streams?

Yes, you need Python libraries like pypdf and pdfplumber installed. These dependencies are required to parse binary PDF streams and execute administrative workflows involving form digitization and archival data retrieval.

Why does PDF form filling fail when processing non-fillable documents manually?

PDF form filling fails on non-fillable documents manually because standard viewers cannot inject data into flat PDFs. This Skill overcomes the limitation by programmatically applying Python libraries to fill both fillable and non-fillable forms.