pdf_merge

Merge multiple PDF files into a single document with optional page selection.

38|14|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/ericwang915/PythonClaw --skill pdf-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf_merge
Source: https://github.com/ericwang915/PythonClaw/tree/main/pythonclaw/templates/skills/data/pdf_merge
Command: npx skills add https://github.com/ericwang915/PythonClaw --skill pdf-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyPDF2.

What problem does it solve?

Merging multiple PDFs into a single, cohesive document to simplify sharing, archiving, and viewing.

Core Features & Use Cases

  • Single-file output: Combine several PDFs into one with preserved bookmarks and links when possible.
  • Page-range control: Select specific pages from each input file to include.
  • Directory merge: Merge all PDFs from a directory in alphabetical order or reverse order.

Quick Start

Run the tool to merge the specified PDFs into a single output.

Frequently Asked Questions about pdf_merge

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 PDFs, provide the input files to combine them into a single cohesive output document. The tool processes multiple PDFs instantly, simplifying sharing and archiving while preserving bookmarks and links when possible.

Can I select specific pages from each file when merging PDFs?

Yes, you can select specific pages from each input file during a PDF merge. Using the --pages command-line feature allows you to include only the page ranges you need from individual documents into the final output.

How do I combine all PDFs in a directory in alphabetical or reverse order?

You can merge all PDFs from a directory by using the --dir command-line feature. This automatically combines every PDF file in the specified folder, and the --reverse flag outputs them in reverse alphabetical order.

Do I need PyPDF2 to merge PDFs from the command line?

Yes, PyPDF2 is required as a dependency to merge PDFs from the command line. The tool relies on this Python library to process multiple PDF files, apply page ranges, and output the merged document.

Does the PDF merge tool output a summary of the combined files?

Yes, the PDF merge tool outputs a summary after combining your files. The command-line interface generates this summary in either text or JSON format, providing details about the merged document and selected pages.

What is the best way to automate combining several PDFs for archiving?

The best way to automate combining PDFs for archiving is using a command-line tool with directory merge and page-range control. This approach instantly merges multiple documents into a single file, simplifying long-term storage and viewing.