pdf

Extract text and tables from PDFs using pypdf, pdf2image, and Pillow.

926|107|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/krafton-ai/KIRA --skill pdf-krafton-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/krafton-ai/KIRA/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/krafton-ai/KIRA --skill pdf-krafton-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The PDF Processing Skill tackles tedious PDF tasks by providing a toolkit to extract text, pull tables, and automate form filling and PDF creation, saving time and reducing manual workload.

Core Features & Use Cases

  • Automated Text Extraction: Extract text from PDFs with layout preservation and support for basic structure, enabling quick content reuse.
  • Table and Data Extraction: Detect and export tabular data from PDFs for analytics and reporting.
  • PDF Manipulation & Form Handling: Create, merge, split, rotate, annotate PDFs, and automatically fill both fillable and non-fillable forms.
  • Real-world Use Case: Process vendor invoices to extract invoice numbers, dates, and totals, and compile them into a CSV for accounting workflows.

Quick Start

Run the PDF workflow on sample.pdf to extract text and save results to output.txt.

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 tabular data from PDF invoices using Python?

You can extract text and tables from PDFs using Python libraries like pypdf to preserve layout and export structured data for analytics and reporting workflows.

What's the best way to automate filling out PDF forms in bulk?

Automating PDF form filling in bulk is handled by pypdf, which supports both fillable and non-fillable forms to digitize document-heavy workflows safely and repeatably.

Can I merge, split, and manipulate PDF pages without losing document structure?

Yes, you can manipulate PDF pages by merging, splitting, and rotating documents using pypdf, ensuring safe and repeatable operations without losing the original document structure.

Do I need to install Pillow and pdf2image to process PDFs with this automation toolkit?

Yes, you need to install Pillow and pdf2image alongside pypdf, as these dependencies work together to render PDF pages as images and perform comprehensive document manipulation.

Does pypdf support extracting structured data from scanned PDF documents?

Extracting structured data from scanned PDFs requires pdf2image and Pillow to render pages as images, because pypdf alone only extracts embedded digital text and cannot perform OCR on scanned content.