← 返回 Skills 市场
93
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install pdf-to-images
功能描述
将 PDF 文件转换为图片(PNG/JPG),支持指定分辨率和页码范围
安全使用建议
This skill appears to do what it says (convert PDFs to PNG/JPG locally) and does not contact external services or request credentials. However, the package metadata/instructions are incomplete: index.js requires the 'canvas' (node-canvas) module which is not listed, and node-canvas typically needs native libraries (cairo, pango, libjpeg, etc.) or build tools. Before installing or running: 1) ensure you have Node installed; 2) install both pdfjs-dist and canvas (npm install pdfjs-dist canvas) and be prepared to install any native system dependencies for node-canvas (check node-canvas docs for platform-specific steps); 3) run the tool in a sandbox or test environment first to confirm build/run behavior and to avoid accidental file overwrites (the tool writes output files and can overwrite existing paths); 4) verify the license (MIT) and the small codebase manually if you have concerns. If you want this to be easier for end users, ask the author to update the SKILL.md/registry metadata to list 'canvas' and document native prerequisites.
功能分析
Type: OpenClaw Skill
Name: pdf-to-images
Version: 1.0.1
The skill provides legitimate functionality for converting PDF files to images locally using the 'pdfjs-dist' and 'canvas' libraries. The implementation in 'index.js' follows standard practices for file handling and PDF rendering without any signs of data exfiltration, unauthorized network access, or malicious command execution.
能力评估
Purpose & Capability
Name/description match the code: index.js performs local PDF-to-image conversion using pdfjs-dist and node-canvas. Requiring Node is appropriate. However, the SKILL.md metadata only declares pdfjs-dist as an npm install but the code also requires 'canvas' (node-canvas), which is not declared—an incoherence between declared dependencies and actual runtime needs.
Instruction Scope
Runtime instructions are narrowly scoped: they run a local CLI (node index.js ...) that reads a local PDF and writes image files. The SKILL.md explicitly states 'local processing' and the code performs only local file I/O. There are no network calls, hidden endpoints, or attempts to read unrelated system files or environment variables.
Install Mechanism
This is instruction-only in the registry (no automated install), and SKILL.md metadata suggests installing pdfjs-dist via npm which is reasonable. But index.js requires 'canvas' (node-canvas) at runtime; node-canvas often requires native system libraries (cairo, pango, libjpeg, etc.) and build steps. Those native prerequisites are not mentioned, so the install guidance is incomplete and may cause runtime failures or unexpected manual steps.
Credentials
The skill declares no environment variables, credentials, or config paths and the code doesn't access any secrets or external credentials. The requested access (filesystem read/write) is proportionate to the stated purpose.
Persistence & Privilege
The skill is not marked always:true and does not request persistent or system-wide privileges. It does not modify other skills or global agent configuration. Autonomous invocation is allowed (platform default) but does not combine with other concerning privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pdf-to-images - 安装完成后,直接呼叫该 Skill 的名称或使用
/pdf-to-images触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
添加分辨率控制和页码范围选择功能
v1.0.0
Initial release of pdf-to-images.
- Convert PDF files to PNG or JPG images locally
- Supports resolution settings
- Ensures privacy and file security (no uploads)
- Simple CLI usage with format selection
元数据
常见问题
PDF to Images 是什么?
将 PDF 文件转换为图片(PNG/JPG),支持指定分辨率和页码范围. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。
如何安装 PDF to Images?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-to-images」即可一键安装,无需额外配置。
PDF to Images 是免费的吗?
是的,PDF to Images 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PDF to Images 支持哪些平台?
PDF to Images 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PDF to Images?
由 fly3094(@fly3094)开发并维护,当前版本 v1.0.1。
推荐 Skills