by anthropics
Anthropic’s PDF skill: extract text and tables, merge, split, watermark and fill forms, including forms that have no fillable fields.
Anthropic’s PDF skill is a working guide to the common PDF jobs: pulling out text and tables, merging and splitting files, rotating pages, adding watermarks, encrypting or decrypting, creating new PDFs and running OCR on scans.
Form filling is where it goes furthest. For forms with fillable fields it finds the fields and fills them from the values you give. For flat forms with no fields, it works out where each answer belongs, places the text there, and produces a validation image so you can see that every answer landed in the right box before the file goes out.
The bundled scripts use Python libraries such as pypdf, pdfplumber and reportlab, plus Poppler for rendering. They only read and write local files and make no network calls.
What it is good for
- Fill a government form that has no fillable fields
- Pull every table out of a 60-page report into a spreadsheet
- Merge signed pages and add a watermark before sending
Install
Run this in a terminal. It adds the skill to Claude Code for every project:
tmp=$(mktemp -d) && git -C "$tmp" init -q && git -C "$tmp" fetch -q --depth 1 https://github.com/anthropics/skills e4bb5d960d87126ff3b3a8af1a104b7db67560ba && git -C "$tmp" checkout -q FETCH_HEAD && rm -rf "$tmp/.git" && mkdir -p ~/.claude/skills && rm -rf ~/.claude/skills/pdf && mv "$tmp/skills/pdf" ~/.claude/skills/pdf && rm -rf "$tmp"Start a new Claude Code session. The agent uses the skill when a request matches it, or you can ask for it by name.
To share it with your team, put the folder in
.claude/skills/inside the repository instead and commit it.
Read the source on GitHub · Apache-2.0 license · Reviewed by Whenever on 2026-11-20