pdf

Extract text and tables from PDFs using Python libraries.

Updated Dec 4, 2025
One-click install
npx skills add https://github.com/jokken79/KobetsuV1.0 --skill pdf-jokken79
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/jokken79/KobetsuV1.0/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/jokken79/KobetsuV1.0 --skill pdf-jokken79

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill eliminates the manual, repetitive work of filling out forms, extracting data, and manipulating PDF documents, handling both simple and complex scenarios at scale.

Core Features & Use Cases

  • Intelligent Form Filling: Automatically detects fillable form fields or visually analyzes non-fillable forms to add text annotations precisely.
  • Bulk Data Extraction: Pull text and structured tables from PDFs into formats like Excel or JSON.
  • Document Operations: Merge, split, rotate, and watermark PDFs programmatically.
  • Use Case: You have 500 scanned application forms. This Skill can convert them to images, determine where each field is, fill them with data from a CSV, and output a completed, professional PDF for each applicant.

Quick Start

Extract all the text from the first page of the attached 'report.pdf' file.

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?

Text and table extraction from PDFs uses libraries like pdfplumber to parse page content into structured formats. pdfplumber identifies table boundaries and extracts rows and columns into formats like JSON or Excel, handling both simple and complex layouts across multiple pages.

Can I automatically fill fillable PDF forms with data from a CSV or database?

Fillable PDF forms can be populated programmatically by reading form field metadata and writing values using pypdf or reportlab. For non-fillable forms, the Skill analyzes bounding boxes to place text annotations precisely, enabling batch form completion from external data sources.

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

Document operations like merging, splitting, and rotating PDFs are handled through pypdf and command-line tools like qpdf. These operations process multiple files in batch workflows, enabling large-volume transformations without manual intervention.

How do I extract text from scanned PDF documents using OCR?

Scanned PDFs require OCR processing via pytesseract and pdf2image to convert document images into searchable text. The Skill converts PDF pages to images, applies optical character recognition, and outputs extracted text for further analysis or data extraction.

Can I handle batch processing of hundreds of PDFs in a single workflow?

Batch PDF processing is designed for high-volume scenarios using Python libraries and command-line tools integrated into programmatic workflows. The Skill supports processing hundreds of documents, applying transformations like extraction, merging, or form filling across the entire batch consistently.

What formats can I export extracted PDF data into?

Extracted PDF data can be exported to Excel, JSON, and other structured formats for downstream analysis or integration. Format conversion occurs after text and table extraction, enabling data to flow into reporting systems, databases, or analytical tools.

Related Skills