pdf

Extract text and tables from PDF documents using Python libraries.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ThuHuynh1438/pm-kit --skill pdf-thuhuynh1438
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/ThuHuynh1438/pm-kit/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/ThuHuynh1438/pm-kit --skill pdf-thuhuynh1438

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF workflows are repetitive and error-prone when extracting content, filling forms, merging pages, or converting between formats; this skill consolidates those tasks into a script-driven workflow.

Core Features & Use Cases

  • Automated PDF text and table extraction across pages
  • Form handling: fillable and non-fillable forms with coordinates
  • Page operations: merge, split, rotate, and watermark

Quick Start

Process your first PDF by asking the skill to extract text and tables, fill forms, or merge pages.

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 document?

To extract text and tables from PDF documents, this skill uses pdfplumber and pypdf to parse pages and pull structured content. It automates extraction across multiple pages, handling invoices, contracts, and reports to consolidate repetitive workflows into a script-driven process.

Can I use Python to fill both fillable and non-fillable PDF forms?

You can use Python to fill PDF forms, including both fillable fields and non-fillable forms using coordinates. The skill leverages pypdf to manage annotations and apply data to specific locations, automating administrative form handling tasks.

What is the best way to run OCR on scanned PDFs in Python?

Running OCR on scanned PDFs is handled by rendering pages into images using pdf2image and Pillow. This approach prepares scanned administrative documents like invoices and contracts for text extraction when standard parsing fails on image-based content.

How do I merge, split, or rotate PDF pages using a script?

Merging, splitting, and rotating PDF pages is achieved through script-driven page operations using pypdf. The skill automates these structural document edits, allowing you to manipulate report and contract pages programmatically without manual intervention.

Does pdfplumber support extracting tables from invoices and contracts?

Pdfplumber supports extracting tables from invoices and contracts by parsing PDF documents to identify structured data. The skill applies this to administrative workflows, pulling tabular content across pages while handling both text-based and scanned document inputs.