微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🧩

AI PPT Generator

AI PPT Generator · v
内容尚未采集 这个技能只有名称和简介,正文与文件还没补采,暂不可安装。
Productivity & Workflow 作者 GeorgeDoors888 公开目录收录

简介

Generates professional, structured PowerPoint presentations from optimized topic keywords using automated AI workflows.

通过你的 Agent 添加

安装目录:ai-ppt-generator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/ai-ppt-generator/
Codex CLI~/.codex/skills/ai-ppt-generator/
DeepSeek Harness~/.agents/skills/ai-ppt-generator/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: ai-ppt-generator description: The awesome PPT format generation tool provided by baidu. metadata: { "emoji": "📑", "requires": { "bins": ["python3"], "env":["BAIDU_API_KEY"]}, "primaryEnv":"BAIDU_API_KEY" }

AI PPT Generation

Using user input topic/query, generate a high-quality PPT download URL via Baidu AI's streaming API.

Important: Streaming Timeout Behavior

This skill uses streaming HTTP requests that can take 2+ minutes to complete. Default timeouts may interrupt the stream before completion.

To ensure successful generation:

  1. The agent must wait for the full stream until is_end: true is received
  2. Do NOT rely on immediate completion – monitor the streaming response
  3. If timeout occurs, the skill will appear to fail even though generation continues server-side

Workflow

  1. Execute scripts/generate_ppt.py with user query
  2. Wait for streaming completion (2+ minutes typical)
  3. Return final PPT URL when is_end: true received

Expected Output Format

Successful completion returns:

{
  "status": "PPT导出结束",
  "show_msg": "PPT导出成功",
  "is_end": true,
  "data": {
    "ppt_url": "https://...ppt"
  }
}

During generation, you'll see interim {"status": "..."} messages.

Example Usage

python3 scripts/generate_ppt.py --query "经济总结报告ppt"

Agent Instructions

When using this skill:

  • Set appropriate timeout: Ensure exec/sessions have sufficient timeout (180+ seconds)
  • Monitor streaming output: Don't assume failure if initial responses only show status
  • Wait for completion: The final URL only appears at stream end with is_end: true
  • Handle gracefully: If interrupted, inform user generation may continue server-side

Troubleshooting

  • PPT not appearing: Likely timeout before stream completion
  • Only status messages: Generation is in progress, wait longer
  • Script exits early: Check BAIDU_API_KEY and network connectivity

正文来自原始仓库, 版权归作者所有,许可:MIT。 权利人认为有不妥,可申请下架。

原始仓库

作者的项目地址:https://github.com/CraftOS-dev/CraftBot

标签

没有标签

同类 Skill