pdf

Automate PDF processing tasks with Python libraries for extraction and transformation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates PDF processing tasks such as reading, text extraction, merging, splitting, rotating pages, adding watermarks, filling forms, and OCR on scanned PDFs, enabling end-to-end automation of document workflows.

Core Features & Use Cases

  • Automated PDF transformations: merge, split, rotate, watermark, and create new PDFs from sources.
  • Text and table extraction: robust data capture from PDFs using pdfplumber and pytesseract for OCR on scanned pages.
  • Form handling: fillable and non-fillable form processing, including field extraction, validation, and annotation.
  • Use Case: processing hundreds of invoices to extract totals and dates and generate a consolidated report.

Quick Start

Provide a sample PDF and specify the task (e.g., merge_docs, extract_text, or fill_form) to run the appropriate script.

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 invoice data capture?

To extract text and tables from a PDF, use pdfplumber to read structured content and pytesseract for OCR on scanned pages. This combination enables robust data capture from mixed PDF content, yielding totals and dates for consolidated reports.

Can I automate PDF form filling and field extraction from scanned documents?

Yes, you can automate PDF form filling and field extraction from scanned documents. The workflow uses pypdf for fillable forms and pytesseract for OCR on non-fillable scanned pages, validating fields and annotating results for digitization.

What's the best way to batch process and merge multiple PDF documents?

The best way to batch process and merge multiple PDF documents is orchestrating Python tools like pypdf. This approach automates transformations including merging, splitting, and rotating pages, enabling end-to-end document archiving workflows.

Does this PDF processing approach work with image-based PDFs?

Yes, this PDF processing approach works with image-based PDFs. It uses pdf2image to render pages and pytesseract to perform OCR, allowing text extraction and data capture from scanned PDFs that lack embedded text layers.

How do I add a watermark or create a new PDF from source files?

To add a watermark or create a new PDF from source files, use reportlab for PDF generation and pypdf for applying transformations. This automates document processing by rendering new outputs and annotating existing pages.