← 返回 Skills 市场
一键生成PPT截图和缩略图工具,MAC版本
作者
zhaoxm8023
· GitHub ↗
· v1.0.1
436
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install ppt2png
功能描述
自动将Mac版PPT转换为每页PNG截图及每6页缩略拼接图,支持自定义DPI和布局,自动分目录管理。
安全使用建议
This skill's code is straightforward and performs local file conversions; it does not perform network calls or exfiltrate data. However, SKILL.md asks you to provide WeChat credentials (wechat_appid / wechat_appsecret) even though the included Python script does not use them — do NOT supply any secrets into config.json unless you understand exactly why they are needed. Before running: (1) inspect and edit config.json to point to safe input/output paths (remove any paths left by the author), (2) remove any unused/secret fields such as wechat_appid/secret if present, (3) ensure LibreOffice and Ghostscript are installed from official sources, (4) run the script on a non-sensitive sample PPT first (or in a sandbox), and (5) consider fixing the thumbnail-resize logic (the code divides image size by 3 regardless of configured cols/rows). If the author can explain why WeChat credentials were requested, that could resolve the main inconsistency.
功能分析
Type: OpenClaw Skill
Name: ppt2png
Version: 1.0.1
The skill bundle provides a utility to convert PPT files to PNG images using LibreOffice and Ghostscript. While the Python code in `ppt2png.py` appears functional and lacks explicit exfiltration logic, the `SKILL.md` file contains highly suspicious instructions requiring users to provide sensitive WeChat API credentials (`wechat_appid`, `wechat_appsecret`) in the `config.json` file. These credentials are not utilized by the provided script, suggesting a potential social engineering attempt to harvest secrets for future use or exfiltration by other means.
能力评估
Purpose & Capability
The code (ppt2png.py) implements the stated purpose: convert PPT → PDF with LibreOffice, PDF → PNG with Ghostscript, then assemble thumbnails. However SKILL.md asks the user to provide wechat_appid/wechat_appsecret/wechat_author in config.json even though neither config.json nor the Python code reference or use any WeChat fields. That mismatch is unexplained and atypical for this purpose.
Instruction Scope
Runtime instructions are generally scoped to reading config.json and processing the PPT; there are no network calls or file reads beyond the configured ppt and output directories. But SKILL.md instructs the user to add WeChat credentials to config.json (and to supply them), which the runtime does not use — this is scope creep and could be a leftover or misleading instruction. Also SKILL.md and config.json show absolute user paths; verify before running on a machine with different paths.
Install Mechanism
This is an instruction-only skill with a local Python script; there is no install specification. The SKILL.md asks to install ghostscript via brew and pillow via pip3 (reasonable and expected). No remote downloads or archive extraction are specified.
Credentials
The skill declares no required environment variables or credentials, but SKILL.md asks the user to supply wechat_appid and wechat_appsecret. Because the code does not use them, asking for secrets is disproportionate and unexplained. The provided config.json contains example absolute paths (pointing to a user's Desktop) — treat these as placeholders and update them to safe paths.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not modify other skills or system-wide agent settings. It only writes output files into configured output folders and a thumbnails subfolder.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ppt2png - 安装完成后,直接呼叫该 Skill 的名称或使用
/ppt2png触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
ppt2png v1.0.1
- Renamed main script from Pdftp.py to ppt2png.py.
- Updated SKILL.md with clearer input instructions and configuration details, including new options for setting WeChat app credentials.
- Thumbnail settings now default to 3 rows × 3 columns, configurable via config.json.
- Outlines main workflow and required dependencies.
- Removed unused PICS2PDF.py file.
v1.0.0
ppt2png v1.0.0
- Converts PPT files to images and thumbnails on macOS.
- Uses LibreOffice to convert PPT to PDF, then Ghostscript to export each PDF page as a PNG image.
- Automatically generates 1 thumbnail for every 6 images (3 columns × 2 rows).
- Supports Python 3.6 and organizes outputs into directories.
- Configuration via config.json, including DPI, grid size, LibreOffice, and Ghostscript paths.
- Requires manual installation of Ghostscript and Pillow.
元数据
常见问题
一键生成PPT截图和缩略图工具,MAC版本 是什么?
自动将Mac版PPT转换为每页PNG截图及每6页缩略拼接图,支持自定义DPI和布局,自动分目录管理。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 436 次。
如何安装 一键生成PPT截图和缩略图工具,MAC版本?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ppt2png」即可一键安装,无需额外配置。
一键生成PPT截图和缩略图工具,MAC版本 是免费的吗?
是的,一键生成PPT截图和缩略图工具,MAC版本 完全免费(开源免费),可自由下载、安装和使用。
一键生成PPT截图和缩略图工具,MAC版本 支持哪些平台?
一键生成PPT截图和缩略图工具,MAC版本 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 一键生成PPT截图和缩略图工具,MAC版本?
由 zhaoxm8023(@zhaoxm8023)开发并维护,当前版本 v1.0.1。
推荐 Skills