pdf

Extract text and tables from PDFs using Python libraries.

26|5|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/AutumnsGrove/ClaudeSkills --skill pdf-autumnsgrove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/AutumnsGrove/ClaudeSkills/tree/main/pdf
Command: npx skills add https://github.com/AutumnsGrove/ClaudeSkills --skill pdf-autumnsgrove

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually extracting text, tables, or filling forms in PDF documents is a tedious and error-prone process. This Skill automates these complex PDF operations, allowing you to efficiently process documents, extract valuable information, and generate customized PDFs without manual intervention.

Core Features & Use Cases

  • Text & Table Extraction: Accurately extract text, images, and structured table data from any PDF.
  • PDF Creation & Manipulation: Generate new PDFs, merge, split, rotate, and add watermarks to existing documents.
  • Form Automation: Programmatically fill out both fillable and non-fillable PDF forms.
  • Use Case: You need to process hundreds of invoices or legal documents. Use this Skill to automatically extract key details like invoice numbers, dates, and amounts into a spreadsheet, or to pre-fill standard legal forms with client data.

Quick Start

Example: Extracting text from a PDF

import pypdf

reader = pypdf.PdfReader("my_document.pdf") page = reader.pages[0] print(page.extract_text())

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 automatically?

Text and table extraction from PDFs uses libraries like pypdf and pdfplumber to read document content programmatically. These tools parse PDF structure to retrieve text, images, and structured table data without manual copying, making batch processing of hundreds of documents feasible.

Can I automate filling out PDF forms with Python?

Yes, you can programmatically fill both fillable and non-fillable PDF forms using Python libraries like pypdf and reportlab. This automation eliminates manual form entry, letting you populate forms with data from databases or spreadsheets in bulk.

What's the best way to merge, split, and manipulate PDF documents?

PDF manipulation—merging, splitting, rotating pages, and adding watermarks—is handled by libraries such as pypdf and PyMuPDF. These tools let you restructure and modify PDFs programmatically without external software.

How do I handle OCR for scanned PDF documents?

OCR for scanned PDFs converts image-based documents into searchable text using pytesseract or pdf2image combined with OCR engines. This lets you extract data from photocopied or scanned documents that contain no embedded text layer.

Can I encrypt, password-protect, and compress large PDF files?

Encryption, password protection, and compression are supported by pypdf and PyMuPDF for secure operations and efficient storage. These features handle metadata management and memory-efficient processing of large documents.

What libraries should I use to generate custom PDFs from data?

Generate PDFs programmatically using reportlab, which creates formatted documents from scratch, and pypdf for editing existing files. Combined with data sources, these enable dynamic PDF creation for reports, invoices, and customized documents.