pdf

Extract text and tables from PDFs and fill forms programmatically.

Updated Oct 19, 2025
One-click install
npx skills add https://github.com/az9713/claude_skill_hn_mcp_server --skill pdf-az9713
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/az9713/claude_skill_hn_mcp_server/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/az9713/claude_skill_hn_mcp_server --skill pdf-az9713

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill eliminates the tedious manual work of filling out PDF forms and extracting data from documents, saving you hours of repetitive effort and ensuring accuracy in document processing.

Core Features & Use Cases

  • Automated Form Filling: Programmatically fill both fillable and non-fillable PDF forms with precise text annotations.
  • Data Extraction: Extract text, structured tables, and metadata from any PDF into usable formats like CSV or Excel.
  • Document Manipulation: Merge, split, rotate, watermark, and password-protect PDF documents at scale.
  • Use Case: A legal professional needs to process hundreds of contracts, extracting specific clauses and filling out standardized information across multiple forms. This Skill can automate the extraction, form-filling, and document organization, drastically reducing manual review time and potential errors.

Quick Start

Example: Extracting text from a PDF

from pypdf import PdfReader

reader = PdfReader("document.pdf") text = "" for page in reader.pages: text += page.extract_text()

print("Extracted text length:", len(text))

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 PDF documents programmatically?

Extract text and tables from PDFs using pdfplumber and pypdf to parse page content into structured formats like CSV or Excel, enabling automated data recovery from document collections without manual copying.

Can I fill PDF forms automatically with Python?

Yes, fill both fillable and non-fillable PDF forms programmatically using pypdf and reportlab to inject field values and annotations, reducing hours of manual form completion across multi-document workflows.

What's the best way to merge, split, and manipulate multiple PDF documents at scale?

Merge, split, rotate, and password-protect PDFs at scale using pypdf and related tools, enabling batch document reorganization and preparation for downstream processing or distribution.

How do I automate processing of contracts and legal documents to extract specific clauses?

Automate legal document processing by extracting text, tables, and metadata from contracts, then organizing extracted clauses and structured data into usable formats for compliance review and archival.

Do I need OCR to extract text from scanned PDFs?

For scanned PDFs without embedded text, pytesseract and pdf2image convert image pages to text via OCR; for native PDFs, pdfplumber and pypdf extract text directly without OCR overhead.

What output formats and metadata can I generate when processing PDFs?

PDF processing produces extracted text, structured tables, field metadata, bounding-box coordinates, and processed documents, enabling integration with downstream CSV exports, Excel reports, and data pipelines.