pdf

Extract text and tables from PDFs and fill forms.

1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/liueggy/my_mini_skills --skill pdf-liueggy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/liueggy/my_mini_skills/tree/main/pdf
Command: npx skills add https://github.com/liueggy/my_mini_skills --skill pdf-liueggy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Many documents arrive as PDFs that are tedious to edit, extract data from, or convert into structured formats; this skill removes manual steps for extracting text and tables, merging or splitting files, filling forms, and applying OCR so you can process documents at scale.

Core Features & Use Cases

  • Automated Form Filling: Fill both native fillable forms and non-fillable PDFs by placing text annotations at precise coordinates.
  • Text and Table Extraction: Extract plain text and structured tables from PDFs for downstream analysis or CSV export.
  • Document Manipulation: Merge, split, rotate, watermark, encrypt/decrypt, extract images, and create new PDFs programmatically.
  • Use Case: Batch-process vendor invoices to extract invoice numbers, dates, line items, and totals and compile them into a single spreadsheet.

Quick Start

Ask the assistant to extract all text and tables from the file report.pdf and return a single CSV summarizing key fields.

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 tables from a PDF for CSV export?

To extract text and tables from a PDF, the skill parses document content using pdfplumber and pypdf, isolating structured tables and plain text for downstream analysis or direct CSV export.

Can I automate filling both fillable and non-fillable PDF forms?

Automated PDF form filling supports both native fillable forms and non-fillable documents by placing text annotations at precise coordinates using pypdf.

What is the best way to batch process invoices and extract data from PDFs?

Batch processing invoices extracts data from PDFs by applying OCR and table extraction to capture invoice numbers, dates, line items, and totals, compiling them into a structured spreadsheet.

Does this PDF automation skill support OCR for scanned documents?

PDF automation supports OCR for scanned documents by rendering pages as images with pdf2image and Pillow, allowing text extraction from non-native or image-based PDF files.

How do I merge, split, and watermark PDF files programmatically?

To merge, split, and watermark PDF files programmatically, the skill leverages pypdf to manipulate document structures, apply overlays, and output modified PDF documents reliably.

What are the limitations of pypdf vs pdfplumber for PDF data extraction?

While pypdf handles document manipulation and form filling, pdfplumber is used alongside it specifically for extracting structured tables and text, as pypdf alone has limitations with complex table layouts.