← Back to Skills Marketplace
一键生成PPT截图和缩略图工具发布到微信去的工具,MAC版本
by
zhaoxm8023
· GitHub ↗
· v1.0.0
392
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ppt2wechat
Description
自动将指定Mac路径下的PPT按页生成截图和缩略图,并发布到微信公众号,支持自定义配置和参数调整。
Usage Guidance
This skill appears internally consistent and implements the stated workflow. Before installing/using it: (1) Verify you have LibreOffice (soffice) and Ghostscript installed and configured paths in config.json. (2) Replace the placeholder wechat_appid and wechat_appsecret in config.json with your real credentials and keep that file private (do not commit it to git). (3) Understand the script will upload images to your WeChat account using those credentials—only run it with credentials you control. (4) The script compresses images in-place and writes output under the PPT-named work directory; verify disk/write permissions and available space. (5) If you need higher assurance, review or run the script in an isolated environment (local VM) and monitor outgoing network calls; the only external endpoints used are api.weixin.qq.com (official WeChat API).
Capability Analysis
Type: OpenClaw Skill
Name: ppt2wechat
Version: 1.0.0
The skill automates the conversion of PPT files to images and their subsequent upload to WeChat Official Accounts using `ppt2wechat.py`. It requires the user to provide sensitive API credentials (`wechat_appid`, `wechat_appsecret`) and utilizes `subprocess.run` to execute external system binaries (LibreOffice and Ghostscript) for file processing. While the code logic appears to follow the stated purpose and communicates only with official WeChat endpoints (api.weixin.qq.com), the handling of sensitive credentials and the execution of external system commands are classified as high-risk behaviors under the provided criteria.
Capability Assessment
Purpose & Capability
Name/description match the implementation: code converts PPT→PDF via LibreOffice, PDF→PNG via Ghostscript, builds thumbnails, and uploads/publishes to WeChat API endpoints. Required binaries (LibreOffice, Ghostscript) and Python libs (Pillow, requests) are appropriate for the task.
Instruction Scope
SKILL.md instructs the user to set ppt_dir/ppt_file and WeChat credentials in config.json and to install ghostscript and pillow. The runtime code only reads config.json, the specified PPT file, and calls the official WeChat API endpoints (api.weixin.qq.com); it does not access unrelated system files or unusual network endpoints.
Install Mechanism
There is no automated installer. SKILL.md recommends brew install ghostscript and pip3 install pillow — standard, low-risk instructions. No downloads from unknown hosts or archive extraction are present.
Credentials
The skill does not request environment variables but expects WeChat appid/secret in config.json. That is functionally appropriate, but storing secrets in a plaintext config file is a security consideration: do not commit config.json to source control and protect access to the file.
Persistence & Privilege
Skill is not always-enabled and does not modify other skills or system-wide configuration. It runs on demand and only uses local files and network calls to the WeChat API.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ppt2wechat - After installation, invoke the skill by name or use
/ppt2wechat - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
ppt2wechat 1.0.0 – Initial Release
- Automatically converts each slide of a specified PPT to a PNG screenshot and generates 3x3 thumbnails.
- Publishes the generated images to a designated WeChat official account using user-provided credentials.
- Customizable settings through config.json, including PPT location, output DPI, grid layout, and external tool paths.
- Supports PPT to PDF (LibreOffice) and PDF to PNG (Ghostscript) workflow on macOS.
- Requires prior installation of Ghostscript and Pillow.
Metadata
Frequently Asked Questions
What is 一键生成PPT截图和缩略图工具发布到微信去的工具,MAC版本?
自动将指定Mac路径下的PPT按页生成截图和缩略图,并发布到微信公众号,支持自定义配置和参数调整。 It is an AI Agent Skill for Claude Code / OpenClaw, with 392 downloads so far.
How do I install 一键生成PPT截图和缩略图工具发布到微信去的工具,MAC版本?
Run "/install ppt2wechat" 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.0.
More Skills