Skills Prompts

Popular categories

Agent skill · Anthropic Agent Skills

/pdf Work with PDF files: extract, merge, fill and create

The pdf skill gives Claude a working playbook for PDF tasks: pulling text and tables, merging and splitting files, rotating pages, filling forms, handling encryption and generating new PDFs. It relies on Python libraries such as pypdf, pdfplumber and reportlab plus command-line tools like pdftotext and qpdf, with separate reference files for forms and advanced cases.

Works with

  • Claude Code

Used forDocuments and files

When to use it

  • You need text or tables extracted from a PDF into another format
  • Several PDFs must be combined, split by page range, or rotated
  • A PDF form has to be filled in, or a new PDF report generated from data

How it works

  1. 1
    Identify the task

    Claude matches the request to a reading, editing, form-filling or creation path.

  2. 2
    Pick the tool

    It chooses a Python library or CLI tool suited to that operation.

  3. 3
    Load extra guidance

    For forms or advanced features it reads the bundled FORMS.md or REFERENCE.md first.

  4. 4
    Write the output

    It runs the code and saves the resulting PDF or extracted data to disk.

What it steers the agent away from

  • Losing table structure when extracting content
  • Broken text from Unicode sub- and superscripts in generated PDFs
  • Guessing at form field handling instead of following a tested procedure

Install this skill

It installs with the Anthropic Agent Skills pack.

Claude CodeAdds the repo as a plugin marketplace, then installs the document set and the example set separately.
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills
/plugin install example-skills@anthropic-agent-skills

Commands come from the author’s README; check it for changes before you run them.

Questions

Can it handle scanned PDFs?

Its description lists OCR on scanned PDFs among supported tasks, which depends on the OCR tooling available in your environment.

What license is the pdf skill under?

The README states the document skills, including pdf, are open source under Apache 2.0, and the folder ships its own LICENSE.txt with that license.

More guides from Anthropic Agent Skills

Also in this pack

All 20 skills →

Summary by trendhub. The skill itself lives in anthropics/skills/skills/pdf by Anthropic (Apache-2.0); read the full, current text there.