pdftk-server

Merge, split, rotate, encrypt, and decrypt PDF files via CLI flags.

Updated Aug 18, 2025
One-click install
npx skills add https://github.com/hdicko/leidimen --skill pdftk-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdftk-server
Source: https://github.com/hdicko/leidimen/tree/main/.github/skills/pdftk-server
Command: npx skills add https://github.com/hdicko/leidimen --skill pdftk-server

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PDFtk Server solves the tedious and error-prone task of manually editing PDFs by providing a stable, command-line toolkit that can merge, split, rotate, encrypt, decrypt, watermark, stamp, and repair PDFs in a repeatable way.

Core Features & Use Cases

  • Merge multiple PDFs into a single document.
  • Split (burst) a PDF into individual pages or page ranges.
  • Encrypt or decrypt PDFs and apply watermarks or stamps.
  • Extract metadata or manage attachments for processing pipelines.
  • Automate batch PDF workflows in production environments.

Quick Start

Install PDFtk Server on your platform and run a simple merge of two PDFs to create a single combined document.

Frequently Asked Questions about pdftk-server

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 from the command line?

You can merge PDF files by running a command-line operation that combines multiple input documents into a single combined PDF. This approach automates batch report merging in production pipelines without manual editing.

Can I split a multi-page PDF into individual pages using CLI?

Yes, you can split or burst a PDF into individual pages or specific page ranges via command-line flags. This handles multi-page form separation in an automated, repeatable workflow.

How do I encrypt and decrypt PDF files in a production pipeline?

You can encrypt and decrypt PDFs by applying security settings through command-line operations. This enables automated document protection within batch processing pipelines.

Do I need to install PDFtk Server to automate PDF workflows?

Yes, PDFtk Server must be installed on your platform to execute these command-line operations. It provides the stable toolkit required to manipulate PDFs via CLI flags and handles.

What is the best way to apply watermarks or stamps to PDFs automatically?

The best way to apply watermarks or stamps is through automated command-line processing. This allows you to overlay background or foreground elements onto PDF documents in a repeatable production environment.

Can I extract metadata or manage PDF attachments from the command line?

Yes, you can extract metadata and manage attachments for processing pipelines using command-line operations. This supports automated document workflows by handling PDF internal data without manual extraction.