pdf

Extract text and tables from PDFs using Python libraries.

24|15|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/ammosu/awesome-claude-skills-zh-TW --skill pdf-ammosu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/ammosu/awesome-claude-skills-zh-TW/tree/main/document-skills/pdf
Command: npx skills add https://github.com/ammosu/awesome-claude-skills-zh-TW --skill pdf-ammosu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

全方位的 PDF 操作工具組,用於擷取文字和表格、建立新 PDF、合併/分割文件,以及處理表單。當 Claude 需要填寫 PDF 表單或以程式化方式大規模處理、產生或分析 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 PDF files using Python?

You can extract text and tables from PDF files programmatically using Python libraries like pdfplumber and pypdf. These libraries parse document structures to pull text and table data without manual intervention.

Can I fill out PDF forms automatically with Python?

Yes, you can fill out PDF forms automatically with Python. The pypdf library allows you to programmatically populate form fields across diverse documents for administrative and data-entry workflows.

What's the best way to merge or split PDF documents programmatically?

The best way to merge or split PDF documents programmatically is using Python libraries like pypdf. It handles file manipulation tasks such as combining multiple PDFs or splitting them into separate files.

Does pdfplumber work with pdf2image for rendering PDFs to images?

Yes, pdfplumber works alongside pdf2image and Pillow. While pdfplumber extracts text and tables, pdf2image renders PDF pages into images, and Pillow processes those images for comprehensive document handling.

When do I need to convert PDF pages to images for data extraction?

You need to convert PDF pages to images using pdf2image and Pillow when text extraction libraries like pdfplumber cannot parse scanned documents or complex layouts, requiring visual rendering for accurate data extraction.

Are there limitations when using pypdf for PDF form handling and text extraction?

Limitations of pypdf include difficulty extracting text from scanned image-based PDFs and handling complex form fields. In these cases, combining it with pdfplumber or pdf2image improves extraction accuracy.