Documents & OfficeOfficial · anthropics

Pdf skill for Claude

The pdf skill by anthropics: Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

Pdf SKILL.md

A preview of the skill file from anthropics/skills (Complete terms in LICENSE.txt).

PDF Processing Guide

Overview

This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see REFERENCE.md. If you need to fill out a PDF form, read FORMS.md and follow its instructions.

Quick Start

from pypdf import PdfReader, PdfWriter

# Read a PDF
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")

# Extract text
text = ""
for page in reader.pages:
    text += page.extract_text()

Python Libraries

pypdf - Basic Operations

Read the full SKILL.md on GitHub →

How to install the pdf skill

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit anthropics/skills/skills/pdf#main ~/.claude/skills/pdf

Codex

npx degit anthropics/skills/skills/pdf#main ~/.codex/skills/pdf

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What is the pdf skill?

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

+How do I install the Anthropic pdf skill?

Copy the skill folder into ~/.claude/skills/pdf, for example with "npx degit anthropics/skills/skills/pdf#main ~/.claude/skills/pdf". Claude Code loads it automatically and uses it when a task matches.

+Does Pdf work with ChatGPT or Codex?

Yes. Pdf uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/pdf. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Pdf free?

Pdf is published on GitHub by anthropics under the Complete terms in LICENSE.txt license; check the license terms before using it.

Related documents & office skills

  1. Pptx

    Official

    Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both.

    anthropics/skills★ 197k
  2. Docx

    Official

    Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files).

    anthropics/skills★ 197k
  3. Slides

    Create strategic HTML presentations with Chart.js, design tokens, responsive layouts, copywriting formulas, and contextual slide strategies.

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. Markitdown

    Converts heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion.

    K-Dense-AI/scientific-agent-skills★ 58k
  5. Xlsx

    Official

    Use this skill any time a spreadsheet file is the primary input or output.

    anthropics/skills★ 197k
  6. Liteparse

    Local document and PDF parsing that returns spatial text with bounding boxes.

    K-Dense-AI/scientific-agent-skills★ 58k
  7. Office Hours

    Founder advice after six YC-style questions. Use whenever a founder is stuck or unsure what to ask, or /c-level-agents:office-hours.

    alirezarezvani/claude-skills★ 30k
  8. Wowerpoint

    Turn one document into a kawaii NotebookLM slide deck. Use for "wowerpoint this", "make a deck about <file>", "turn this report into…

    thedotmack/claude-mem★ 118k
  9. Docx

    Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text…

    ComposioHQ/awesome-claude-skills★ 80k

See all documents & office skills →

More skills from anthropics

  1. Canvas Design

    Official

    Create beautiful visual art in .png and .pdf documents using design philosophy.

    anthropics/skills★ 197k

All skills by anthropics →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.