← 返回 Skills 市场
lulu-owo

Ai Ppt Generate.Skip2

作者 Lulu-OwO · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
121
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-ppt-generate-skip2
功能描述
The intelligent PPT generation tool is provided by Baidu. It is a tool that intelligently generates PPTS based on the themes or questions given by users. Use...
使用说明 (SKILL.md)

AI PPT Generation

This skill allows OpenClaw agents to generate ppt file, Based solely on the theme provided by the user, if possible, pictures or resource files can be provided, this tool can help generate perfect PPT files.

Setup

  1. API Key: Ensure the BAIDU_API_KEY environment variable is set with your valid API key.
  2. Environment: The API key should be available in the runtime environment.

API table

name path description
PPTThemeQuery /v2/tools/ai_ppt/get_ppt_theme Query the built-in list of PPT themes and templates
PPTOutlineGenerate /v2/tools/ai_ppt/generate_outline Generate a PPT outline based on the provided theme, template ID, style ID, etc
PPTGenerate /v2/tools/ai_ppt/generate_ppt_by_outline Generate a PPT file url based on the provided ppt outline

Workflow

  1. The PPTThemeQuery API executes the Python script located at scripts/ppt_theme_list.py
  2. The PPTOutlineGenerate API executes the Python script located at scripts/ppt_outline_generate.py
  3. The PPTGenerate API executes the Python script located at scripts/ppt_generate.py
  4. The first step is for the user to query the PPT style query interface(PPTThemeQuery) to obtain the style ID and template ID
  5. The second step is to use the style ID and template ID queried in the first step as parameters for generating the PPT outline and call the PPT outline generation API(PPTOutlineGenerate) to generate the outline (this API is a sse streaming return. This step depends on the first step. If the first step fails, the request can be terminated).
  6. The third step is to request the PPT intelligent generation API(PPTGenerate) based on the outline generated in the second step. Eventually, a PPT file is generated (the request parameter outline is returned by the outline generation interface, aggregating the sse streaming return result as the input parameter. Meanwhile, users can edit and modify the outline, but the modified outline must be in markdown format). Otherwise, a failure may occur. This step strictly depends on the second step. If the second step fails, the request can be terminated.

APIS

PPTThemeQuery API

Parameters

no parameters

Example Usage

BAIDU_API_KEY=xxx python3 scripts/ppt_theme_list.py

PPTOutlineGenerate API

Parameters

  • query: ppt title or user query(required)
  • resource_url: the url of the resource file, such as pdf, word, txt, etc.
  • page_range: the page range of the ppt file, just include enumerations, 1-10、11-20、21-30、31-40、40+
  • layout: the layout of the ppt file, optional values: 1,2 (1: Minimalist mode, 2: Professional Mode)
  • language_option: the language option of the ppt file, optional values: zh, en (zh: Chinese, en: English)
  • gen_mode: the generation mode of the ppt, optional values: 1,2 (1: Intelligent touch-ups, 2: Creative Mode)

Example Usage

BAIDU_API_KEY=xxx python3 scripts/ppt_outline_generate.py --query "generate a ppt about the future of AI" 

PPTGenerate API

Parameters

  • query_id: query id from PPTOutlineGenerate API return(required)
  • chat_id: chat id from PPTOutlineGenerate API return(required)
  • outline: ppt outline from PPTOutlineGenerate API return,must be in markdown format.Users can make appropriate modifications to the content, adding, modifying or deleting parts of the outline.(required)
  • query: user orgin query(required)
  • title: ppt title from PPTOutlineGenerate API return(required)
  • style_id: ppt stype id from PPTThemeQuery API return(required)
  • tpl_id: ppt template id from PPTThemeQuery API return(required)
  • resource_url: the url of the resource file, such as pdf, word, txt, etc.
  • custom_tpl_url: The path of the user-defined PPT template must be downloadable
  • gen_mode: the generation mode of the ppt, optional values: 1,2 (1: Intelligent touch-ups, 2: Creative Mode)
  • ai_info: Information on whether to use AI-generated PPT on the last page of the generated PPT

Example Usage

BAIDU_API_KEY=xxx python3 scripts/ppt_generate.py --query_id "xxx" --chat_id "xxx" ...
安全使用建议
This skill appears to be a wrapper around a Baidu PPT-generation API and its bundled Python scripts will run locally and require BAIDU_API_KEY (an API key) even though the registry metadata doesn't declare that. Before installing: 1) Verify the skill owner and source (there's no homepage and ownerId in _meta.json doesn't match the registry ownerId). 2) Only provide a BAIDU_API_KEY you trust and avoid using highly sensitive or shared keys. 3) Review the bundled files locally (the three Python scripts are readable and simply POST to qianfan.baidubce.com) and run the skill in an isolated/sandbox environment first. 4) Be cautious with resource_url/custom_tpl_url inputs — they accept arbitrary URLs which could expose references to external resources. If provenance or owner identity can't be confirmed, prefer a skill with explicit metadata and a verifiable homepage/source.
功能分析
Type: OpenClaw Skill Name: ai-ppt-generate-skip2 Version: 1.0.0 The skill bundle provides a legitimate interface for Baidu's Qianfan AI PPT generation service. The Python scripts (ppt_generate.py, ppt_outline_generate.py, and ppt_theme_list.py) are straightforward wrappers that communicate with official Baidu endpoints (qianfan.baidubce.com) using the requests library. The code correctly handles API authentication via environment variables and processes streaming SSE responses as described in the documentation. While the outline.json file contains oddly formatted and encoded sample data, it does not contain executable code or malicious payloads.
能力评估
Purpose & Capability
The name/description claim a Baidu AI PPT generator and the included Python scripts call Baidu endpoints (qianfan.baidubce.com), which is coherent with the stated purpose. However the registry metadata (Requirements) lists no required environment variables or primary credential while the SKILL.md and every script require a BAIDU_API_KEY — this is an inconsistency. Additionally the packaged _meta.json ownerId differs from the registry ownerId and there is no homepage or source URL to verify provenance.
Instruction Scope
SKILL.md instructs the agent to run the included Python scripts (ppt_theme_list.py, ppt_outline_generate.py, ppt_generate.py), and each script only performs HTTPS POST requests to the Baidu qianfan API and streams/prints JSON results. The instructions do not ask the agent to read arbitrary local files or other environment variables beyond BAIDU_API_KEY. That scope is appropriate for this functionality, but the documentation and metadata omission of the BAIDU_API_KEY requirement expands risk because a user may not realize a secret is needed.
Install Mechanism
There is no install spec (instruction-only install), and the skill requires only a local Python binary to run bundled scripts. No remote downloads or archive extraction are specified. The presence of bundled Python scripts means code will execute locally, but they are straightforward network callers without obfuscated behavior.
Credentials
The scripts require a sensitive credential (BAIDU_API_KEY) to call the service, but the skill metadata does not declare this required env var or identify it as the primary credential. Requesting a single API key is proportionate to the service, but the omission in metadata is a coherence problem and increases the chance a user might accidentally supply credentials without realizing. Also the scripts accept resource_url and custom_tpl_url parameters (arbitrary URLs) — while they are forwarded to Baidu rather than fetched locally, these parameters could lead to indirect exposure of resource locations or data depending on how the remote service treats them.
Persistence & Privilege
The skill does not request persistent presence (always:false). It doesn't modify other skill configs or system-wide settings. It only requires the ability to run bundled Python scripts and make outbound HTTPS requests.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-ppt-generate-skip2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-ppt-generate-skip2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the AI PPT generation tool powered by Baidu. - Generate PowerPoint presentations based on user-provided themes, questions, and optional resource files (pdf, word, txt, images). - Select and customize PPT themes and templates; support for user-defined templates. - Three-step workflow: query themes, generate outlines, and produce downloadable PPT files. - Integration with Baidu API; requires a valid BAIDU_API_KEY set in the environment.
元数据
Slug ai-ppt-generate-skip2
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 0
历史版本数 1
常见问题

Ai Ppt Generate.Skip2 是什么?

The intelligent PPT generation tool is provided by Baidu. It is a tool that intelligently generates PPTS based on the themes or questions given by users. Use... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 Ai Ppt Generate.Skip2?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-ppt-generate-skip2」即可一键安装,无需额外配置。

Ai Ppt Generate.Skip2 是免费的吗?

是的,Ai Ppt Generate.Skip2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ai Ppt Generate.Skip2 支持哪些平台?

Ai Ppt Generate.Skip2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ai Ppt Generate.Skip2?

由 Lulu-OwO(@lulu-owo)开发并维护,当前版本 v1.0.0。

💬 留言讨论