pdf

Extract and edit text, tables, and images in PDF documents.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/States-Media/claude-code-starter --skill pdf-states-media
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/States-Media/claude-code-starter/tree/main/skills/pdf
Command: npx skills add https://github.com/States-Media/claude-code-starter --skill pdf-states-media

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of extracting text, tables, and images from PDF documents, reducing manual effort and error in data collection.

Core Features & Use Cases

  • Text and Table Extraction: Programmatically pull text blocks and structured tables from PDFs for editing or analysis.
  • PDF Creation and Editing: Generate new PDF documents or modify existing ones by adding annotations, watermarks, or reformatting pages.
  • Use Case: An legal assistant needs to extract case data from scanned court documents. With this Skill, they can automate text recognition and organize info into spreadsheets efficiently.

Quick Start

Use the pdf skill to extract all tables from your scanned PDF report.

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 a PDF document for data analysis?

To extract text and tables from a PDF document, you can use automated extraction tools that pull structured content blocks for editing or analysis. This approach programmatically retrieves text and table data, reducing manual effort and error in data collection workflows.

Can I add annotations and watermarks to existing PDF files programmatically?

Yes, you can add annotations and watermarks to existing PDF files programmatically. PDF manipulation libraries allow you to modify documents by adding annotations, applying watermarks, or reformatting pages directly through automated scripts.

Does pypdf work with pdfplumber for comprehensive PDF processing?

Yes, pypdf works with pdfplumber for comprehensive PDF processing. Combining these libraries provides robust capabilities for handling text extraction, structured table parsing, and document manipulation within your digitization workflows.

What is the best way to automate extracting images from PDF documents?

The best way to automate extracting images from PDF documents is using dedicated extraction libraries like pdf2image. This automates pulling visual content from files, supporting document digitization and data organization workflows efficiently.

How do I generate new PDF documents from extracted content?

To generate new PDF documents from extracted content, use PDF creation and editing libraries to compile text, tables, and images into a new file. This allows you to programmatically generate documents or modify existing ones by reformatting pages.

Can I use qpdf to repair corrupted PDF files before text extraction?

Yes, you can use qpdf to repair corrupted PDF files before text extraction. qpdf provides comprehensive PDF processing capabilities, ensuring documents are structurally sound so that subsequent text and table extraction workflows run successfully.