- Home
- Skills
- APIs & Backend
- PDF Batch Toolkit — Merge, Split, Rotate & Delete
PDF Batch Toolkit — Merge, Split, Rotate & Delete
Local-first PDF toolkit to merge, split, extract, rotate, and delete pages — and inspect PDF metadata — without cloud uploads.
$9
Works with the AI Agents you already use
PDF Batch Toolkit — Merge, Split, Rotate & Delete
Example session with this skill installed
Merge invoice_jan.pdf and invoice_feb.pdf, then delete the last page of the resulting file as it is a blank summary page.
- Read your context and instructions
- Compiled the pdf batch toolkit
I have merged the two invoices and removed the final blank page. I verified the page count before and after the deletion to ensure accuracy.
PDF Processing Results
| Action | Input Files | Output File | Final Page Count | Result |
|---|---|---|---|---|
| Merge | invoice_jan.pdf, invoice_feb.pdf | merged_invoices.pdf | 12 | Success |
| Delete | merged_invoices.pdf | final_invoices.pdf | 11 | Success |
File Information
The final document final_invoices.pdf is ready.
- Path:
./final_invoices.pdf - Total Pages: 11
- Metadata: Local PDF structure verified, no encryption detected.
Next steps
- Open
final_invoices.pdfto confirm the blank page was correctly identified and removed. - Move the original files to an archive folder if they are no longer needed.
- Use the
rotatecommand if any scanned pages in the merged file appear sideways.
Connects securely to your tools. The creator never sees your data.
About this skill
Local-first PDF batch toolkit. Give your agent one or more PDF files and it returns a processed local PDF — merged, split, extracted, rotated, or cleaned of unwanted pages — with the page count and metadata verified. Your files never leave your machine; there are no cloud uploads.
What it does
- Merge documents Combine multiple PDF files into a single, ordered document.
- Extract pages Pull specific page ranges or individual pages into a new file.
- Split files Break a large document into individual one-page files or separate chunks.
- Modify orientation Rotate specific pages by 90-degree increments.
- Delete pages Remove unwanted content or blank pages from existing documents.
- Inspect metadata Retrieve page counts, dimensions, and file info.
How it works
- Analyze The agent runs the
infocommand to check the document structure and page count. - Execute The agent calls the Python script with specific flags like
merge,extract, orrotate. - Verify The agent uses the
infocommand again to confirm the output file matches the expected page count. - Report The agent provides the path to the processed local file and a summary of changes.
Frameworks & tools
This skill uses Python and the pypdf library. It operates entirely through a CLI interface, so it works in any environment that can run Python locally. No network access is required.
Why this beats prompting it yourself
Writing reliable PDF manipulation code on the fly often leads to off-by-one errors in page indexing or dependency issues. This skill provides a pre-tested, hardened CLI wrapper that handles page ranges and JSON error reporting consistently.
Use cases
- Merge several monthly invoices into a single accounting file.
- Extract a specific three-page executive summary from a 500-page report.
- Remove sensitive or blank pages from a document before sharing.
- Rotate scanned documents that were saved in the wrong orientation.
Known limitations
This tool does not support OCR, form filling, or password cracking. Encrypted PDFs cannot be processed and will trigger an error. It does not extract data to Excel or any other spreadsheet format.
Does not support OCR, form filling, or encrypted files. Requires Python and pypdf library.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 25 days ago
Requires