AI SummaryA PDF processing skill that enables users to read, extract, merge, split, and manipulate PDF files through an AI coding assistant. Developers and business users benefit from automated PDF workflows without writing complex code.
Install
# Add to your project root as SKILL.md curl -o SKILL.md "https://raw.githubusercontent.com/anthropics/skills/main/skills/pdf/SKILL.md"
Description
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.
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
`python 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() `
Quality Score
Good
87/100
Trust & Transparency
No License Detected
Review source code before installing
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit 3d ago
79.2k stars — Strong Community
8.3k forks