Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
SkillScore95Maintained
Automatic
◆Doc Ops pack
Last verified 8/12/2026
What it changes
Passed 21 of 22 test cases with the skill, and 19 of 22 without it.
Without skill86%
With skill95%
Checks it passed that the model alone missed
Recommends pypdf for modifying existing PDF files.
Recommends using pytesseract to process scanned PDF images.
Iterates over reader pages and invokes add_page on the writer instance.
3 fixed18 passed either way0 still failing1 broke
Pass-rate lift
+9 pp
Tokens
+117%
Agent turns
0%
Response time
-41%
Model gemini-3.6-flashMeasured 8/12/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 3
Prompt
I need to write a simple Python script to concatenate 'doc1.pdf' and 'doc2.pdf' into 'merged.pdf'. Which primary class from pypdf manages writing collected pages into a single file?
What was checked, without and with the skill
Checked
Without skill
With skill
Instantiates pypdf PdfWriter to accumulate and save pages.
Passed
Passed
Iterates over reader pages and invokes add_page on the writer instance.
Missed
Passed
case-13 · gemini-3.6-flash · 8/12/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md288 lines8 filesincludes scripts
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
Merge PDFs
from pypdf import PdfWriter, PdfReader
writer = PdfWriter()
for pdf_file in ["doc1.pdf", "doc2.pdf", "doc3.pdf"]:
reader = PdfReader(pdf_file)
for page in reader.pages:
writer.add_page(page)
with open("merged.pdf", "wb") as output:
writer.write(output)