skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / Productivity / PDF Extraction Skill by @claude-office-skills
The skill is the pdf-extraction folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.
Extract text, tables, and metadata from PDFs using pdfplumber.
Extracts text, tables and metadata from PDFs using the pdfplumber library, with notes on how PDFs are structured and how to use the library's fundamentals.
The original SKILL.md is organised into these sections:
Written and maintained by @claude-office-skills. It is published under the MIT license, which allows reuse with attribution. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
# PDF Extraction Skill
## Overview
This skill enables precise extraction of text, tables, and metadata from PDF documents using **pdfplumber** - the go-to library for PDF data extraction. Unlike basic PDF readers, pdfplumber provides detailed character-level positioning, accurate table detection, and visual debugging.
## How to Use
1. Provide the PDF file you want to extract from
2. Specify what you need: text, tables, images, or metadata
3. I'll generate pdfplumber code and execute it
**Example prompts:**
- "Extract all tables from this financial report"
- "Get text from pages 5-10 of this document"
- "Find and extract the invoice total from this PDF"
- "Convert this PDF table to CSV/Excel"
## Domain Knowledge
### pdfplumber Fundamentals
```python
import pdfplumber
# Open PDF
with pdfplumber.open('document.pdf') as pdf:
# Access pages
first_page = pdf.pages[0]
# Document metadata
print(pdf.metadata)
# Number of pages
print(len(pdf.pages))
…
Excerpt only, quoted from the author's repository. Open the repository for the complete file.