PDF Toolkit Pro
PDF批量处理技能包 - 一键合并、分割、压缩、转换PDF。适合办公人员、文档处理、自动化工作流。
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 472 · 3 current installs · 3 all-time installs
by@gdp6539
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
Name/description claim standard PDF operations (merge/split/compress/convert). The repository contains scripts that implement merge/split/compress/to-image functionality, so purpose and capability broadly align. However the SKILL.md and README advertise additional items (templates/, examples/sample.pdf, 'API接口', and full PNG/JPG conversion) that are not present or not implemented. This is inconsistent with the stated feature set.
Instruction Scope
SKILL.md instructs running npm install and executing local node scripts (merge/split/compress/to-image/batch). The runtime instructions do not attempt network exfiltration or read unrelated system files or env vars. However the instructions and scripts claim functionality (direct PNG/JPG conversion, API interface) that the scripts do not actually perform; SKILL.md is therefore misleading and grants broader expectations than the code implements.
Install Mechanism
There is no install spec in the registry; package.json lists npm dependencies (pdf-lib, sharp, pdf2pic, commander, glob). Installing via npm from the registry is normal, but two concerns: (1) some dependencies (sharp) require native compilation and build tooling which may be heavy or fail in some environments; (2) scripts do not actually use pdf2pic or sharp in the provided code, so dependencies appear overbroad/unused (possible leftover or incomplete implementation). No remote downloads or obfuscated install steps detected.
Credentials
The skill requires no environment variables, credentials, or special config paths. Scripts operate on local files and directories only, which is proportionate to a PDF processing tool.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always is false). It does not modify other skills or system-wide agent settings. Autonomous invocation is allowed by default (normal) and not combined with other high-risk indicators.
What to consider before installing
This package appears to be a legitimate PDF toolkit but contains multiple inconsistencies and likely bugs. Before installing or running it: (1) inspect the scripts locally and run them in an isolated environment (sandbox or VM) with non-sensitive PDFs; (2) note that batch.js tries to require and call mergePDFs from merge.js but merge.js does not export that function — running the batch merge may fail; (3) the to-image script only writes single-page PDFs and does not produce PNG/JPG despite dependencies suggesting image conversion; (4) package.json includes sharp and pdf2pic (native build/tools may be required) but those libraries are not used in the current code — consider removing unused deps or getting a clarified release from the author; (5) verify missing files referenced in SKILL.md (templates/, examples/) and confirm whether an 'API' exists before paying or depending on that feature; (6) run 'npm audit' and ensure dependencies are acceptable for your environment. Given the mismatches, treat this package as unreliable until the developer fixes the implementation/manifest or provides an updated release.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
PDF Toolkit Pro - PDF批量处理技能包
一句话介绍
一键处理100个PDF文件,合并、分割、压缩、转换全搞定。
解决什么问题?
- 合并PDF:多个PDF要逐个打开?→ 一键合并成1个
- 分割PDF:只要某几页?→ 快速提取指定页面
- 压缩PDF:文件太大发不了邮件?→ 一键压缩50%
- PDF转图片:需要提取内容?→ 批量转换成图片
功能清单
- 📄 PDF合并 - 多个PDF合并成1个
- ✂️ PDF分割 - 提取指定页面
- 🗜️ PDF压缩 - 减小文件体积
- 🖼️ PDF转图片 - 导出为PNG/JPG
- 📊 批量处理 - 一次处理整个文件夹
- ⚙️ 自定义配置 - 页面范围、质量、格式
快速开始
安装
npm install
使用
# 合并PDF
node scripts/merge.js input/*.pdf -o output/merged.pdf
# 分割PDF
node scripts/split.js input.pdf -p 1-5 -o output/
# 压缩PDF
node scripts/compress.js input.pdf -o output/compressed.pdf
# PDF转图片
node scripts/to-image.js input.pdf -o output/images/
# 批量处理
node scripts/batch.js input/ -o output/ --operation merge
配置示例
{
"operations": ["merge", "compress"],
"outputFormat": "pdf",
"quality": "medium",
"pageRange": "all",
"imageFormat": "png",
"imageDPI": 150
}
文件结构
pdf-toolkit-pro/
├── SKILL.md # 技能说明
├── README.md # 产品文档
├── package.json # 依赖配置
├── scripts/
│ ├── merge.js # PDF合并
│ ├── split.js # PDF分割
│ ├── compress.js # PDF压缩
│ ├── to-image.js # PDF转图片
│ └── batch.js # 批量处理
├── templates/
│ └── config.json # 配置模板
└── examples/
└── sample.pdf # 示例文件
适用人群
- 办公人员
- 文档管理员
- 学生/教师
- 律师/会计
- 设计师
价格
- 基础版:¥99(合并+分割+压缩)
- 专业版:¥199(+PDF转图片+批量处理+API接口)
开发者:AI-Company 联系:通过ClawHub
Files
8 totalSelect a file
Select a file to preview.
Comments
Loading comments…
