Skip to content
Skill

PDF

Use this skill whenever the user wants to do anything with PDF files

Install
Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
196K
Last commit
1 day ago
Listing updated
today

When your agent uses it

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 12 files (67 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

This skill ships in the document-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills

Or copy only this skill to ~/.claude/skills/pdf:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pdf &&
cp -R "$tmp/skills/pdf" ~/.claude/skills/pdf &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/pdf inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/pdf to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pdf &&
cp -R "$tmp/skills/pdf" ~/.agents/skills/pdf &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/pdf inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/pdf to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pdf &&
cp -R "$tmp/skills/pdf" ~/.cursor/skills/pdf &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/pdf inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/anthropics/skills.git --path skills/pdf

Or copy the folder to ~/.gemini/skills/pdf yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/pdf:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pdf &&
cp -R "$tmp/skills/pdf" ~/.copilot/skills/pdf &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/pdf inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/anthropics/skills.git

Then copy skills/skills/pdf into your agent's skills folder as pdf. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

PDF FAQ

How do I install PDF in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pdf to use it in all your projects, or to .claude/skills/pdf in one project. Or install the document-skills plugin, which includes it: /plugin marketplace add anthropics/skills, then /plugin install document-skills@anthropic-agent-skills.

Does PDF run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use PDF?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to PDF?

The closest alternatives to PDF are DOCX and XLSX.

More from anthropics/skills

  1. Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching cour

    • 196K GitHub stars
    • AI models and LLM tooling
  2. Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration

    • 196K GitHub stars
  3. Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel

    • 196K GitHub stars
  4. Create beautiful visual art in .png and .pdf documents using design philosophy

    • 196K GitHub stars
    • Design and media
  5. Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model

    • 196K GitHub stars
    • AI models and LLM tooling
  6. After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, p

    • 196K GitHub stars

Alternatives to PDF

  1. DOCX

    Skill

    Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files)

    • 196K GitHub stars
    • Files and documents
  2. XLSX

    Skill

    Use this skill any time a spreadsheet file is the primary input or output

    • 196K GitHub stars
    • Files and documents