Percerno Skillsbeta
← everything it can do · pdf

PDF Tools PDF

Merges, splits, rotates, numbers, watermarks, shrinks, locks and unlocks PDFs in one command.

2 uses this weeksource Percernolicence MIT
Tested 2026-10-24: delivered the file in 2 of 2 requests through a real assistant · security scan clean.

Try asking

Say it in your own words; the assistant finds this recipe by itself. Examples:

“Merge pt-a.pdf and pt-b.pdf into one file, in that order, and number the pages.”
“Take pages 2 to 5 out of this contract as a separate PDF and rotate page 2, it was scanned sideways.”
“Læg et CONFIDENTIAL-vandmærke på tilbuddet og sæt kodeordet hemmelig på, så det kan sendes.”
“This 40 MB PDF won't go through e-mail; make it smaller without losing the text.”
Without Percerno: On a managed Windows laptop the free PDF reader cannot merge, split, rotate, watermark or encrypt; you would need Acrobat Pro, an online tool IT forbids for company files, or you give up.
Try this skill from Claude, ChatGPT or a chat on your own page. Free plan, no credit card.Get started free

Details

When it is the right choice

Everyday PDF jobs in ONE command, no Acrobat: merge several PDFs into one (or a whole folder), split into pages or parts, pull out or delete pages, rotate, reorder, stamp page numbers, add a DRAFT or CONFIDENTIAL watermark, shrink a heavy PDF, put a password on it (AES-256) or take one off, and tell what is inside (pages, size, text or scan, locked). Use for: combine these PDFs, split this into chapters, just pages 5 to 9, remove page 3, it is upside down, number the pages, mark it confidential, make it small enough to e-mail, password-protect before sending, open this locked PDF, saml PDF'er, del PDF, fjern side, sidetal, vandmærke, kodeord på PDF. Triggers: merge PDFs, combine, split, extract pages, delete page, rotate, reorder, page numbers, watermark, compress PDF, too big to e-mail, password protect, encrypt, unlock, remove password, how many pages.

The full recipe the assistant reads

PDF tools (one command)

python3 /skills/pdf-tools/scripts/pdf.py <verb> … runs on our servers; nothing is uploaded anywhere else. Inputs in /work/in, results in /work/out. Every verb prints one OK … line (pages, sizes) or one ERROR … line. Page numbers in options are 1-based, as a person counts.

Need Command
Merge, in the order given (or a folder, by name) pdf.py merge /work/out/all.pdf /work/in/a.pdf /work/in/b.pdf
Split: one file per page / by ranges / every N pages pdf.py split /work/in/all.pdf /work/out/parts [--ranges "1-3,4-6" \| --every 10]
Only some pages pdf.py extract /work/in/all.pdf /work/out/part.pdf --pages "2,5-7"
Remove pages pdf.py delete /work/in/all.pdf /work/out/short.pdf --pages "3,9-10"
Rotate (all pages, or some) pdf.py rotate /work/in/scan.pdf /work/out/scan.pdf --by 90 [--pages "2,4"]
New page order pdf.py reorder /work/in/all.pdf /work/out/all.pdf --order "3,1,2,4-6"
Page numbers "Page x of y" pdf.py numbers /work/in/all.pdf /work/out/all.pdf [--corner bottom-center] [--start 1]
Watermark across every page pdf.py watermark /work/in/offer.pdf /work/out/offer.pdf --text CONFIDENTIAL [--opacity 0.15]
Shrink pdf.py compress /work/in/big.pdf /work/out/small.pdf [--level light\|medium\|strong]
Password (AES-256) pdf.py protect /work/in/offer.pdf /work/out/offer.pdf --password SECRET [--no-print] [--no-copy]
Remove the password (you must know it) pdf.py unlock /work/in/locked.pdf /work/out/open.pdf --password SECRET
What is it pdf.py info /work/in/file.pdf

Verbs chain: write intermediate files under /work/ and only the final result in /work/out. A scanned PDF has no text to search; for that use scan-to-text first. Give the person the download link(s) from the OK line and, for protect, remind them to send the password separately.

Files in this skill (5)
  • SKILL.md
  • gate.json
  • scripts/__pycache__/pdf.cpython-311.pyc
  • scripts/__pycache__/pdf.cpython-313.pyc
  • scripts/pdf.py
Where it comes from

Written by Percerno, MIT licence.