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).
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install tiangong-wps-ppt-automation或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install tiangong-wps-ppt-automation⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/tiangong-wps-ppt-automation/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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). ---
Use the bundled Python script to control PowerPoint or WPS Presentation via COM.
python -m pip install pywin32).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"
Extract all slide text.
python {baseDir}/scripts/wps_ppt_automation.py read --input "C:\path\file.pptx" --output "C:\path\out.txt"
Extract speaker notes.
python {baseDir}/scripts/wps_ppt_automation.py notes --input "C:\path\file.pptx" --output "C:\path\notes.txt"
Export slide titles as outline.
python {baseDir}/scripts/wps_ppt_automation.py outline --input "C:\path\file.pptx" --output "C:\path\outline.txt"
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"
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"
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"
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"
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"
Export embedded images.
python {baseDir}/scripts/wps_ppt_automation.py extract-images --input "C:\path\file.pptx" --outdir "C:\out\images"
--app wps; otherwise default uses PowerPoint.--visible true if you need to watch the UI.安装 PowerPoint Automation 后,可以对 AI 说这些话来触发它
Create a WPS Writer report from this sales data and save it as a .docx file
Formats the data into a professional report with headers, tables, and charts, then saves it as a WPS-compatible .docx file
Read the WPS spreadsheet and summarize the key figures
Opens the WPS Spreadsheet file, identifies the main data columns, and returns a plain-English summary of the key metrics
Generate a 10-slide WPS Presentation from this outline
Creates a structured presentation with title slide, content slides, and a summary, formatted for WPS Presentation
将技能文件夹放到 ~/.claude/skills/tiangong-wps-ppt-automation/ 目录(个人级,所有项目可用),或 .claude/skills/tiangong-wps-ppt-automation/(项目级)。重启 AI 客户端后,用 /tiangong-wps-ppt-automation 主动调用,或让 AI 根据上下文自动发现并使用。
PowerPoint Automation 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
PowerPoint Automation 可免费安装使用。请查阅仓库了解许可证信息。
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).
PowerPoint Automation 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。