Skip to main content
skill · Claude Code, Claude.ai

pdf — Claude Code skill: what it does, how to install

This skill lets an agent read, create, and edit PDF files, including forms and scanned documents. Use it when PDF work is part of the task.

  • Author anthropics
  • License LicenseRef-Proprietary
  • GitHub ★ 183,434
  • Installs 216,041
  • Updated 2026-10-09
  • Source on GitHub
Open on GitHub ↗

What pdf does

The skill handles common PDF tasks: extracting text, tables, and images; merging or splitting files; rotating pages; adding watermarks; creating documents; and filling forms. It also covers encryption and decryption. For scanned PDFs, it can run OCR so the document becomes searchable.

The guide includes Python examples with pypdf, pdfplumber, and reportlab, plus command-line workflows for pdftotext, qpdf, pdftk, and pdfimages. OCR requires pytesseract and pdf2image, installed with pip install pytesseract pdf2image.

Install it when Claude Code needs to inspect or produce PDF files. It is unnecessary for tasks that do not involve PDFs.

What it helps with

  • extract text and tables from a PDF
  • merge several documents into one file
  • split a PDF into separate pages
  • run OCR on scanned documents
  • fill a PDF form or add a watermark

How to install pdf

Command from the source

/plugin marketplace add anthropics/skills

Command from the source

/plugin install document-skills@anthropic-agent-skills

Command from the source

npx skills add anthropics/skills --skill pdf -a claude-code

With the Skills CLI (Vercel)

npx skills add anthropics/skills --skill pdf -a claude-code

Manually

~/.claude/skills/pdf/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pdf/

How to use it: example prompts

  • Extract text and tables from `document.pdf` and save the results to separate files.
  • Merge `doc1.pdf`, `doc2.pdf`, and `doc3.pdf` into `merged.pdf`.
  • Run OCR on `scanned.pdf` and make it searchable.

Questions about pdf

How do I install pdf in Claude Code?

Add the marketplace with /plugin marketplace add anthropics/skills, then install it with /plugin install document-skills@anthropic-agent-skills. You can also use npx skills add anthropics/skills --skill pdf -a claude-code.

What does the pdf skill do?

It helps the agent read, create, and edit PDF files. Its workflows cover text and table extraction, merging, splitting, forms, images, watermarks, encryption, and OCR.

What is required for OCR with pdf?

OCR requires the Python packages pytesseract and pdf2image. Install them with pip install pytesseract pdf2image.

Similar

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor