pdf

Extract text and tables from PDF documents using pypdf and pdfplumber.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/enantiomer-h/DotfilePub --skill pdf-enantiomer-h
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/enantiomer-h/DotfilePub/tree/main/claude-code/.claude/skills/pdf
Command: npx skills add https://github.com/enantiomer-h/DotfilePub --skill pdf-enantiomer-h

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually processing PDFs for text, tables, forms, and page-level edits is tedious and error-prone; this skill provides a programmable toolkit to automate these tasks end-to-end.

Core Features & Use Cases

  • Automated PDF text and table extraction with structure preserved where possible.
  • Form handling: fillable and non-fillable forms, merging, splitting, and annotating PDFs.
  • Use Case: processing a batch of invoices to extract vendor, date, and total, then compile results into CSV.

Quick Start

Run the pdf processing toolkit on sample.pdf to extract text and tables.

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

To automate PDF form digitization, this skill uses Python scripts to handle both fillable and non-fillable forms. It supports merging, splitting, and annotating PDFs, enabling end-to-end form processing workflows without manual data entry.

Can I process multi-page PDFs to extract data and compile it into a CSV?

Yes, this skill supports batch PDF processing using Python libraries like pypdf and pdfplumber. It automates extraction of text and tables across multiple documents to support workflows like archiving and invoicing.

Does pypdf support form filling and annotation-based editing?

Yes, this skill uses pypdf to support form filling and annotation-based editing via scripted workflows. It handles both fillable and non-fillable forms, enabling automated merging, splitting, and annotating of PDF documents.

What is the best way to automate PDF text extraction while preserving structure?

The best way to automate PDF text extraction while preserving structure is using this skill's Python scripts powered by pypdf and pdfplumber. It programmatically parses forms, tables, and multi-page PDFs to maintain layout and formatting.

What are the limitations of using Python for PDF form extraction and processing?

Limitations of using Python for PDF form extraction include potential structure loss in complex or image-heavy documents. This skill uses pypdf and pdfplumber for parsing, but scanned PDFs may require additional OCR preprocessing for accurate text extraction.