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.
SkillScore83Maintained
Automatic
◆Doc Ops pack
Last verified 9/24/2026
What it changes
Passed 19 of 23 test cases with the skill, and 15 of 23 without it.
Without skill65%
With skill83%
Checks it passed that the model alone missed
Opens the PDF file using pdfplumber.open("document.pdf").
Uses rotate 1east output rotated.pdf for rotating page 1.
Uses the --rotate=+90:1 option to specify the 90-degree clockwise rotation on page 1.
and 3 more in the full report
5 fixed14 passed either way3 still failing1 broke
Pass-rate lift
+17 pp
Tokens
+58%
Agent turns
0%
Response time
-42%
Model gemini-3.6-flashMeasured 9/24/2026v119 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 5
Prompt
I need a bash command using qpdf to rotate page 1 of 'input.pdf' clockwise by 90 degrees and output the result to 'output.pdf'. What flag does qpdf use for rotating specific pages?
What was checked, without and with the skill
Checked
Without skill
With skill
Uses the --rotate=+90:1 option to specify the 90-degree clockwise rotation on page 1.
Missed
Passed
case-11 · gemini-3.6-flash · 9/24/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md308 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)
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.