pdf

Extract text and tables from PDFs into searchable content and CSV outputs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill removes manual, error-prone PDF work by providing automated extraction, transformation, and form-filling so documents become searchable text, structured tables, or completed PDFs ready for downstream systems.

Core Features & Use Cases

  • Automated Form Filling: Fill both fillable and non-fillable PDFs using coordinate-based annotations or native form fields.
  • Text and Table Extraction: Extract searchable text, detect and export tables, and convert PDFs to Markdown-friendly content.
  • PDF Manipulation: Merge, split, rotate, watermark, encrypt/decrypt, and extract images for batch document workflows.
  • Use Case: Batch-process scanned invoices to OCR text, extract invoice metadata and tables, fill standardized forms, and produce a CSV summary.

Quick Start

Use the pdf skill to extract searchable text and structured tables from the provided scanned document and save results to a CSV.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract tables and text from scanned PDFs?

Text and table extraction from scanned PDFs uses OCR fallbacks to convert image-based documents into searchable text and structured table outputs. It handles both born-digital and scanned documents for archival ingestion.

Can I fill both fillable and non-fillable PDF forms programmatically?

PDF form filling supports both native form fields and non-fillable documents using coordinate-based annotations. This automates standardized form completion for administrative and archival workflows.

How do I merge, split, and watermark PDF documents in Python?

PDF manipulation merges, splits, rotates, watermarks, encrypts, and decrypts documents using pypdf. It processes batch document workflows and extracts images for downstream systems.

Does pdfplumber work with pypdf for table extraction and OCR?

pdfplumber works with pypdf and pdf2image to extract tables and run OCR fallbacks on scanned documents. Pillow handles image processing for converting PDFs to searchable text.

What is the best way to batch process scanned invoices into CSV summaries?

Batch processing scanned invoices applies OCR to extract text, detects invoice metadata and tables, and exports results to a CSV summary. This automates error-prone manual data entry workflows.

When should I use OCR fallbacks for PDF text extraction?

OCR fallbacks are needed when extracting searchable text from scanned PDFs that lack embedded digital text. Born-digital PDFs can be parsed directly without OCR using pdfplumber or pypdf.