pdf

Automate PDF form filling, extraction, merging, and OCR workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manual PDF operations require dozens of separate commands across libraries, leading to missed fields and mismatched outputs; this skill unifies extraction, merging, OCR, and form automation into a single workflow.

Core Features & Use Cases

  • Form Completion Automation: Step-by-step guidance covers fillable and non-fillable PDFs with scripts for checking fields, extracting coordinates, and validating bounding boxes before populating data.
  • PDF Transformation Toolbox: Sample code for reading text, rotating pages, merging or splitting documents, adding watermarks, extracting images, and running OCR ensures every typical PDF task is covered from end to end.
  • Use Case: When onboarding vendors, automatically extract invoice metadata, populate compliance checklists, and produce a consolidated searchable archive without juggling multiple tools.

Quick Start

Use the pdf skill to extract tables and fill fields in contract.pdf.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract data from PDF tables and fillable forms automatically?

You can extract data and fill forms automatically by using scripts that check fields, extract coordinates, and validate bounding boxes before populating data. This approach handles both fillable and non-fillable PDFs with annotation-based output.

What's the best way to merge, split, and watermark PDF documents in Python?

Merging, splitting, and watermarking PDFs is handled through a unified transformation toolbox that provides sample code for reading text, rotating pages, and adding watermarks without juggling multiple separate libraries.

Do I need pypdf and pdfplumber to automate PDF text extraction and OCR tasks?

Yes, you need pypdf, pdfplumber, pdf2image, and pillow to manage both fillable and non-fillable pages. These dependencies are required for reading text, running OCR, and extracting images across administrative and legal workflows.

Can I extract invoice metadata and populate compliance checklists from non-fillable PDFs?

You can extract invoice metadata and populate checklists from non-fillable PDFs by extracting field coordinates and validating bounding boxes. The workflow produces a consolidated searchable archive without manual data entry.

Why does PDF form filling fail when fields are missing or misaligned?

PDF form filling fails when fields are missing if you do not validate bounding boxes and extract coordinates beforehand. This workflow requires checking fields first to prevent mismatched outputs and missed data population.

Does pdf2image work with pillow for running OCR on archived PDF documents?

Yes, pdf2image works with pillow to convert PDF pages into images for OCR processing. This combination allows you to run OCR tasks and produce searchable archives from scanned administrative and legal documents.