Anthropic/pdf — Agent Skills | officialskills.sh
Back to skills

pdf

officialworkflows

Handles PDF operations in code: reading, writing, merging, splitting, rotating, watermarking, encrypting, extracting text and tables, OCR on scanned pages, and creating new PDFs from scratch.

Setup & Installation

npx skills add https://github.com/anthropics/skills --skill pdf
or paste the link and ask your coding assistant to install it
https://github.com/anthropics/skills/tree/main/skills/pdf
View on GitHub

What This Skill Does

Handles PDF operations in code: reading, writing, merging, splitting, rotating, watermarking, encrypting, extracting text and tables, OCR on scanned pages, and creating new PDFs from scratch. Covers both Python libraries (pypdf, pdfplumber, reportlab) and CLI tools (qpdf, pdftk, pdftotext).

Instead of piecing together which Python library handles which task, this skill maps every common PDF operation to the right tool with working code snippets ready to adapt.

When to use it

  • Extracting tables from a multi-page PDF report into a spreadsheet
  • Merging dozens of invoice PDFs into a single file for accounting
  • Running OCR on scanned contracts to make them text-searchable
  • Splitting a large PDF manual into per-chapter files
  • Adding a watermark to all pages before sending a document externally