Sign in
Explore
Skills · SkillWriting & ContentDocuments & filesReviewed

pdf

Reads, creates, merges, splits, rotates, watermarks, fills, encrypts and OCRs PDF files.

Kind
Skill
Works with
Claude Code
Source
anthropics/skills @ 33375500bcea
Path
skills/pdf/SKILL.md
Jobs
Implementation
Topics
Documents & files

Credit

Made by
anthropics
Original
github.com/anthropics/skills/blob/33375500bcea98d610eb30ce10a…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/pdf/ (the skill folder)
  • 11 other files in the folder: LICENSE.txt, forms.md, reference.md, scripts/check_bounding_boxes.py and 7 more
Runs scripts
Yes
  • scripts/check_bounding_boxes.py
  • scripts/check_fillable_fields.py
  • scripts/convert_pdf_to_images.py
  • scripts/create_validation_image.py
Uses the network
Yes
  • downloads Python packages
Needs secrets
None found
Reads environment variables
  • JSON
Calls other skills
  • /sub
  • /super
Value without its scripts
High
  • The main file never tells the agent to run a bundled script, so the text works without them.
  • scripts/check_bounding_boxes.py
  • scripts/check_fillable_fields.py
  • scripts/convert_pdf_to_images.py
  • scripts/create_validation_image.py
Source revision
33375500bcea
Licence
Apache-2.0
Last activity
16 Nov 2026
Source changed after the scan
Yes
  • Last push 16 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# PDF Processing Guide

## Overview

This guide covers essential 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

#### Merge 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)
```

#### Split 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)
```

#### Extract Metadata
```python
reader = PdfReader("document.pdf")
…