Combine multiple PDF files into a single PDF. Use when: (1) User wants to merge PDF files, (2) User mentions 'combine PDFs', 'merge PDFs', or 'join PDFs', (3) User has multiple PDFs that need to be consolidated. Respects file order: when given a directory, files are sorted alphabetically; when given specific file paths, the order provided is preserved.
Combine multiple PDF files into a single PDF document.
The user can specify:
$HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.pypip install PyMuPDFRun the combine script:
python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py <input1.pdf> <input2.pdf> ... -o <output.pdf>
Or for a directory:
python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py <directory> -o <output.pdf>
Report the results to the user (number of files combined, total pages, output location)
python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py \
chapter1.pdf chapter2.pdf chapter3.pdf \
-o book.pdf
python3 $HOME/.claude/skills/pdf-combine/scripts/combine_pdfs.py \
./documents/ \
-o combined.pdf