ppt2wechat for Openclaw

Automate the conversion of PowerPoint files into images and thumbnails, then publish them directly to WeChat Official Accounts on macOS.

zhaoxm8023
v1.0.0
Mar 5, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ppt2wechat

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ppt2wechat using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ppt2wechat?

ppt2wechat is a specialized automation skill designed for macOS users who need to streamline their content creation pipeline. It bridges the gap between static presentations and social media engagement by transforming PPT files into high-quality page screenshots and customized grid thumbnails. This Openclaw Skills integration simplifies the tedious process of manual exporting and uploading, making it ideal for educators, marketers, and technical writers who maintain WeChat Official Accounts.

By leveraging industrial-strength tools like LibreOffice and Ghostscript, the skill ensures high-fidelity conversion from presentation formats to web-ready imagery. It handles the entire lifecycle from local file reading to remote API publishing, significantly reducing the manual effort required to manage social media assets.

ppt2wechat Use Cases

  • Converting educational slides into WeChat articles for easier mobile consumption.
  • Generating 3x3 grid preview images for professional social media sharing.
  • Automating the publishing workflow for weekly presentation reports to corporate accounts.
  • Batch processing PowerPoint files into web-ready PNG assets on macOS environments using Openclaw Skills.

How ppt2wechat Works

  1. The skill identifies the target PPT file from the directory specified in the user configuration.
  2. It utilizes LibreOffice to convert the PowerPoint presentation into a high-quality temporary PDF document.
  3. Ghostscript processes the PDF to generate individual high-resolution PNG images for every slide.
  4. The Pillow library organizes the slide images into a grid-based thumbnail (defaulting to a 3x3 grid).
  5. The final assets, including slide images and thumbnails, are uploaded and published to the WeChat Official Account using the provided API credentials.

ppt2wechat Setup

To get started with this Openclaw Skills component, you must install the following system dependencies:

brew install ghostscript
pip3 install pillow

After installation, configure your config.json with your WeChat credentials and local system paths. If you are using Homebrew on Apple Silicon, ensure your ghostscript_path is set to /opt/homebrew/bin/gs.

ppt2wechat Data Schema & Taxonomy

The skill manages its workflow through a central config.json file. The following table describes the required metadata and configuration keys:

Key Description
ppt_dir The system path where your source PPT files are located.
ppt_file The filename of the presentation to be processed.
wechat_appid Your unique WeChat Official Account AppID.
wechat_appsecret Your WeChat Official Account AppSecret for API authentication.
wechat_author The author name to be displayed on the published WeChat article.
thumbnail_rows The number of rows for the generated thumbnail grid.
thumbnail_cols The number of columns for the generated thumbnail grid.

ppt2wechat Advanced Features

  • Custom DPI settings to control the resolution and quality of the generated PNG images.
  • Flexible thumbnail configuration allowing for any N x M grid layout.
  • Configurable binary paths for LibreOffice and Ghostscript to support non-standard system installations.
  • Automatic metadata injection for WeChat publishing, including author and title management via Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*