📦 pi-ppt — 技能工具

v1.0.9

生成 PPT/演示文稿 using services provided by PI (演示智能服务).

1· 413·0 当前·0 累计
by @xmcbbkad (Presentation Intelligence)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/10
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's code, runtime instructions, and requested environment variables are consistent with its stated purpose (uploading content and calling a Presentation Intelligence PPT-generation API).
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.92026/3/11

- No changes detected in this version. - Functionality, usage instructions, and requirements remain the same.

无害

安装命令

点击复制
官方npx clawhub@latest install pi-ppt
🇨🇳 镜像加速npx clawhub@latest install pi-ppt --registry https://cn.longxiaskill.com

技能文档

Functionality

  • Generate PPTs using the PI (Presentation Intelligence) API.

Setup

  • API Key: Ensure the PIPPT_BASE_URL, PIPPT_APP_ID and PIPPT_APP_SECRET environment variables are set with your valid API key. You can obtain API key from the PI website: https://www.pi.inc/ .
  • Environment: The API key should be available in the runtime environment.

Generate a PPT

Run the following script:
PIPPT_BASE_URL=xxx PIPPT_APP_ID=xxx PIPPT_APP_SECRET=xxx python3 scripts/generate_pi_ppt.py --content  --language --cards --file
Input arguments: content(str, required): Topic and description, for example: "Create a PPT introducing Chinese GPU vendors in a formal business style." cards(int, optional): Expected number of slides, for example 10. Default is 8. If you generate a PPT from an uploaded document, do not specify cards because the slide count is determined by the document content. language(str, required): Target language of the PPT. 'zh' for Chinese, 'en' for English. Default is 'zh'. file(str, optional): Path to the document to upload, for example: "/Users/jack/download/weekly_report_20250304.doc". Supported file types: .doc/.docx/.txt/.md/.pdf/.pptx/.ppt. Other file types are not supported. Only one document can be uploaded.

Complete command examples:

Generate from an uploaded document (slide count is determined by content, do not pass --cards):

PIPPT_BASE_URL=xxx PIPPT_APP_ID=xxx PIPPT_APP_SECRET=xxx python3 scripts/generate_pi_ppt.py \
  --content "Generate a well-structured business report PPT based on the attached document" \
  --language zh \
  --file "/Users/YourName/Documents/quarterly_review.docx"

Generate from a one-line prompt / topic (you can specify slide count):

PIPPT_BASE_URL=xxx PIPPT_APP_ID=xxx PIPPT_APP_SECRET=xxx python3 scripts/generate_pi_ppt.py \
  --content "Create a PPT introducing Chinese GPU vendors in a formal business style" \
  --language zh \
  --cards 10

Notes

  • Generating one PPT usually takes about 3-6 minutes. Please remind users to be patient.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库