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

Terminal
npx skills add anthropics/skills --skill pdf

Or, in Claude Code, add Anthropic's skills marketplace

Agent chat
/plugin marketplace add anthropics/skills

Then install the document-skills plugin, which holds the Word, PDF, PowerPoint and Excel skills

Agent chat
/plugin install document-skills@anthropic-agent-skills

In 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.

More from Anthropic

Lists that include pdf