pdf-toolkit

Merge, split, rotate, watermark, and encrypt PDF documents programmatically.

3|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/legout/pi-config --skill pdf-toolkit-legout
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-toolkit
Source: https://github.com/legout/pi-config/tree/main/installed-skills/pdf-toolkit
Command: npx skills add https://github.com/legout/pi-config --skill pdf-toolkit-legout

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyPDF2, PyMuPDF, pillow, reportlab, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the fragmentation of PDF management by providing a unified, programmable interface to perform complex document operations that usually require expensive or insecure third-party software.

Core Features & Use Cases

  • Document Assembly: Merge multiple disparate files into a single cohesive document or split large files into manageable chunks.
  • Security & Branding: Apply professional watermarks to protect intellectual property and add password-based encryption for sensitive document sharing.
  • Use Case: A project manager can use this to merge weekly status reports, rotate scanned pages to the correct orientation, and apply a confidential watermark before distributing the final document to stakeholders.

Quick Start

Use the pdf-toolkit skill to merge the files report_part1.pdf and report_part2.pdf into a single document named final_report.pdf.

Frequently Asked Questions about pdf-toolkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I merge multiple PDF files into a single document?

To merge PDF files, use programmatic tools like PyPDF2 to combine multiple disparate files into a single cohesive document. This automates document assembly workflows for administrative and legal tasks.

Can I add a watermark and encrypt a PDF at the same time?

Yes, you can apply professional watermarks to protect intellectual property and add password-based encryption for sensitive PDF sharing simultaneously. This secures document branding and access control in one workflow.

What Python libraries are needed to split and rotate PDF pages?

You need PyPDF2 and PyMuPDF to execute file-system level PDF transformations like splitting large files into chunks and rotating scanned pages to the correct orientation.

Does PyMuPDF support automated document processing for scanned pages?

Yes, PyMuPDF supports automated document processing workflows by enabling file-system level PDF transformations. You can programmatically rotate scanned pages and split large files into manageable chunks.

What is the best way to programmatically manipulate PDFs without third-party software?

The best way to manipulate PDFs without expensive or insecure third-party software is using a unified programmatic interface with libraries like PyPDF2, PyMuPDF, pillow, and reportlab for file-system level transformations.