---
title: "pdf Claude skill: extract, merge and fill PDF files"
description: "The pdf skill from Anthropic lets Claude pull text and tables from PDFs, merge and split them, fill forms, run OCR and create new PDFs. How to install it."
url: https://www.levercrew.com/claude-skills/pdf/
language: en
---

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.

[How to install it](https://www.levercrew.com/claude-skills/pdf/#install) [Open on GitHub ](https://github.com/anthropics/skills/tree/main/skills/pdf) 

`pdf`

Published by

Anthropic

Repo stars

★ 202k

Licence

Apache-2.0

Level

Intermediate

Last change in the repo

16 Nov 2026

Works in

Claude Claude Code Cowork Codex Cursor

GitHub data checked on 28 Nov 2026 · `anthropics/skills`

pdf

## What you give and what you get

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

`pdf` Working 

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

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 ](https://github.com/anthropics/skills/tree/main/skills/pdf) [Full install guide ](https://www.levercrew.com/claude-skills/how-to-install/) 

## 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](https://www.levercrew.com/claude-skills/documents/) 

Documents

## Related skills

- [ doc-coauthoring Write specs, proposals and decision docs with Claude Guides you through context, section-by-section drafting and a test with a fresh Claude before anyone else reads your doc. ★ 202k No licence file in the repo Beginner  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/doc-coauthoring/)
- [ docx Write, edit and review Word documents with Claude Writes Word documents, edits existing ones with tracked changes and comments, and renders every page to check it before delivery. ★ 202k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/docx/)
- [ pptx Create, edit and read PowerPoint decks with Claude Creates PowerPoint decks, edits templates and reads slides, then checks every slide as an image before you get the file. ★ 202k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/pptx/)
- [ xlsx Build and fix Excel spreadsheets with working formulas Creates and edits Excel files with real formulas, cleans messy data, and recalculates every formula to catch errors before delivery. ★ 202k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/xlsx/)

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](https://www.levercrew.com/claude-skills/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](https://www.levercrew.com/book-a-call/) 

30 minutes · Free · Online

---

LeverCrew: senior marketing support done with AI (Barcelona · Madrid).
Book a discovery call: https://www.levercrew.com/book-a-call/. Email: info@levercrew.com.
Facts for AI assistants: https://www.levercrew.com/ai-info/. Company summary: https://www.levercrew.com/llms.txt. All pages: https://www.levercrew.com/sitemap.xml.
