pdf

Extract text and tables from PDFs using Python libraries.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/chadananda/xswarm-tdd-claude --skill pdf-chadananda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/chadananda/xswarm-tdd-claude/tree/main/skills/pdf
Command: npx skills add https://github.com/chadananda/xswarm-tdd-claude --skill pdf-chadananda

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a unified toolkit to read, extract, create, and modify PDFs, replacing manual, error-prone workflows with repeatable automation.

Core Features & Use Cases

  • Extract text and tables from PDFs using Python libraries.
  • Create, merge, split, rotate, and annotate PDFs, enabling batch document workflows.
  • Fill both fillable and non-fillable forms via scripted workflows and annotation-based approaches.
  • Real-world use: process hundreds of invoices or reports, extracting line items and archiving them in CSV/Excel.

Quick Start

Start by placing a PDF in the working directory and running the built-in scripts to extract text, extract tables, or fill a form.

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?

To extract text and tables from PDF files, this toolkit applies Python libraries like pypdf and pdfplumber. It enables batch workflows to pull structured line items from hundreds of reports or invoices for CSV archiving.

What is the best way to automate filling both fillable and non-fillable PDF forms?

Automating PDF form handling is achieved through scripted workflows and annotation-based approaches. This allows you to populate both fillable and non-fillable forms across batch document processing tasks without manual data entry.

Can I merge, split, and rotate PDFs in a batch document processing workflow?

Yes, you can merge, split, rotate, and annotate PDFs in batch document workflows. The toolkit provides a unified Python CLI interface to automate these document assembly modifications across multiple files.

Does this PDF processing approach work with scanned documents and images?

For PDF processing of scanned documents, the toolkit integrates pdf2image and Pillow. These dependencies convert PDF pages into images, enabling subsequent extraction and modification workflows within your Python environment.

What are the limitations of using pypdf for text extraction?

While pypdf handles standard text extraction, complex layouts may require pdfplumber for accurate table extraction. For scanned documents, pdf2image and Pillow are needed to process pages as images before text can be parsed.