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.
SkillScore100Maintained
Automatic
◆Doc Ops pack
Last verified 8/2/2026
What it changes
Passed 24 of 24 test cases with the skill, and 22 of 24 without it.
Without skill92%
With skill100%
Checks it passed that the model alone missed
Uses PdfWriter to assemble the output document
Iterates pages calling writer.add_page for each page
Builds the document by passing a story array to doc.build
2 fixed22 passed either way0 still failing0 broke
Pass-rate lift
+8 pp
Tokens
+95%
Agent turns
0%
Response time
-40%
Model gemini-3.6-flashMeasured 8/2/2026v124 of 24 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
I have three separate PDF files named 'chapter1.pdf', 'chapter2.pdf', and 'chapter3.pdf'. Please write a Python snippet using pypdf that merges them sequentially into a single output file named 'combined_book.pdf'.
What was checked, without and with the skill
Checked
Without skill
With skill
Uses PdfWriter to assemble the output document
Missed
Passed
Iterates pages calling writer.add_page for each page
Missed
Passed
case-01 · gemini-3.6-flash · 8/2/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md288 lines9 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)