- Home
- Skills
- APIs & Backend
- PDF Toolkit — Merge, Split, Rotate
PDF Toolkit — Merge, Split, Rotate
Local-first PDF manipulation tool to merge, split, rotate, and delete pages without cloud uploads.
$19
Works with the AI Agents you already use
PDF Toolkit — Merge, Split, Rotate
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 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
Handling PDFs often requires uploading sensitive documents to cloud-based converters or struggling with bulky library dependencies. This skill provides a local, Python-based toolkit to manipulate PDF files directly on the filesystem. It eliminates the need for external APIs, ensuring data privacy and fast execution for common document tasks.
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, making it compatible with any environment that can execute Python scripts and access the local filesystem.
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.
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 16 days ago
- Software
Python