Skip to main content
skill Claude Code Claude.ai official · Anthropic

pdf · anthropics — 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.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills
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

Example prompts for the agent

  • 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.

How to install pdf

1Plugin marketplace

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

This installs the whole document-skills plugin with all its skills

2Skills CLI (Vercel)

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

3Manually: put the files in place

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

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

From the same set23

The whole set →
frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. Claude Code Claude.ai 1,025,790installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. Claude Code Claude.ai 414,180installs pptx official anthropics This skill helps create, read, and edit .pptx files and .potx templates. Use it when building a deck or extracting slide text. Claude Code Claude.ai 241,433installs docx official anthropics This skill creates, reads, and edits Word documents and templates. Use it for reports, letters, and files that need headings, tables, or page numbers. Claude Code Claude.ai 206,304installs xlsx official anthropics Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file. Claude Code Claude.ai 187,223installs webapp-testing official anthropics This skill tests local web apps with Playwright, helping agents debug UI behavior, capture screenshots, and inspect browser logs. Claude Code Claude.ai 186,758installs mcp-builder official anthropics This skill walks through building an MCP server in TypeScript or Python, from reading the protocol spec to writing tests and evaluation questions. Claude Code Claude.ai 130,949installs canvas-design official anthropics Builds posters and visual art in .png and .pdf by first writing a design philosophy, then expressing it on the canvas. Claude Code Claude.ai 121,543installs

Other versions of pdf

Similar

to-spec Matt Pocock Turns the current conversation and repository context into a spec, then publishes it to the project issue tracker. Use it when a feature discussion is ready to hand off to an agent. Claude Code 715,388installs research Matt Pocock Researches a question through primary sources and saves the findings as a Markdown file in the repository. Use it for API facts, documentation checks, and delegated reading. Claude Code 711,295installs to-questionnaire Matt Pocock Turns a decision you cannot answer alone into a Markdown questionnaire for someone with the missing context. Use it to collect answers asynchronously or work through questions in a meeting. Claude Code 498,319installs scaffold-exercises Matt Pocock This skill builds course exercise directories with sections, problems, solutions, and explainers. Use it when starting a new course section or creating exercise stubs. Claude Code 480,196installs writing-for-agents Matt Pocock Guidance for writing skills and agent-facing documents. Use it when editing AGENTS.md, CLAUDE.md, or reference files reached from them. Claude Code 466,719installs grill-with-docs Matt Pocock This skill interviews you about a plan or design and creates ADRs and a glossary along the way. Use it when decisions need sharper definition. Claude Code 1,219,756installs setup-matt-pocock-skills Matt Pocock This skill configures a repository for Matt Pocock's engineering skills by setting its issue tracker, triage labels, and domain docs layout. Run it before using the other skills. Claude Code 1,052,851installs handoff Matt Pocock Creates a handoff document from the current conversation so another agent can continue the work. Use it when a task moves to a new session or agent. Claude Code 1,038,491installs

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.

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