Pdf combine

From Takazudo/claude-resources · View interactive version

Pdf combine is an AI agent skill from the GitHub repository Takazudo/claude-resources. Combine multiple PDF files into one, preserving the given order. Use for 'combine PDFs', 'merge PDFs', 'join PDFs'.

How to use this skill

Skill file

Combine PDF Files

Combine multiple PDF files into a single PDF document.

Usage

The user can specify:

Script Details

Instructions

  1. Determine the source PDF files:
  1. Determine the output file path:
  1. Run the combine script:

```bash

python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py <input1.pdf> <input2.pdf> ... -o <output.pdf>

```

Or for a directory:

```bash

python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py <directory> -o <output.pdf>

```

  1. Report the results to the user (number of files combined, total pages, output location)

Examples

Combine specific files in order

python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py \
  chapter1.pdf chapter2.pdf chapter3.pdf \
  -o book.pdf

Combine all PDFs in a directory (alphabetical order)

python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py \
  ./documents/ \
  -o combined.pdf

Order Rules

Error Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.