How to Install the PDF Skill for Claude Code
A skill for AI coding assistants that handles almost any PDF job: reading and extracting text and tables, merging, splitting, rotating, watermarking, filling forms, encrypting, and OCR for scanned files.
What is the PDF skill?
The PDF skill is a ready-made skill for AI coding assistants such as Claude, Codex and Cursor. It comes from the official anthropics/skills collection on GitHub. It handles almost any job involving PDF files: reading and extracting text and tables, merging, splitting, rotating, watermarking, creating new files, filling in forms, encrypting and decrypting, extracting images, and running OCR on scanned PDFs.
Instead of opening a PDF tool for each small task, you ask the assistant in plain language. It picks the right approach for the job and does the work, whether that means pulling a table out of a report or combining a folder of scans into one document.
What can you do with it?
- Read and extract text, tables and metadata from PDF files
- Merge several PDFs into one, or split one PDF into separate files
- Rotate pages, add watermarks and fill in PDF forms
- Create new PDFs and encrypt or decrypt existing ones
- Extract images from a PDF, and run OCR on scanned pages
How to install it
Installation takes one step. Open Claude Code, paste the following line into the chat box, not the terminal, and press Enter:
/plugin marketplace add anthropics/skillsThat adds the official skills marketplace, which includes the PDF skill. Once it is added, the assistant can use it whenever you ask it to work with a PDF.
First steps after installing
Give the assistant a PDF and a plain-language request, for example: extract the text from this report, merge these three PDFs into one, or pull the table on page four into a spreadsheet. Under the hood the skill works with Python PDF libraries such as pypdf and pdfplumber, for example:
from pypdf import PdfReader, PdfWriterFor a scanned PDF, ask for OCR so the text is recognised from the image rather than copied from an embedded text layer. If a file is password protected, have the password ready; the skill can unlock it with the right credentials.
Frequently asked questions
Is the PDF skill free? Yes. It is open source on GitHub, and you can download and use it free of charge. Note that running it needs Claude Code, which itself needs a Claude subscription or API access.
Is it hard to install? No. One pasted line adds the marketplace, and the skill is ready to use.
Does it work on scanned PDFs? Yes. It can run OCR on scans so the text becomes searchable and extractable.
Comments (0)