简介
基于讯飞API自动生成结构化商务PPT,适合报告、培训等场景,需预先配置环境变量。
原始描述
Generate professional, structured PowerPoint presentations from optimized topic keywords.
通过你的 Agent 添加
安装目录:ppt-generator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: ppt-generator
description: Generate professional, structured PowerPoint presentations from optimized topic keywords.
homepage: https://python-pptx.readthedocs.io/
metadata:
{
"openclaw":
{
"emoji": "📊",
"requires": {
"bins": ["python"],
"env": []
},
"primaryEnv": ""
}
}
📊 PPT Generator
Generate a complete, logically structured, and presentation-ready PowerPoint deck from a professionally optimized topic phrase.
Designed for business, technical, and training scenarios.
✨ Features
- Automatic slide outline generation
- Clear logical hierarchy
- Business-ready formatting
- One-command execution
- Deterministic single-output generation
🚀 Usage
python {baseDir}/scripts/index.py generate_ppt "<optimized-topic>"
python {baseDir}/scripts/index.py generate_ppt "<optimized-topic>"
Example:
python {baseDir}/scripts/index.py generate_ppt "Artificial Intelligence Industry Trends"
🧠 Input Specification (Strict Contract)
Before invoking the skill, the topic must undergo semantic compression optimization.
Final Topic Requirements
- 5–10 words
- Formal report-style title
- Clear and domain-specific
- No conversational language
- Not a full sentence
Input Optimization Examples
Raw User Request
Optimized Topic
帮我做一个关于人工智能发展现状的PPT
人工智能发展现状
我要介绍一下公司今年的技术规划
公司年度技术规划
做一份给新员工的Java培训PPT
Java新员工培训
⚠ Constraints
- One invocation generates one complete PPT
- Raw user input must NOT be passed directly
- Environment variables must be configured before execution
🔧 Environment Setup
| Raw User Request | Optimized Topic |
|---|---|
| 帮我做一个关于人工智能发展现状的PPT | 人工智能发展现状 |
| 我要介绍一下公司今年的技术规划 | 公司年度技术规划 |
| 做一份给新员工的Java培训PPT | Java新员工培训 |
⚠ Constraints
- One invocation generates one complete PPT
- Raw user input must NOT be passed directly
- Environment variables must be configured before execution
🔧 Environment Setup
Required:
- Python available in PATH
- Environment variables configured:
export XF_PPT_APP_ID=your_app_id
export XF_PPT_API_SECRET=your_api_secret
📦 Output
- Fully structured PPT file
- Multi-level slide organization
- Presentation-ready content layout
- Business-standard formatting
🎯 Target Use Cases
- Business reports
- Strategy planning
- Technical presentations
- Internal training materials
- Academic summaries
🛠 Extensibility
- Business reports
- Strategy planning
- Technical presentations
- Internal training materials
- Academic summaries
🛠 Extensibility
Future enhancements may include:
- Slide count configuration
- Language selection
- Theme customization
- Template switching
- AI-assisted topic compression
Built for automation workflows and AI-driven document generation.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。