Skills Explorer Add Skills

pdf

An agent skill by anthropics, from anthropics/skills. Tags: anthropic, debugging, documents, office.

What it does

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.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add anthropics/skills --skill pdf

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/anthropics/skills
cp -r skills/skills/pdf ~/.claude/skills/pdf

Safety box score

Grade B, low risk: 18 of 100 risk points, rated 2026-09-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill processes PDFs locally: it can read/extract text, render pages to images, and create, merge, encrypt, decrypt, or fill PDFs. The main risks are unrestricted writes to user-chosen paths and optional OCR workflows that depend on third-party packages; it does not show built-in remote-host access, privilege escalation, or secret-store access.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution1 (low)The skill ships runnable Python utilities and tells the agent to invoke them, e.g. `python scripts/fill_fillable_fields.py ...`, but it does not evaluate downloaded code or shell pipelines.
Network access1 (low)The OCR path depends on external packages (`pip install pytesseract pdf2image`), so using that branch brings in network-fetched third-party code even though the shipped scripts themselves do not call remote hosts.
Filesystem reach2 (moderate)Several scripts write PDFs, JSON, and PNGs to caller-supplied paths (for example `with open(output_pdf_path, "wb")` and `image.save(image_path)`), so an agent can overwrite any writable file path you point it at.
Secrets & credentials0 (none)The files only read PDFs/JSON and do not reference keychains, browser sessions, CLI logins, or credential stores.
Privilege & persistence0 (none)There is no `sudo`, global install, service registration, shell startup editing, or other privilege-changing step in the shipped files.
Instruction hijack surface0 (none)The instructions are procedural (`"CRITICAL: You MUST complete these steps in order"`) but do not tell the agent to ignore higher-priority rules, hide actions, or follow remote instructions.
Irreversible actions1 (low)The skill can automatically merge, fill, encrypt, decrypt, and annotate PDFs, changing document contents without a separate human approval gate, though that is inherent to the skill's purpose.
Transparency0 (none)All shipped files are readable text; there are no binaries, minified blobs, or unpinned remote installers in the repository.

Before installing

Rated 2026-09-20 by an automated review of 12 files from the skill's repository.

Source

Repository
anthropics/skills (all skills from this repository)
Path
skills/pdf/SKILL.md
Branch
main
Updated
2026-09-19