pdf-split

拆分 PDF 文件,支持单页拆分、页码范围和批量处理

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pdf-split" with this command: npx skills add fly3094/pdf-split

PDF Split Skill

拆分 PDF 文件为单个页面或多个部分,支持批量处理,本地处理。

使用方法

拆分为单页

node index.js split input.pdf --mode single -o output/

按页码范围拆分

node index.js split input.pdf --mode range --pages "1-3,5-7" -o output/

批量拆分

for f in *.pdf; do node index.js split "$f" --mode single -o "output/$f/"; done

功能特点

  • ✅ 本地处理,文件不上传
  • ✅ 支持拆分为单页
  • ✅ 支持按页码范围拆分
  • ✅ 支持批量处理
  • ✅ 自定义输出目录
  • ✅ 隐私安全

示例

拆分为单页

# 拆分 PDF 为单页
node index.js split document.pdf --mode single -o pages/

# 指定输出前缀
node index.js split document.pdf --mode single -o pages/ --prefix "page_"

按页码范围拆分

# 提取第 1-3 页
node index.js split document.pdf --mode range --pages "1-3" -o output/

# 提取第 1,3,5 页
node index.js split document.pdf --mode range --pages "1,3,5" -o output/

# 提取第 1-3 页和 5-7 页
node index.js split document.pdf --mode range --pages "1-3,5-7" -o output/

批量处理

# 拆分当前目录所有 PDF
for f in *.pdf; do
  node index.js split "$f" --mode single -o "output/$f/"
done

许可证

MIT

作者

fly3094

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Img2img

Generate images from text descriptions using DALL-E 3 while adhering to usage policies and avoiding realistic human faces.

Registry SourceRecently Updated
General

Habitat-GS-Navigator

Navigate and interact with photo-realistic 3DGS environments via the Habitat-GS Bridge. Use when: user asks to explore a 3D scene, perform embodied navigatio...

Registry SourceRecently Updated
General

Memory Palace

持久化记忆管理。Use when: 用户告诉你个人信息/偏好/习惯、需要记住项目状态/技术决策、完成任务后有可复用经验、用户说"记住""别忘了""下次注意"、需要回忆之前的对话内容。支持语义搜索和时间推理。

Registry SourceRecently Updated
General

Podcast Transcript Mining Authority Positioning

Extract guest appearances, speaking topics, and soundbites from podcast transcripts to build authority portfolios and generate podcast pitch templates. Use w...

Registry SourceRecently Updated