pdf
PDF is Anthropic's open-source agent skill for reading, creating and editing PDF files, from pulling out tables to filling forms and OCR.
Checked by CookiesForAI on : license and last change of the skill re-read from GitHub.
Written by
Install PDF
Install only this skill with the skills CLI
npx skills add anthropics/skills --skill pdfOr, in Claude Code, add Anthropic's skills marketplace
/plugin marketplace add anthropics/skillsThen install the document-skills plugin, which holds the Word, PDF, PowerPoint and Excel skills
/plugin install document-skills@anthropic-agent-skillsIn Claude.ai, Anthropic says its example skills are already available on paid plans: switch them on under Customize > Skills.
Or paste this into your coding agent: Install the agent skill pdf from github.com/anthropics/skills. Checked by CookiesForAI on : license and last change of the skill re-read from GitHub.
A skill can include scripts that run on your computer, so read its source first.
What PDF does
The PDF skill teaches Claude to work with PDF files using Python libraries such as pypdf and command-line tools. It covers reading text and tables, merging and splitting files, rotating pages, adding watermarks, creating new PDFs, encrypting and decrypting, extracting images, and running OCR on scanned pages so they become searchable.
Filling in forms has its own guide in the PDF skill and bundled scripts: they check whether a form has fillable fields, read the fields and where they sit on the page, fill them in, and turn pages into images to validate the result.
PDF is one of Anthropic's four document skills, next to Word, PowerPoint and Excel. Since it is open source under Apache-2.0, like most skills in Anthropic's repository, so you may copy and change it as long as you keep the license notice. Anthropic's README says it shares these four as a reference for more complex skills.
When to use PDF
- You need the text or tables out of a PDF, such as an invoice or a report.
- You want to merge several PDFs into one, or split one into parts.
- You have a PDF form to fill in from data you already have.
- You have scanned pages and want them searchable.
When to pick something else
- You want an editable Word document: Anthropic's DOCX skill handles .docx files.
Which agents PDF works in
Anthropic documents PDF for Claude Code, Claude.ai, Claude API. The open skills CLI also installs it into 78 agents, including Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode (we listed it with the CLI on ). See where each agent looks for skills.
Anthropic's README says this skill is one of those behind Claude's own document features. Its SKILL.md relies on Python libraries such as pypdf and pdfplumber and on command-line tools such as pdftotext and qpdf, so another agent may need you to install those first. We have not run it in other agents.
We also list this company's other pages: Claude Code coding tool.
PDF license
PDF is published under Apache-2.0. Apache-2.0 comes from the LICENSE.txt in the skill's own folder (read ), which Anthropic moved to this license on ; the anthropics/skills repository has no root license file. In practice you may use, change and share the skill in any agent, commercially too, as long as you keep the license text and notices and mark your changes.
Questions people ask
Can I use Anthropic's pdf skill in Codex, Cursor or ChatGPT?
The license allows it. Since its LICENSE.txt (read ) is Apache-2.0, so you may copy and change it for any agent as long as you keep the license text and notices and mark your changes. The open skills CLI lists it too. Anthropic documents it only for Claude.ai, Claude Code and the Claude API, and we have not run it elsewhere, so test it in your own setup first.
Can the pdf skill make scanned PDFs searchable?
Yes. It runs OCR on scanned pages so their text can be searched and extracted, next to text and table extraction, merging, splitting, rotating, watermarking, encryption and form filling with bundled scripts.
Related skills for documents and office files
- Obsidian Markdown: obsidian-markdown is Steph Ango's agent skill for writing Obsidian Flavored Markdown: notes with properties, wikilinks, embeds, callouts and block references that render correctly in an Obsidian vault.
- PDF (OpenAI): pdf is OpenAI's open-source agent skill for making and reviewing PDF files: the agent builds them with Python libraries, renders each page to an image and checks the layout before delivering.
- DOCX: DOCX is Anthropic's open-source agent skill for creating, reading and editing Word files, including tracked changes, comments and tables of contents.
- PPTX: PPTX is Anthropic's open-source agent skill for building PowerPoint decks from scratch or from your template and checking every slide for overflow.
More from Anthropic
- Academy Guide: Academy Guide is Anthropic's agent skill that ends Claude's answers about using Claude with one or two matching Claude Academy courses or tutorials, and only when the match is strong.
- Algorithmic Art: Algorithmic Art is Anthropic's open-source agent skill for generative art: the agent writes a short art philosophy, then builds an interactive p5.js piece with seeds and parameter sliders.
- Brand Guidelines: Brand Guidelines is Anthropic's open-source agent skill that holds Anthropic's own brand colors and fonts, so an agent can give a document, slide deck or web artifact the Anthropic look.
- Canvas Design: Canvas Design is Anthropic's open-source agent skill for static visual work: the agent writes a design philosophy, then makes a poster or art piece as a finished PNG or PDF file.