pdf-merge-%26-split by claude-office-skills/skills
npx skills add https://github.com/claude-office-skills/skills --skill 'PDF Merge & Split'将多个 PDF 文件合并为一个,或将 PDF 拆分为单独的文档。
此技能可帮助您:
"将这 3 个 PDF 合并成一个文件"
"合并 document1.pdf 和 document2.pdf"
"按字母顺序合并此文件夹中的所有 PDF"
"将此 PDF 拆分为单独的页面"
"从此 PDF 中提取第 5-10 页"
"将此 PDF 每 5 页拆分一次"
"将第 3 页移到最后"
"重新排序页面:1, 3, 2, 4, 5"
"反转页面顺序"
## PDF 合并计划
### 输入文件
| 顺序 | 文件 | 页数 | 大小 |
|-------|------|-------|------|
| 1 | cover.pdf | 1 | 50 KB |
| 2 | chapter1.pdf | 15 | 2.1 MB |
| 3 | chapter2.pdf | 22 | 3.4 MB |
| 4 | appendix.pdf | 8 | 1.2 MB |
### 输出
- **文件名**: combined_document.pdf
- **总页数**: 46
- **预估大小**: ~6.7 MB
### 合并选项
- [ ] 为每个源文件添加书签
- [ ] 保留原始书签
- [ ] 在文件之间包含空白页
- [ ] 优化/压缩输出
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
## 高级 PDF 合并
### 自定义页面选择
| 源文件 | 要包含的页面 | 插入位置 |
|--------|------------------|-----------------|
| main.pdf | 1-10 | 1-10 |
| insert.pdf | 全部 (5 页) | 第 10 页之后 |
| main.pdf | 11-20 | 16-25 |
| appendix.pdf | 仅 2-4 | 26-28 |
### 输出配置
- **文件名**: custom_merged.pdf
- **页码编排**: 重置为 1 / 从原始页码继续
- **书签**: 根据文件名创建 / 保留所有
### 质量设置
- 分辨率: 原始 / 降低至 [X] DPI
- 压缩: 无 / 低 / 中 / 高
## PDF 拆分计划
### 源文件
- **文件**: large_document.pdf
- **总页数**: 100
### 拆分配置
| 输出文件 | 页码范围 | 页数 |
|-------------|------------|-------|
| part1.pdf | 1-25 | 25 |
| part2.pdf | 26-50 | 25 |
| part3.pdf | 51-75 | 25 |
| part4.pdf | 76-100 | 25 |
### 命名模式
`[original_name]_part[N].pdf`
## 按文件大小拆分
### 源文件
- **文件**: huge_report.pdf
- **总页数**: 500
- **文件大小**: 250 MB
### 目标
- **最大文件大小**: 25 MB
- **预估拆分数量**: ~10 个文件
### 输出
| 文件 | 页面 | 实际大小 |
|------|-------|-------------|
| report_001.pdf | 1-52 | 24.8 MB |
| report_002.pdf | 53-98 | 23.2 MB |
| ... | ... | ... |
## 按书签/章节拆分
### 源文件结构
- large_manual.pdf
- 第 1 章: 简介 (第 1 页)
- 第 2 章: 设置 (第 15 页)
- 第 3 章: 使用 (第 45 页)
- 第 4 章: 高级 (第 120 页)
- 附录 (第 180 页)
### 拆分输出
| 文件 | 章节 | 页面 |
|------|---------|-------|
| ch1_introduction.pdf | 简介 | 1-14 |
| ch2_setup.pdf | 设置 | 15-44 |
| ch3_usage.pdf | 使用 | 45-119 |
| ch4_advanced.pdf | 高级 | 120-179 |
| appendix.pdf | 附录 | 180-末尾 |
## 页面提取
### 源文件
- **文件**: contract.pdf (20 页)
### 要提取的页面
- [x] 第 1 页 (封面)
- [x] 第 5-7 页 (条款)
- [x] 第 15 页 (签名页)
- [x] 第 20 页 (附录 A)
### 输出
- **文件**: contract_key_pages.pdf
- **页数**: 共 6 页 (1, 5, 6, 7, 15, 20)
## 页面重新排序计划
### 当前顺序
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
### 新顺序
1, 2, 4, 3, 5, 6, 8, 7, 9, 10
### 变更
- 第 3 页 ↔ 第 4 页 (交换)
- 第 7 页 ↔ 第 8 页 (交换)
## 页面删除
### 源文件
- document.pdf (25 页)
### 要移除的页面
- 第 3 页 (空白页)
- 第 12-14 页 (过时章节)
- 第 25 页 (草稿水印)
### 结果
- 新页数: 20
- 输出: document_cleaned.pdf
## 页面插入
### 基础文档
- main.pdf (10 页)
### 插入项
| 插入内容 | 插入位置 | 来源 |
|--------|------------|------|
| 封面页 | 0 (开头) | cover.pdf |
| 图表 | 第 5 页之后 | diagrams.pdf (第 2 页) |
| 附录 | 10 (末尾) | appendix.pdf |
### 结果
- 新页数: 14
## 页面旋转
### 文件: scanned_doc.pdf
### 需要的旋转
| 页面 | 当前方向 | 旋转 | 新方向 |
|---------|---------|----------|-----|
| 3 | 纵向 | 顺时针 90° | 横向 |
| 7-9 | 倒置 | 180° | 正确 |
| 15 | 横向 | 逆时针 90° | 纵向 |
## 批量合并任务
### 任务: 按项目合并 PDF
### 文件夹结构
/reports/
/project-a/
report1.pdf
report2.pdf
/project-b/
summary.pdf
details.pdf
### 输出
| 合并后的文件 | 源文件 |
|-------------|---------|
| project-a_combined.pdf | report1.pdf, report2.pdf |
| project-b_combined.pdf | summary.pdf, details.pdf |
## 批量拆分任务
### 输入
- /monthly_reports/ (12 个文件,每个约 50 页)
### 操作
- 将每个文件拆分为 5 页的块
### 输出
- /monthly_reports_split/
- jan_001.pdf, jan_002.pdf, ...
- feb_001.pdf, feb_002.pdf, ...
- ...
每周安装次数
0
代码仓库
GitHub 星标数
5
首次出现
1970年1月1日
Combine multiple PDF files into one or split PDFs into separate documents.
This skill helps you:
"Merge these 3 PDFs into one file"
"Combine document1.pdf and document2.pdf"
"Join all PDFs in this folder in alphabetical order"
"Split this PDF into individual pages"
"Extract pages 5-10 from this PDF"
"Split this PDF every 5 pages"
"Move page 3 to the end"
"Reorder pages: 1, 3, 2, 4, 5"
"Reverse the page order"
## PDF Merge Plan
### Input Files
| Order | File | Pages | Size |
|-------|------|-------|------|
| 1 | cover.pdf | 1 | 50 KB |
| 2 | chapter1.pdf | 15 | 2.1 MB |
| 3 | chapter2.pdf | 22 | 3.4 MB |
| 4 | appendix.pdf | 8 | 1.2 MB |
### Output
- **Filename**: combined_document.pdf
- **Total Pages**: 46
- **Estimated Size**: ~6.7 MB
### Merge Options
- [ ] Add bookmarks for each source file
- [ ] Preserve original bookmarks
- [ ] Include blank page between files
- [ ] Optimize/compress output
## Advanced PDF Merge
### Custom Page Selection
| Source | Pages to Include | Insert Position |
|--------|------------------|-----------------|
| main.pdf | 1-10 | 1-10 |
| insert.pdf | All (5 pages) | After page 10 |
| main.pdf | 11-20 | 16-25 |
| appendix.pdf | 2-4 only | 26-28 |
### Output Configuration
- **Filename**: custom_merged.pdf
- **Page numbering**: Reset to 1 / Continue from original
- **Bookmarks**: Create from filenames / Preserve all
### Quality Settings
- Resolution: Original / Reduce to [X] DPI
- Compression: None / Low / Medium / High
## PDF Split Plan
### Source
- **File**: large_document.pdf
- **Total Pages**: 100
### Split Configuration
| Output File | Page Range | Pages |
|-------------|------------|-------|
| part1.pdf | 1-25 | 25 |
| part2.pdf | 26-50 | 25 |
| part3.pdf | 51-75 | 25 |
| part4.pdf | 76-100 | 25 |
### Naming Pattern
`[original_name]_part[N].pdf`
## Split by File Size
### Source
- **File**: huge_report.pdf
- **Total Pages**: 500
- **File Size**: 250 MB
### Target
- **Max file size**: 25 MB
- **Estimated splits**: ~10 files
### Output
| File | Pages | Actual Size |
|------|-------|-------------|
| report_001.pdf | 1-52 | 24.8 MB |
| report_002.pdf | 53-98 | 23.2 MB |
| ... | ... | ... |
## Split by Bookmarks/Chapters
### Source Structure
- large_manual.pdf
- Chapter 1: Introduction (p.1)
- Chapter 2: Setup (p.15)
- Chapter 3: Usage (p.45)
- Chapter 4: Advanced (p.120)
- Appendix (p.180)
### Split Output
| File | Chapter | Pages |
|------|---------|-------|
| ch1_introduction.pdf | Introduction | 1-14 |
| ch2_setup.pdf | Setup | 15-44 |
| ch3_usage.pdf | Usage | 45-119 |
| ch4_advanced.pdf | Advanced | 120-179 |
| appendix.pdf | Appendix | 180-end |
## Page Extraction
### Source
- **File**: contract.pdf (20 pages)
### Pages to Extract
- [x] Page 1 (Cover)
- [x] Pages 5-7 (Terms)
- [x] Page 15 (Signatures)
- [x] Page 20 (Appendix A)
### Output
- **File**: contract_key_pages.pdf
- **Pages**: 6 total (1, 5, 6, 7, 15, 20)
## Page Reorder Plan
### Current Order
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
### New Order
1, 2, 4, 3, 5, 6, 8, 7, 9, 10
### Changes
- Page 3 ↔ Page 4 (swapped)
- Page 7 ↔ Page 8 (swapped)
## Page Deletion
### Source
- document.pdf (25 pages)
### Pages to Remove
- Page 3 (blank page)
- Pages 12-14 (outdated section)
- Page 25 (draft watermark)
### Result
- New page count: 20
- Output: document_cleaned.pdf
## Page Insertion
### Base Document
- main.pdf (10 pages)
### Insertions
| Insert | After Page | From |
|--------|------------|------|
| Cover page | 0 (beginning) | cover.pdf |
| Diagram | 5 | diagrams.pdf (page 2) |
| Appendix | 10 (end) | appendix.pdf |
### Result
- New page count: 14
## Page Rotation
### File: scanned_doc.pdf
### Rotations Needed
| Page(s) | Current | Rotation | New |
|---------|---------|----------|-----|
| 3 | Portrait | 90° CW | Landscape |
| 7-9 | Upside down | 180° | Correct |
| 15 | Landscape | 90° CCW | Portrait |
## Batch Merge Job
### Task: Merge PDFs by Project
### Folder Structure
/reports/ /project-a/ report1.pdf report2.pdf /project-b/ summary.pdf details.pdf
### Output
| Merged File | Sources |
|-------------|---------|
| project-a_combined.pdf | report1.pdf, report2.pdf |
| project-b_combined.pdf | summary.pdf, details.pdf |
## Batch Split Job
### Input
- /monthly_reports/ (12 files, each ~50 pages)
### Operation
- Split each file into 5-page chunks
### Output
- /monthly_reports_split/
- jan_001.pdf, jan_002.pdf, ...
- feb_001.pdf, feb_002.pdf, ...
- ...
Weekly Installs
0
Repository
GitHub Stars
5
First Seen
Jan 1, 1970
头脑风暴技能:AI协作设计流程,将创意转化为完整规范与实施计划
77,000 周安装
OpenAPI 转 TypeScript 工具 - 自动生成 API 接口与类型守卫
563 周安装
数据库模式设计器 - 内置最佳实践,自动生成生产级SQL/NoSQL数据库架构
564 周安装
Rust Unsafe代码检查器 - 安全使用Unsafe Rust的完整指南与最佳实践
564 周安装
.NET并发编程模式指南:async/await、Channels、Akka.NET选择决策树
565 周安装
韩语语法检查器 - 基于国立国语院标准的拼写、空格、语法、标点错误检测与纠正
565 周安装
技能安全扫描器 - 检测Claude技能安全漏洞,防范提示注入与恶意代码
565 周安装