← Back to Skills Marketplace
zhaoxm8023

一键生成PPT截图和缩略图工具,MAC版本

by zhaoxm8023 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
436
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install ppt2png
Description
自动将Mac版PPT转换为每页PNG截图及每6页缩略拼接图,支持自定义DPI和布局,自动分目录管理。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ppt2png
  3. After installation, invoke the skill by name or use /ppt2png
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug ppt2png
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 一键生成PPT截图和缩略图工具,MAC版本?

自动将Mac版PPT转换为每页PNG截图及每6页缩略拼接图,支持自定义DPI和布局,自动分目录管理。 It is an AI Agent Skill for Claude Code / OpenClaw, with 436 downloads so far.

How do I install 一键生成PPT截图和缩略图工具,MAC版本?

Run "/install ppt2png" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 一键生成PPT截图和缩略图工具,MAC版本 free?

Yes, 一键生成PPT截图和缩略图工具,MAC版本 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 一键生成PPT截图和缩略图工具,MAC版本 support?

一键生成PPT截图和缩略图工具,MAC版本 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 一键生成PPT截图和缩略图工具,MAC版本?

It is built and maintained by zhaoxm8023 (@zhaoxm8023); the current version is v1.0.1.

💬 Comments