← 返回 Skills 市场
fly3094

PDF Split

作者 fly3094 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
90
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install pdf-split
功能描述
拆分 PDF 文件,支持单页拆分、页码范围和批量处理
使用说明 (SKILL.md)

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

安全使用建议
This skill appears to do exactly what it says: split PDFs locally using Node and the pdf-lib library. Before installing/running: ensure you have Node and install the pdf-lib package (npm install pdf-lib). Review the included index.js yourself since the package source/homepage is missing and the publisher is unknown. Run the tool in a directory with only files you intend to process (it reads the input path and writes files to the output path you provide). Be cautious with output and prefix values (avoid paths like '../' if you don't want files written outside the target directory). If you require higher assurance, run it in a sandboxed environment or inspect/modify the code to suit your safety policies.
功能分析
Type: OpenClaw Skill Name: pdf-split Version: 1.0.1 The skill is a legitimate utility for splitting PDF files locally using the 'pdf-lib' library. The code in index.js and the instructions in SKILL.md are consistent with the stated purpose, performing file operations only on the specified input/output paths without any evidence of data exfiltration, remote execution, or malicious intent.
能力评估
Purpose & Capability
Name/description (PDF splitting) aligns with required binary (node), declared dependency (pdf-lib), and the included index.js which implements splitting into single pages and ranges. No unrelated capabilities requested.
Instruction Scope
SKILL.md instructs running the included CLI (node index.js) on local files. The code only reads the specified input PDF and writes output PDFs; it does not access environment variables, network endpoints, or other system paths beyond the provided input/output paths.
Install Mechanism
There is no registry-level install spec, but SKILL.md metadata recommends installing the npm package 'pdf-lib' which the code uses. Installing a single well-known npm dependency is proportionate; the skill has no downloads from arbitrary URLs or extract steps.
Credentials
The skill requires no environment variables, no credentials, and no config paths. That matches a simple local file-processing utility.
Persistence & Privilege
The skill is not always-included and does not request elevated or persistent platform privileges. It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pdf-split
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pdf-split 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
添加批量处理和自定义输出前缀功能
v1.0.0
- Initial release of pdf-split. - Split PDF files into single pages or custom page ranges. - Local processing for enhanced privacy and security. - Simple command-line usage with flexible page selection.
元数据
Slug pdf-split
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

PDF Split 是什么?

拆分 PDF 文件,支持单页拆分、页码范围和批量处理. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。

如何安装 PDF Split?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-split」即可一键安装,无需额外配置。

PDF Split 是免费的吗?

是的,PDF Split 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PDF Split 支持哪些平台?

PDF Split 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PDF Split?

由 fly3094(@fly3094)开发并维护,当前版本 v1.0.1。

💬 留言讨论