pdf

Extract text and tables from PDFs using Python libraries.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/rokkay/dotfiles-macos --skill pdf-rokkay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/rokkay/dotfiles-macos/tree/main/config/claude/skills/pdf
Command: npx skills add https://github.com/rokkay/dotfiles-macos --skill pdf-rokkay

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDFs are rich and structured but inflexible, and manually extracting text, tables, or filling forms is time-consuming and error-prone.

Core Features & Use Cases

  • Text and table extraction from PDFs using Python libraries.
  • Create, merge, and manipulate PDFs, plus programmatic form filling.
  • Use case: automate batch processing of invoices and reports to generate structured data.

Quick Start

To begin, run the script on a sample.pdf to extract text and print results.

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 using Python?

Extract text and tables from PDFs by running Python scripts that utilize pypdf to parse document content and output structured data.

Can I automate batch invoice processing and report archiving with Python?

Automate batch invoice processing and report archiving by executing Python scripts to extract, merge, and fill form fields across multiple PDF files.

What Python libraries do I need for programmatic PDF form filling?

Programmatic PDF form filling requires pypdf for data manipulation, pdf2image for rendering pages, and Pillow for image processing to generate annotated outputs.

Does pypdf support splitting and merging PDF files for contract digitization?

pypdf supports splitting and merging PDF files, enabling you to automate contract digitization workflows and generate structured data from document collections.

What is the best way to convert PDFs into editable data for invoices?

Turn PDFs into editable data for invoices by using Python scripts with pypdf to extract text, parse tables, and fill forms automatically.