Claude skill · Documents

pdf: read, merge, fill and create PDF files with Claude

pdf is Anthropic’s free Claude skill for PDF files. It pulls text and tables out of PDFs, merges and splits files, rotates pages, adds watermarks and passwords, fills forms and creates new PDFs. For scanned pages it runs OCR, so the text becomes searchable. It is one of the skills behind file work in the Claude app on paid plans. It suits anyone who handles reports, invoices or forms.

pdf

What you give and what you get

What you give, pdf working, and what you get back.

What you give

  • One or more PDF files
  • The pages, tables or fields you need
  • The answers, if you want a form filled
  • The content for a new PDF report

What you get

  • Text and tables pulled out, ready for Excel
  • Merged, split or rotated PDF files
  • Filled forms, watermarks and password protection
  • Searchable text from scanned pages
  • New PDF reports with several pages

Read from its SKILL.md.

How it works

  1. 01

    Reads the file

    It uses pypdf for pages and metadata, and pdfplumber for text with its layout and for tables, which it can combine into one Excel file.

  2. 02

    Changes the pages

    It merges, splits and rotates pages with pypdf or the qpdf command line, and stamps a watermark on every page.

  3. 03

    Fills forms

    For a form it first reads a separate form guide in the skill folder, then writes the fields with pypdf or pdf-lib.

  4. 04

    Reads scans

    For scanned PDFs it turns each page into an image and runs OCR with pytesseract, one page at a time.

  5. 05

    Creates new PDFs

    It builds new documents with reportlab, with titles, body text and page breaks, and uses markup tags for subscripts so they print correctly.

Prompt

Example prompt

Paste it once the skill is installed and swap in your own details.

Here are 12 supplier invoices as PDFs from our restaurant group in Lyon. Put the supplier name, date and total of each one in an Excel table, then merge all the PDFs into one file sorted by date.

How to install it

How to install pdf

npx skills add anthropics/skills --skill pdf

In the terminal, inside your project. Add -g to have it in every project. The installer asks which apps to add it to.

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

Inside Claude Code. Installs the whole package from the repo.

Or by hand: copy the folder to ~/.claude/skills/pdf/

  1. Download the skill folder from GitHub and zip it, with the folder at the root of the ZIP.
  2. In Claude, open Customize, then Skills.
  3. Press +, choose Create skill, then Upload a skill.
  4. Upload the ZIP and turn the skill on. Code execution must be on.
  • Codex and Cursor: the same npx command installs it for them; the installer asks which apps.
  • ChatGPT Business, Enterprise and Edu: Plugins, the Skills tab, Add, then Upload from your computer.
  • Other ChatGPT plans: attach the SKILL.md to a project and ask it to follow the file.

Open the folder on GitHub Full install guide

Who it suits

Operations, finance and marketing teams that pull numbers out of reports and invoices, fill the same forms often or combine many PDFs into one pack.

What it needs and where it stops

In the Claude app it is already available on paid plans. Elsewhere it needs Python libraries such as pypdf, pdfplumber and reportlab, and OCR also needs pytesseract and pdf2image. Scanned PDFs go through the OCR step before Claude can read them.

Listed under Documents

Documents

Related skills

Questions

Questions about pdf

Is the pdf skill free?

Yes. Anthropic publishes it under the Apache 2.0 licence in its skills repo on GitHub. On paid Claude plans it is already available in the Claude app, so you do not need to install it there.

Can it read scanned PDFs?

Yes, with OCR. It converts each page to an image and reads it with pytesseract. Both pytesseract and pdf2image must be installed first, and the skill gives Claude the install line.

Can it fill in a PDF form?

Yes. It follows a form guide stored in the skill folder and writes the fields with pypdf or pdf-lib, so you get the same form back with your answers in it.

How is it different from docx?

pdf works with finished PDF files. docx writes and edits Word files you still want to change. Draft in Word when the text will change, and use pdf to merge, fill or extract from the final files.

We put these skills to work in your team

Book a free 30-minute call. We pick the skills for your work and train your team to use them.

Book a discovery call

30 minutes · Free · Online

Free discovery call

30 minutes · Online · Free · English or Spanish

Our address: info@levercrew.com

LeverCrew uses your details only to reply to you and prepare the call. Privacy

Growth AI Tips

AI tips your team can use the same day

One email every two weeks, for sales and marketing teams.

  • The tip, in a few lines
  • The prompt or workflow, ready to copy
  • How to check that it works

Free. Unsubscribe with one click. Privacy policy