skills$openclaw/wps-ppt-automation
fadeloo881

by fadeloo

wps-ppt-automation – OpenClaw Skill

wps-ppt-automation is an OpenClaw Skills integration for coding workflows. Automate common PowerPoint/WPS Presentation operations on Windows via COM (read text/notes/outline, export PDF/images, replace text, insert/delete slides, unify font/size/theme, extract images/media). Use for single-presentation actions (no batch).

881 stars6.7k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namewps-ppt-automation
descriptionAutomate common PowerPoint/WPS Presentation operations on Windows via COM (read text/notes/outline, export PDF/images, replace text, insert/delete slides, unify font/size/theme, extract images/media). Use for single-presentation actions (no batch). OpenClaw Skills integration.
ownerfadeloo
repositoryfadeloo/tiangong-wps-ppt-automation
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @fadeloo/tiangong-wps-ppt-automation
last updatedFeb 7, 2026

Maintainer

fadeloo

fadeloo

Maintains wps-ppt-automation in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
wps_ppt_automation.py
8.0 KB
_meta.json
301 B
SKILL.md
2.8 KB
SKILL.md

name: wps-ppt-automation description: Automate common PowerPoint/WPS Presentation operations on Windows via COM (read text/notes/outline, export PDF/images, replace text, insert/delete slides, unify font/size/theme, extract images/media). Use for single-presentation actions (no batch).

WPS/PowerPoint Automation (Windows)

Use the bundled Python script to control PowerPoint or WPS Presentation via COM.

Requirements

  • Windows with Microsoft PowerPoint or WPS Presentation installed.
  • Python + pywin32 (python -m pip install pywin32).

Quick start

python {baseDir}/scripts/wps_ppt_automation.py read --input "C:\path\file.pptx"
python {baseDir}/scripts/wps_ppt_automation.py export --input "C:\path\file.pptx" --format pdf --output "C:\path\out.pdf"

Commands

read

Extract all slide text.

python {baseDir}/scripts/wps_ppt_automation.py read --input "C:\path\file.pptx" --output "C:\path\out.txt"

notes

Extract speaker notes.

python {baseDir}/scripts/wps_ppt_automation.py notes --input "C:\path\file.pptx" --output "C:\path\notes.txt"

outline

Export slide titles as outline.

python {baseDir}/scripts/wps_ppt_automation.py outline --input "C:\path\file.pptx" --output "C:\path\outline.txt"

export

Export to PDF or images (PNG).

python {baseDir}/scripts/wps_ppt_automation.py export --input "C:\path\file.pptx" --format pdf --output "C:\path\out.pdf"
python {baseDir}/scripts/wps_ppt_automation.py export --input "C:\path\file.pptx" --format images --outdir "C:\out\slides"

replace

Find/replace text across slides.

python {baseDir}/scripts/wps_ppt_automation.py replace --input "C:\path\file.pptx" --find "old" --replace "new" --save "C:\path\out.pptx"

slides

Insert or delete slides.

python {baseDir}/scripts/wps_ppt_automation.py insert-slide --input "C:\path\file.pptx" --index 2 --save "C:\path\out.pptx"
python {baseDir}/scripts/wps_ppt_automation.py delete-slide --input "C:\path\file.pptx" --index 3 --save "C:\path\out.pptx"

font

Unify font name/size across slides.

python {baseDir}/scripts/wps_ppt_automation.py font --input "C:\path\file.pptx" --name "Microsoft YaHei" --size 20 --save "C:\path\out.pptx"

theme

Apply a theme (.thmx).

python {baseDir}/scripts/wps_ppt_automation.py theme --input "C:\path\file.pptx" --theme "C:\path\theme.thmx" --save "C:\path\out.pptx"

extract-images

Export embedded images.

python {baseDir}/scripts/wps_ppt_automation.py extract-images --input "C:\path\file.pptx" --outdir "C:\out\images"

Notes

  • If WPS is installed, try --app wps; otherwise default uses PowerPoint.
  • Use --visible true if you need to watch the UI.
  • Avoid batch usage; this skill is for single-presentation operations.
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

- Windows with **Microsoft PowerPoint** or **WPS Presentation** installed. - Python + **pywin32** (`python -m pip install pywin32`).

FAQ

How do I install wps-ppt-automation?

Run openclaw add @fadeloo/tiangong-wps-ppt-automation in your terminal. This installs wps-ppt-automation into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/fadeloo/tiangong-wps-ppt-automation. Review commits and README documentation before installing.