Skip to content
Back to skills

Pdf Extractor

ASecurity

Extract text, tables, and images from PDFs. Use when: extracting data from reports; converting PDF tables to CSV; pulling images from presentations; processing research papers; batch converting PDFs to text

  • 206 stars
  • 0 votes
  • 1 copy
  • 6 views
  • Added September 22, 2026
datapythongobash

Works with

  • cli
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 3 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add NVlabs/Skill2Env --skill pdf-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nvlabs-pdf-extractor/badge)](https://www.skillsdirectory.com/skills/nvlabs-pdf-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf-extractor
description: "Extract text, tables, and images from PDFs. Use when: extracting data from reports; converting PDF tables to CSV; pulling images from presentations; processing research papers; batch converting PDFs to text"
license: MIT
metadata:
  author: ClawFu
  version: 1.0.0
  mcp-server: "@clawfu/mcp-skills"
---

# PDF Extractor

> Extract text, tables, and images from PDF files using pdfplumber - turn static PDFs into usable data.

## When to Use This Skill

- **Report processing** - Extract data from PDF reports
- **Table extraction** - Convert PDF tables to CSV
- **Image collection** - Pull images from presentations
- **Text mining** - Bulk convert PDFs to searchable text
- **Research** - Process academic papers and whitepapers


## What Claude Does vs What You Decide

| Claude Does | You Decide |
|-------------|------------|
| Structures analysis frameworks | Metric definitions |
| Identifies patterns in data | Business interpretation |
| Creates visualization templates | Dashboard design |
| Suggests optimization areas | Action priorities |
| Calculates statistical measures | Decision thresholds |

## Dependencies

```bash
pip install pdfplumber pypdf click pandas
# For image extraction:
pip install Pillow
```

## Commands

### Extract Text
```bash
python scripts/main.py text document.pdf
python scripts/main.py text document.pdf --pages 1-5
```

### Extract Tables
```bash
python scripts/main.py tables report.pdf --output tables.csv
python scripts/main.py tables financial.pdf --page 3
```

### Extract Images
```bash
python scripts/main.py images presentation.pdf --output ./images/
```

### Merge PDFs
```bash
python scripts/main.py merge doc1.pdf doc2.pdf --output combined.pdf
```

### PDF Info
```bash
python scripts/main.py info document.pdf
```

## Examples

### Example 1: Extract Financial Tables
```bash
python scripts/main.py tables annual-report.pdf --output financials.csv

# Output: financials.csv with all tables found
# Also creates individual CSVs: table_page3_1.csv, table_page5_1.csv
```

### Example 2: Batch Convert to Text
```bash
python scripts/main.py batch ./pdfs/ --output ./text/

# Converts all PDFs in folder to .txt files
```

### Example 3: Extract Specific Pages
```bash
python scripts/main.py text whitepaper.pdf --pages 1,5-10,15

# Extracts only pages 1, 5-10, and 15
```

## Skill Boundaries

### What This Skill Does Well
- Structuring data analysis
- Identifying patterns and trends
- Creating visualization frameworks
- Calculating statistical measures

### What This Skill Cannot Do
- Access your actual data
- Replace statistical expertise
- Make business decisions
- Guarantee prediction accuracy

## Related Skills

- [web-scraper](../web-scraper/) - Scrape web content
- [content-repurposer](../content-repurposer/) - Repurpose extracted content

## Skill Metadata


- **Mode**: centaur
```yaml
category: automation
subcategory: document-processing
dependencies: [pdfplumber, pypdf, pandas]
difficulty: beginner
time_saved: 4+ hours/week
```

Files in this skill

  • SKILL.md3 KB
  • scripts/main.py10 KB
  • scripts/requirements.txt74 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.