Merge multiple PDF files into single document with customizable options. Supports page selection, bookmarks, and metadata. Use when combining PDFs, creating documents from multiple sources, or organizing PDF collections.
63
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.claude/skills/skill-builder-generic/examples/pdf-merger-skill/SKILL.mdThe canonical home for this skill is pdf-merger in fernandezbaptiste/Skrillz
Merge multiple PDF files into a single document with control over page order, bookmarks, and metadata.
Merge all PDFs in directory:
python scripts/merge-pdfs.py --input *.pdf --output merged.pdfMerge specific files in order:
python scripts/merge-pdfs.py --input cover.pdf content.pdf appendix.pdf --output document.pdfMerge multiple chapter PDFs into complete report:
python scripts/merge-pdfs.py \
--input ch1.pdf ch2.pdf ch3.pdf references.pdf \
--output complete-report.pdf \
--add-bookmarksMerge specific pages from different sources:
# See references/page-selection.md for syntax
python scripts/merge-pdfs.py \
--input "doc1.pdf[1-5,10]" "doc2.pdf[3-8]" \
--output combined.pdfMerge PDFs with custom metadata:
python scripts/merge-pdfs.py \
--input *.pdf \
--output merged.pdf \
--title "Project Documentation" \
--author "Your Name" \
--subject "Technical Documentation"python scripts/merge-pdfs.py [options]
Required:
--input FILES PDF files to merge (space-separated)
--output FILE Output PDF filename
Optional:
--add-bookmarks Create bookmark for each source file
--title TEXT Set PDF title metadata
--author TEXT Set PDF author metadata
--subject TEXT Set PDF subject metadata
--verbose Show detailed progressFor advanced usage including page ranges, rotation, and custom ordering, see references/advanced-merging.md.
For comparison of PDF libraries (PyPDF2, pypdf, pdfrw), see references/pdf-libraries-comparison.md.
Cause: Source PDF has format issues
Fix: Try repairing with python scripts/repair-pdf.py input.pdf
Cause: Images not compressed
Fix: Use --compress flag to reduce file size
Cause: Missing --add-bookmarks flag
Fix: Add flag to command
Version: 1.0 Last Updated: October 25, 2025 Example Type: Medium skill (SKILL.md + references + script)
93ed392
Canonical home
since Sep 12, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.