Skip to content
Agentmart
Submit a tool

pdf

Use this skill whenever the user wants to do anything with PDF files.

Skill by wachawo

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wachawo-pdf

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from a PDF, merging or combining multiple PDFs into one, splitting a PDF into parts, rotating pages, adding watermarks, creating new PDFs, filling out PDF forms, encrypting/decrypting PDFs, extracting images, and OCR-ing scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to create one, use this skill.

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pdf

What's inside

Skill name
pdf
Description
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from a PDF, merging or combining multiple PDFs into one, splitting a PDF into parts, rotating pages, adding watermarks, creating new PDFs, filling out PDF forms, encrypting/decrypting PDFs, extracting images, and OCR-ing scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to create one, use this skill.
License
MIT
Instructions
310 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (11)

  • SKILL.md
  • forms.md
  • reference.md
  • check_bounding_boxes.py · scripts/
  • check_fillable_fields.py · scripts/
  • convert_pdf_to_images.py · scripts/
  • create_validation_image.py · scripts/
  • extract_form_field_info.py · scripts/
  • extract_form_structure.py · scripts/
  • fill_fillable_fields.py · scripts/
  • fill_pdf_form_with_annotations.py · scripts/

SKILL.md (first lines)

# PDF Processing Guide

## Overview

This guide covers the core PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see REFERENCE.md. If you need to fill out a PDF form, read FORMS.md and follow its instructions.

## Quick start

```python
from pypdf import PdfReader, PdfWriter

# Read a PDF
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")

# Extract text
text = ""
for page in reader.pages:
    text += page.extract_text()
```

## Python libraries

### pypdf — basic operations

#### Merging PDFs
```python
from pypdf import PdfWriter, PdfReader

writer = PdfWriter()
for pdf_file in ["doc1.pdf", "doc2.pdf", "doc3.pdf"]:
    reader = PdfReader(pdf_file)
    for page in reader.pages:
        writer.add_page(page)

with open("merged.pdf", "wb") as output:
    writer.write(output)
```

#### Splitting a PDF
```python
reader = PdfReader("input.pdf")
for i, page in enumerate(reader.pages):
    writer = PdfWriter()
    writer.add_page(page)
    with open(f"page_{i+1}.pdf", "wb") as output:
        writer.write(output)
```

#### Extracting metadata
```python
reader = PdfReader("document.pdf")
meta = reader.metadata
print(f"Title: {meta.title}")
print(f"Author: {meta.author}")
print(f"Subject: {meta.subject}")
print(f"Creator: {meta.creator}")
```

#### Rotating pages
```python
reader = PdfReader("input.pdf")
writer = PdfWriter()

page = reader.pages[0]
page.rotate(90)  # Rotate 90 degrees clockwise
writer.add_page(page)

with open("rotated.pdf", "wb") as output:
    writer.write(output)
```

### pdfplumber — text and table extraction

#### Layout-preserving text extraction
```python
import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    for page in pdf.pages:
        text = page.extract_text()
        print(text)
```

#### Table extraction
```python
with pdfplumber.open("document.pdf") as pdf:
    for i, page in enumerate(pdf.pages):
        tables = page.extract_tables()
        for j, table in enumerate(tables):
            print(f"Table {j+1} on page {i+1}:")
            for row in table:
                print(row)
```

#### Advanced table extraction
```python
import pandas as pd

with pdfplumber.open("document.pdf") as pdf:
    all_tables = []
    for page in pdf.pages:
        tables = page.extract_tables()
        for table in tables:
            if table:  # Check if table is not empty
                df = pd.DataFrame(table[1:], columns=table[0])
                all_tables.append(df)

# Combine all tables
if all_tables:
    combined_df = pd.concat(all_tables, ignore_index=True)
    combined_df.to_excel("extracted_tables.xlsx", index=False)
```

### reportlab — PDF creation

#### Creating a simple PDF
```python
from reportlab.lib.pagesizes import letter

From wachawo/claude-skills, MIT.

More from wachawo/claude-skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 5, 2026 (5 months ago)
Last release
May 5, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from wachawo

Cite this page

pdf skill. Agent Mart. https://agentmart.dev/skills/wachawo-pdf (last updated 2026-10-24)