Pdf merge

From cas-bigdatalab/piflow · View interactive version

Pdf merge is an AI agent skill from the GitHub repository cas-bigdatalab/piflow. 将多个PDF文件合并为一个PDF文件。当用户需要合并PDF文档时使用此skill。

How to use this skill

Skill file

pdf_merge 技能

功能说明

该技能将多个PDF文件合并为一个PDF文件,适用于需要将多个文档合并成完整报告的场景。

核心功能

使用方法

python scripts/run_pdf_merge.py --input_paths <文件1> <文件2> ... --output_path <输出PDF>

参数说明

| 参数 | 类型 | 必填 | 默认值 | 说明 |

| :--- | :--- | :--- | :--- | :--- |

| input_paths | list | 是 | - | 输入PDF文件路径列表(多个以空格分隔) |

| output_path | string | 是 | - | 输出PDF文件路径 |

示例

示例1:合并两个PDF

python scripts/run_pdf_merge.py --input_paths file1.pdf file2.pdf --output_path merged.pdf

示例2:合并多个PDF

python scripts/run_pdf_merge.py --input_paths report1.pdf report2.pdf appendix.pdf --output_path complete_report.pdf

注意事项

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.