pdf

Extract text and tables, create, merge, and split PDFs using Python libraries.

9|2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/Kastalien-Research/thoughtbox-dot-claude --skill pdf-kastalien-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Kastalien-Research/thoughtbox-dot-claude/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/Kastalien-Research/thoughtbox-dot-claude --skill pdf-kastalien-research

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive toolkit for PDF manipulation, enabling you to extract text and tables, create new PDFs, merge or split documents, and handle forms—without switching between multiple tools.

Core Features & Use Cases

  • Text and table extraction: pull structured data from PDFs for analytics, reporting, or data entry.
  • PDF creation and assembly: generate new PDFs, rotate pages, or merge multiple documents into a single file.
  • Form handling and automations: fill forms or annotate PDFs to digitize data capture and processing workflows.
  • Use Case: Imagine processing a batch of invoices where you automatically extract total amounts, dates, and vendor names, merge results into a single report, and generate a corrected batch of PDFs for archival.

Quick Start

Install dependencies: pip install pypdf pdf2image Pillow

  • Merge PDFs: Use PdfReader to read documents and PdfWriter to combine into a single merged.pdf.
  • Extract text: Read a PDF and print text from the first page using PdfReader.

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 files in Python for data entry?

PDF text and table extraction uses pypdf to read document pages and pull structured data, automating the parsing of large document volumes for analytics and reporting.

What is the best way to merge or split multiple PDF documents automatically?

Merging and splitting PDFs uses pypdf's PdfReader and PdfWriter to combine or divide documents, assembling single merged files or separating pages programmatically.

Do I need to install pypdf and Pillow to automate PDF form processing?

Yes, PDF form handling requires installing pypdf, pdf2image, and Pillow to render, extract, and assemble documents for digitized data capture workflows.

Can I create new PDFs and rotate pages using Python libraries?

Yes, generating new PDFs and rotating pages uses pypdf and Pillow to create documents, adjust page orientation, and merge multiple files into single outputs.

How does rendering PDFs with pdf2image help with text extraction?

Rendering PDFs with pdf2image converts pages into images via Pillow, assisting visual verification during text extraction to ensure accurate parsing of complex layouts.