← Back to Skills Marketplace
PDF 工具箱
by
changeworldy-cyber
· GitHub ↗
· v1.0.0
· MIT-0
266
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install simple-pdf-toolkit
Description
PDF 工具箱技能。支持 PDF 合并、拆分、旋转、压缩、格式转换、文字提取、水印添加等常用操作。使用场景:(1) 合并多个 PDF,(2) 拆分 PDF 页面,(3) 旋转/调整方向,(4) 压缩 PDF 大小,(5) PDF 转图片/Word,(6) 提取 PDF 文字,(7) 添加/移除水印。
Usage Guidance
要点与建议:
- 不要直接在敏感或生产文件上运行;先在隔离环境或使用示例 PDF 测试。
- 核实缺失功能:SKILL.md 提到的 convert_pdf.py、watermark.py、以及 references/*.md 都未包含。向作者/来源确认这些文件来自何处,或等待包含完整实现再使用。
- 依赖安装:脚本需要 Python 的 pypdf 包,compress 脚本在有 Ghostscript 时会调用本地 gs。确保在受控环境中安装依赖并理解 gs 的行为。
- 安全检查:已包含脚本只操作本地文件、不会联网或读取凭证,这是好的,但仍应审阅代码(你已看到)并在沙箱中运行以确认没有未显式的外部依赖或行为。
- 如果你打算让代理自动调用该技能,注意当代理尝试运行 SKILL.md 中缺失的脚本时可能会失败或尝试检索外部资源;在允许自动调用前修复/补齐缺失脚本或限制技能为仅手动触发。
总结:该技能的已提供代码看起来无直接恶意,但文档与实现不一致(宣称的功能更广),因此建议先要求/验证完整实现或仅在受控环境中使用。
Capability Analysis
Type: OpenClaw Skill
Name: simple-pdf-toolkit
Version: 1.0.0
The simple-pdf-toolkit is a legitimate set of utilities for PDF manipulation, including merging, splitting, compressing, and text extraction. The Python scripts in the scripts/ directory use the standard pypdf library and safely invoke Ghostscript via subprocess.run with argument lists, avoiding shell injection vulnerabilities. The SKILL.md instructions are well-aligned with the toolkit's stated purpose and contain no malicious prompt injection or unauthorized commands.
Capability Assessment
Purpose & Capability
技能描述列出合并、拆分、旋转、压缩、格式转换、提取、水印、加密等功能,但代码仓内只包含 merge, split, rotate, compress, extract_text 五个脚本。SKILL.md 中还调用了 convert_pdf.py 和 watermark.py,且引用的 references/*.md 文档也不存在。声明的功能与实际提供的脚本不匹配,存在能力夸大或缺失。
Instruction Scope
SKILL.md 明确指示通过运行本地脚本来执行操作(bash 示例、单文件命令等),这与包含的脚本大体一致;但它也指向了不存在的脚本(convert_pdf.py, watermark.py)和缺少的参考文档,运行这些指令会失败或导致代理尝试查找/下载缺失资源。已包含的脚本只访问本地文件系统并调用本地 Ghostscript(可选),未见网络请求或读取未声明的环境变量。
Install Mechanism
这是 instruction-only(无安装 spec),风险较低;脚本依赖 pypdf,且 compress 脚本会在可用时调用本地 gs(Ghostscript)。没有自动下载或执行来自远程 URL 的代码,但环境必须预先装有 pypdf 和(可选)gs,否则脚本会报错。
Credentials
声明中没有请求任何环境变量、凭证或配置路径;脚本也没有读取环境变量或外部凭证。这与其本地文件处理用途是一致且比例适当的。
Persistence & Privilege
技能未要求常驻(always=false)且默认允许模型调用(平台默认)。脚本不会修改其他技能或系统级配置。无持久权限或自我安装行为被发现。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install simple-pdf-toolkit - After installation, invoke the skill by name or use
/simple-pdf-toolkit - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首发版本 - 支持合并/拆分/旋转/压缩/文本提取
Metadata
Frequently Asked Questions
What is PDF 工具箱?
PDF 工具箱技能。支持 PDF 合并、拆分、旋转、压缩、格式转换、文字提取、水印添加等常用操作。使用场景:(1) 合并多个 PDF,(2) 拆分 PDF 页面,(3) 旋转/调整方向,(4) 压缩 PDF 大小,(5) PDF 转图片/Word,(6) 提取 PDF 文字,(7) 添加/移除水印。 It is an AI Agent Skill for Claude Code / OpenClaw, with 266 downloads so far.
How do I install PDF 工具箱?
Run "/install simple-pdf-toolkit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PDF 工具箱 free?
Yes, PDF 工具箱 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PDF 工具箱 support?
PDF 工具箱 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PDF 工具箱?
It is built and maintained by changeworldy-cyber (@changeworldy-cyber); the current version is v1.0.0.
More Skills