Pdf skill for Claude
The pdf skill by anthropics: Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
Pdf SKILL.md
A preview of the skill file from anthropics/skills (Complete terms in LICENSE.txt).
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
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
How to install the pdf skill
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit anthropics/skills/skills/pdf#main ~/.claude/skills/pdfCodex
npx degit anthropics/skills/skills/pdf#main ~/.codex/skills/pdfClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What is the pdf skill?
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
+How do I install the Anthropic pdf skill?
Copy the skill folder into ~/.claude/skills/pdf, for example with "npx degit anthropics/skills/skills/pdf#main ~/.claude/skills/pdf". Claude Code loads it automatically and uses it when a task matches.
+Does Pdf work with ChatGPT or Codex?
Yes. Pdf uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/pdf. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Pdf free?
Pdf is published on GitHub by anthropics under the Complete terms in LICENSE.txt license; check the license terms before using it.