Xpersona
A

AiPPT-skill

CLAWHUB · Unverified

通过 AiPPT.cn 开放平台 API 智能生成专业 PPT 演示文稿,支持标题生成、联网智能生成、文件导入、URL导入、模板选择、导出大纲、回收站管理、自动导出下载 Skill: AiPPT-skill Owner: huiyuan1234 Summary: 通过 AiPPT.cn 开放平台 API 智能生成专业 PPT 演示文稿,支持标题生成、联网智能生成、文件导入、URL导入、模板选择、导出大纲、回收站管理、自动导出下载 Tags: aippt:3.0.7, latest:4.0.2, ppt:3.0.6 Version history: v4.0.2 | 2026-06-05T06:59:39.700Z | user AiPPT Skill 4.0.2 - 移除 skill-card.md 文档文件。 - SKILL.md 文档增补了高阶配置硬规则,明确只能通过 API 获取真实枚举,禁止自行生成配置枚举或推断用户画像。 - 新增禁止自动降级执行的要求,场景不自动 fallback,遇到接口未开通时需停止流程并明示原因。 - 场景一、二的详细流程坚持高阶配置和大纲先行,强调树形结构编辑

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1729e174yw2mv8bberb06vrbx83hkwt:aipptskill
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-huiyuan1234-aipptskill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

122,167 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

# AiPPT Skill

> 通过 AiPPT.cn 开放平台 API,在对话中协作式生成 PPT。v4.0.1 强调安全鉴权、场景分流、过程感知、大纲修改、模板选择,不做黑盒一键到底。

## 触发条件

当用户提出以下任一需求时使用本 Skill:

- 做 PPT、生成 PPT、创建演示文稿、制作幻灯片。
- 根据主题、文档、PPT、链接生成 PPT。
- 生成单页 PPT 或某一页幻灯片。
- 修改生成前的大纲、选择模板、控制 PPT 页数/受众/语气/语言/模型。

## 前置条件

环境依赖:`curl`、`python3`、`openssl`。

凭证通过 clawhub.ai / OpenClaw 的技能设置或安全凭证入口配置,不要让用户在聊天里粘贴 AK / SK。

| 变量名 | 必填 | 说明 |
|---|---:|---|
| `AIPPT_APP_KEY` | 是 | AiPPT 开放平台 App Key |
| `AIPPT_SECRET_KEY` | 是 | AiPPT 开放平台 Secret Key |
| `AIPPT_UID` | 否 | 用户标识,多用户隔离用,默认 `openclaw_default` |

安全要求:

- 不要要求用户在聊天中输入 AK / SK。
- 如果用户把 AK / SK 发到聊天里,立刻提醒按泄露处理,并建议去 AiPPT 控制台重置 Secret Key。
- 不要把真实 AK / SK 写入输出、日志说明、README、截图说明或生成文件。
- Skill 只使用环境变量或平台安全凭证读取密钥。

## 每次执行前先判断场景

用户发来 PPT 需求后,先按输入判断 5 类场景:

```text
有明确“单页/一页/生成某一页”诉求
  → AI 单页生成
有 PPT / PPTX 附件
  → 导入 PPT 生成
有 Word / PDF / TXT / Markdown / WPS 等文档附件
  → 文档上传 / Word 导入
有 URL 链接
  → 链接生成 PPT
只有主题 / 标题 / 需求描述
  → 智能生成
```

如果用户同时上传文件又给主题,先问清楚文件用途:

```text
您希望怎么使用这份文件?
1. 直接按文件内容生成 PPT
2. 把文件作为参考资料,围绕您给的主题重新生成 PPT
```

## 首次配置

首次使用或用户要求调整默认设置时,先收集配置:

- 是否需要编辑大纲:默认是。
- 是否逐节点确认大纲:默认否。
- 每次返回模板数量:默认 6,可选 3 / 6 / 9 / 12。
- 是否使用企业模板:如接口返回企业模板,优先询问用户。

## 高阶配置硬规则

不要凭常识、用户画像或主题自行编造高阶配置选项。高阶配置必须先调用接口拉取真实枚举,再基于返回的 `id / name / is_default` 询问用户。

先执行:

```bash
bash scripts/aippt.sh senior_options_pretty
```

或需要原始 JSON 时执行:

```bash
bash scripts/aippt.sh senior_options
```

执行规则:

- 只展示接口返回的真实配置组和枚举项。
- 传参给任务创建接口时,必须按配置组 `key` 组装 JSON 对象字符串,不是数组。
- 正确结构:`{"page":3,"group":6,"scene":18,"tone":40,"language":47}`。
- 其中 `page / group / scene / tone / language` 来自 `senior_options` 返回的父级 `key`,值来自用户选择的子项 `id`。
- 推荐传参写法:`--options '{"page":3,"group":6,"scene":18,"tone":40,"language":47}'`,可以放在标题后,也可以放在位置参数后。
- 不要把“LOL 玩家”“大众泛用户”等自行推断的受众写成选项;除非它们真实出现在 `senior_options` 返回中。
- 不知道枚举 ID 时,先拉接口,不要追问用户自由输入。
- 如果接口返回失败,使用默认配置或询问是否跳过高阶配置,不要伪造枚举。

只有以下场景展示高阶配置,且配置项以接口返回为准:

| 场景 | 高阶配置 |
|---|---|
| 智能生成 | 页数、受众、场景、语气、语言、切换模型、是否打开联网搜索、内容是否是参考文档 |
| 文档上传 / Word 导入 | 保持原文、适当扩写、润色美化、切换模型;其中可由 AiPPT `senior_options` 支撑的项必须使用真实枚举 |

以下场景没有高阶配置,不要展示不存在的配置项:

- 导入 PPT 生成
- 链接生成 PPT
- AI 单页生成

## 统一执行原则

v4.0.1 不允许黑盒到底。所有场景都要让用户看到关键阶段:

```text
鉴权检查中
任务创建中
解析输入中
生成大纲中
等待大纲确认
保存大纲修改中
生成内容中
获取属性结构中
加载模板中
合成 PPT 中
生成完成
生成失败 / 可重试
```

大纲或结构确认要求:

| 场景 | 确认方式 |
|---|---|
| 智能生成 | 先生成大纲,再获取 PPT 树形结构,用户修改 / 确认后选择模板,最后用修改后的大纲生成内容并合成作品 |
| 文档上传 / Word 导入 | 接口返回大纲+内容,随后获取 PPT 树形结构,用户修改 / 确认大纲和内容后选择模板并生成作品 |
| 导入 PPT 生成 | 修改大纲,再选择模板 |
| 链接生成 PPT | 修改大纲,再选择模板 |
| AI 单页生成 | 确认 / 修改单页结构,不按完整多页大纲处理 |

获取 PPT 属性结构是大纲编辑的关键步骤:它用于把生成结果转为可编辑树形结构,保留页面顺序、父子关系、正文内容和页面类型,并为编辑大纲接口提供完整回写数据。不要只改标题文本后直接合成。

## 禁止自动降级

当某个场景接口返回未开通、无权限或 40008 时,必须停止当前流程并告知用户需要开通对应能力。

禁止在未获得用户明确确认时自动切换场景,例如:

- Word / 文档导入未开通时,不要自动改成智能生成。
- 导入 PPT 生成失败时,不要自动改成文档上传。
- 链接生成失败时,不要自动复制网页文本改成智能生成。

正确做法:

```text
当前失败阶段:文档导入
原因:该凭证未开通 Word / 文档导入能力
下一步:请联系管理员开通;或者由用户明确确认后,改用“提取文档文本 + 智能生成”的 fallback
```

## 场景一:智能生成

触发条件:用户只提供主题、标题或 PPT 需求描述。

流程:

```text
1. 调用 senior_options_pretty 拉取真实高阶配置枚举
2. 基于真实枚举收集智能生成高阶配置
3. 将高阶配置组装成 senior_o

_meta.json

{
  "ownerId": "kn74sgs38tmm5dfchgd4aj3k91832qme",
  "slug": "aipptskill",
  "version": "4.0.2",
  "publishedAt": 1780642779700
}

skill-card.md

## Description:

AiPPT-skill helps agents use the AiPPT.cn Open Platform API to collaboratively generate, edit, template, export, and download presentation files from topics, documents, existing PPT files, URLs, or single-slide requests.

This skill is ready for commercial/non-commercial use.

## Publisher:

[huiyuan1234](https://clawhub.ai/user/huiyuan1234)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to guide an agent through PPT generation workflows, including outline review, template selection, file or URL import, and export to PPTX, PDF, Word, or PNG. It is suited for presentation drafting where the user can review generated outlines and exported files before use.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Presentation topics, URLs, and selected local documents may be sent to AiPPT.cn during generation workflows.

Mitigation: Use the skill only with content approved for AiPPT.cn processing, and review generated outlines and exports before sharing them.

Risk: Credentials and cached tokens can be exposed if stored in local files or shared writable directories.

Mitigation: Use platform-managed secrets where available, avoid shared writable install locations, and clear or protect the token cache after use.

Risk: The broad activation scope may run on many presentation-related prompts.

Mitigation: Confirm the intended generation path before sending files, URLs, or sensitive prompt content to the service.

## Reference(s):

- [AiPPT Open Platform Documentation](https://open.aippt.cn/docs/zh/)
- [ClawHub Skill Page](https://clawhub.ai/huiyuan1234/skills/aipptskill)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, files, guidance]

**Output Format:** [Markdown guidance with shell command examples and generated file paths for exported presentation assets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Can export PPTX, PDF, Word, and PNG files after AiPPT task creation, outline handling, template selection, and download.]

## Skill Version(s):

4.0.2 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

skill.json

{
  "name": "aippt",
  "version": "4.0.1",
  "description": "通过 AiPPT.cn 开放平台 API 协作式生成 PPT,支持智能生成、文档上传、导入 PPT、链接生成和 AI 单页生成,提供安全鉴权、过程感知、大纲修改、模板选择和高阶配置",
  "author": "小龙",
  "triggers": [
    "PPT",
    "ppt",
    "演示文稿",
    "幻灯片",
    "aippt",
    "AiPPT",
    "AIPPT",
    "做PPT",
    "生成PPT",
    "创建PPT",
    "写PPT",
    "做个PPT",
    "帮我做PPT",
    "PPT生成",
    "文档生成PPT",
    "链接生成PPT",
    "导入PPT生成",
    "AI单页生成",
    "make a PPT",
    "create PPT",
    "generate PPT",
    "presentation",
    "slideshow",
    "slides"
  ],
  "env": {
    "AIPPT_APP_KEY": {
      "required": true,
      "description": "AiPPT 开放平台 App Key。通过 clawhub.ai / OpenClaw 技能设置或安全凭证入口配置,不要在聊天中粘贴。"
    },
    "AIPPT_SECRET_KEY": {
      "required": true,
      "description": "AiPPT 开放平台 Secret Key。仅用于服务端签名,不得出现在聊天、日志、截图或输出文件中。"
    },
    "AIPPT_UID": {
      "required": false,
      "default": "openclaw_default",
      "description": "用户标识,用于多用户隔离。"
    }
  },
  "dependencies": [
    "curl",
    "python3",
    "openssl"
  ],
  "scripts": {
    "main": "scripts/aippt.sh"
  },
  "capabilities": [
    "智能生成 PPT",
    "文档上传 / Word 导入生成 PPT",
    "导入 PPT 再生成",
    "链接生成 PPT",
    "AI 单页生成",
    "安全凭证鉴权",
    "生成过程感知",
    "大纲展示与修改",
    "单页结构确认",
    "模板数量配置",
    "企业模板优先推荐",
    "PPTX / PDF / Word / PNG 导出"
  ]
}

Sponsored

Ads related to AiPPT-skill and adjacent AI workflows.