pdf

Extract text and tables from PDFs using pypdf and pdfplumber.

103|30|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/CommandCodeAI/agent-skills --skill pdf-commandcodeai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/CommandCodeAI/agent-skills/tree/main/skills/document-skills/pdf
Command: npx skills add https://github.com/CommandCodeAI/agent-skills --skill pdf-commandcodeai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates common PDF tasks—text extraction, table extraction, form handling, and document assembly—reducing manual processing time.

Core Features & Use Cases

  • Text and table extraction from PDFs with Python libraries (pypdf, pdfplumber).
  • Merge, split, and create PDFs using Python tooling (pypdf, reportlab).
  • Form handling and annotation-based filling for both fillable and non-fillable forms in batch workflows. Use case: processing hundreds of invoices and contracts; the Skill pulls data, fills templates, and stores results automatically.

Quick Start

Run the included Python examples to read a PDF, extract text, merge documents, and generate new PDFs.

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

Extract text and tables from PDF files using Python libraries like pypdf and pdfplumber. This Skill automates pulling structured data from documents such as invoices, reducing manual data entry time.

Can I merge, split, and create new PDFs programmatically?

Yes, you can merge, split, and create PDFs programmatically using pypdf and reportlab. The Skill handles document assembly tasks, allowing you to combine multiple pages or generate entirely new PDF documents automatically.

How do I fill out both fillable and non-fillable PDF forms in batch?

Fill both fillable and non-fillable PDF forms in batch using annotation-based handling. The Skill applies template data across hundreds of contracts automatically, storing the completed results for batch form management workflows.

Does pypdf support converting PDF pages to images for archival digitization?

Yes, pypdf works alongside pdf2image and Pillow to convert PDF pages to images for archival digitization. This combination supports processing scanned documents and extracting visual data for document management workflows.

What is the best way to automate invoice processing and data extraction from PDFs?

Automate invoice processing and data extraction from PDFs by running the included Python examples. The Skill pulls invoice data, fills templates, and stores results automatically, handling hundreds of documents efficiently.