pdf

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow.

What problem does it solve?

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging and splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

Core Features & Use Cases

  • Extract text and tables from PDFs
  • Create, merge, and split PDFs
  • Fill and analyze PDF forms (fillable and non-fillable)
  • Use cases include batch processing of invoices, contracts, and reports, plus automated form data workflows.

Quick Start

Use the pdf skill to extract all text from the attached file 'document.pdf'.

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 PDFs in Python?

To extract text and tables from PDFs, this skill uses pypdf for parsing document content and rendering text data. It supports batch extraction across diverse PDFs, enabling automated processing of invoices, contracts, and reports.

Can I fill and analyze PDF forms programmatically?

You can fill and analyze PDF forms programmatically, handling both fillable and non-fillable form fields. This enables automated form data workflows and batch processing of form-heavy documents without manual data entry.

What is the best way to batch process invoices and contracts?

Batch processing invoices, contracts, and reports is achieved by applying pypdf to parse, extract, and transform document content at scale. This approach automates data extraction workflows across multiple files simultaneously.

Does this PDF processing approach support merging and splitting documents?

PDF processing supports creating, merging, and splitting documents to manage and assemble files. It leverages pypdf and Pillow to transform, render, and annotate the resulting PDF documents according to your workflow.

Can I render and annotate PDFs using Pillow and pdf2image?

Rendering and annotating PDFs is supported using pdf2image and Pillow to convert pages and apply visual modifications. This allows you to programmatically generate and manipulate images extracted from the document.

What are the limitations of pypdf for document processing?

Pypdf handles text extraction, merging, and form handling, but complex layout reconstruction may require rendering pages to images with pdf2image. This combination ensures both text parsing and visual rendering are covered.