Xpersona
P

powerpoint-generator

CLAWHUB · Unverified

Professional full-process PPT presentation AI generation assistant. Simulates the complete workflow of a top-tier PPT design company (requirements research -... Skill: powerpoint-generator Owner: cerealaxis Summary: Professional full-process PPT presentation AI generation assistant. Simulates the complete workflow of a top-tier PPT design company (requirements research -... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-10T16:40:22.317Z | user **Initial public release of powerpoint-generator** - Released version 1.0.1 with 13 new files, including core scripts and confi

62
Rank
84
Safety
997
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 997 downloads reported by the source. Last updated 10/11/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 s17dq8df82nrvngdfsjhwb4ttx847k96:powerpoint-generator
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  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-cerealaxis-powerpoint-generator/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

142,463 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: ppt-agent
description: Professional full-process PPT presentation AI generation assistant. Simulates the complete workflow of a top-tier PPT design company (requirements research -> information gathering -> outline planning -> draft planning -> design draft), outputting high-quality HTML presentations. Triggered when users mention making PPT, presentations, slides, training materials, roadshow decks, or product introduction pages. Also applies when users say "help me make an introduction about X" or "I need to present Y to my boss" - any scenario requiring structured multi-page presentation content.
---

# PPT Agent -- Professional Full-Process Presentation Generation

## Core Philosophy

Mimics the complete workflow of a professional PPT design company (priced at 10,000+ RMB per page), not "give an outline and apply a template":

1. **Research before generation** -- Fill content with real data, never fabricate
2. **Separate planning from design** -- Verify information structure first, then apply visual packaging
3. **Content-driven layout** -- Bento Grid card-style layout, each page's layout determined by its content
4. **Consistent global style** -- Lock in style first, then generate page by page, ensuring cross-page consistency
5. **Smart illustrations** -- Use image generation capabilities to add illustrations for each page (available in most environments)

---

## Environment Setup [Required for First Use]

### Node.js Environment

**China Mainland mirror installation** (must set, otherwise puppeteer Chrome binary download will fail):

```bash
export PUPPETEER_DOWNLOAD_HOST=https://storage.googleapis.com.cnpmjs.org
npm install -g puppeteer --unsafe-perm
npm install -g dom-to-svg esbuild
```

**Verification**: `node -e "require('puppeteer'); console.log('puppeteer OK')"`

If full puppeteer fails to install (Chrome download blocked in China mainland), scripts will automatically fall back to `puppeteer-core` with system Chrome at `/usr/bin/google-chrome`. You can also install it directly:

```bash
npm install -g puppeteer-core
````

### Python Environment

```bash
pip install python-pptx lxml Pillow
```

---

## Pipeline Mandatory Declaration [Red Lines]

> The following rules must not be violated. Any bypass will cause severe degradation in output quality.

### Six-Step Pipeline Order is Fixed, No Skipping

```
Step 1 → Step 2 → Step 3 → Step 4 → Step 5 → Step 6
```

### Prohibited Behaviors

- ❌ Skip Step 1 and directly generate PPT
- ❌ Enter Step 5c without a planning draft
- ❌ Stop at preview.html without executing SVG and PPTX
- ❌ Use other tools/pipelines to replace this workflow

### Only Allowed Degradation

- Node.js unavailable → Skip SVG branch, output preview.html only. Notify user.
- Python unavailable → Skip SVG + PNG + PPTX branches, output preview.html only. Notify user and wait for feedback.
- Puppeteer unavailable → Skip PNG branch (visual QA also sk

README.md

# Powerpoint-Generator

> Professional Full-Process PPT Presentation AI Generation Assistant

**[English](README.md)** | [中文](README_CN.md)

---

**Powerpoint-Generator** mimics the complete workflow of a professional PPT design company (priced at 10,000+ RMB per page), automating everything from requirements research to post-processing SVG+PPTX, outputting professional-grade HTML presentations + editable vector PPTX files.

---

## Recent Updates

`2026-04-10 · v2.0`

- Added 8 new theme styles (Gradient Blue / Warm Sunset / Nordic White / Cyber Punk / Elegant Gold / Ocean Depth / Retro Film / Corporate Blue)
- Added 4 new card types (feature_grid / image_text / data_highlight / stat_block)
- Removed exec bypass code, strengthened degradation strategy
- Separated English and Chinese SKILL.md

---

## Workflow

```
Step 1 Requirements Interview  →  Step 2 Information Gathering  →  Step 3 Outline Planning
     ↓
Step 4 Content Allocation + Planning Draft  →  Step 5 Style + Illustrations + HTML Design
     ↓
Step 6 Post-processing (HTML → SVG → PPTX)
```

---

## Demo Showcase

> Example output for "New Xiaomi SU7 Launch" theme (Xiaomi Orange style):

| Cover | Configuration Comparison |
|:---:|:---:|
| ![Cover](ppt-output/png/slide_01_cover.png) | ![Comparison](ppt-output/png/slide_02_models.png) |

| Power & Range | Smart Driving & Safety |
|:---:|:---:|
| ![Power](ppt-output/png/slide_03_power.png) | ![Smart](ppt-output/png/slide_04_smart.png) |

| End Page |
|:---:|
| ![End](ppt-output/png/slide_05_end.png) |

---

## Key Features

| Feature | Description |
|---------|-------------|
| **6-Step Professional Pipeline** | Requirements → Research → Outline → Planning → Design → Post-processing, simulating professional PPT company workflow |
| **16 Preset Styles** | Dark Tech / Xiaomi Orange / Blue White / Royal Red / Fresh Green / Luxury Purple / Minimal Gray / Vibrant Rainbow / Gradient Blue / Warm Sunset / Nordic White / Cyber Punk / Elegant Gold / Ocean Depth / Retro Film / Corporate Blue |
| **7 Bento Layouts** | Single Focus / 50/50 Symmetric / Asymmetric Two-column / Three-column Equal Width / Primary-Secondary / Hero with Sub-items / Mixed Grid |
| **12 Card Types** | text / data / list / tag_cloud / process / timeline / comparison / quote / stat_block / feature_grid / image_text / data_highlight |
| **Smart Illustrations** | AI generation / Unsplash library + 5 visual fusion techniques (fade blend / tinted overlay / ambient background / crop viewport / circular crop) |
| **Cross-page Narrative** | Density alternation / chapter color progression / cover-ending echo / progressive revelation |
| **Dual PPTX Export** | SVG PPTX (editable vectors) + PNG PPTX (pixel-perfect fidelity) — HTML → SVG/PNG → PPTX pipeline |

---

## Quick Start

Just describe your needs in the conversation to trigger the skill. The Agent will automatically execute the full workflow:

> *"Make a 15-p

_meta.json

{
  "ownerId": "kn72qwy1c6jd59kdzf5fftq7zs82xfe5",
  "slug": "powerpoint-generator",
  "version": "1.0.1",
  "publishedAt": 1775839222317
}

references/bento-grid.md

# Bento Grid 布局系统

## 画布参数

```
固定画布: width=1280px, height=720px
标题区: x=40, y=20, w=1200, h=50
内容区: x=40, y=80, w=1200, h=580
卡片间距: gap=20px
卡片圆角: border-radius=12px
卡片内边距: padding=24px
```

## CSS Grid 实现

所有布局通过 CSS Grid 精确实现。内容区容器统一定义:

```css
.content-area {
  position: absolute;
  left: 40px; top: 80px;
  width: 1200px; height: 580px;
  display: grid;
  gap: 20px;
}
```

## 页面类型布局

### 封面页 (cover)
- 大标题居中或左对齐, font-size=48-56px, accent-primary 色
- 副标题 font-size=24px
- 演讲人/日期/公司 底部小号文字 font-size=16px
- 装饰: 品牌色块、几何线条、配图(渐隐融合技法)
- **不使用 Bento Grid**,自由排版

### 目录页 (toc)
- 根据 Part 数量选择等大卡片网格布局

**布局决策规则**:
- 1 Part:单卡居中(可用 accent 色条装饰)
- 2 Parts:2 栏等宽布局
- 3 Parts:3 栏等宽布局
- 4 Parts:2x2 网格布局
- 5+ Parts:3+2 网格布局(第一行3卡,第二行2卡居中)

| Part 数量 | grid-template-columns | 单卡尺寸 |
|---------|----------------------|---------|
| 1 | 单卡居中 | 800x300 |
| 2 | 1fr 1fr | 590x540 |
| 3 | repeat(3, 1fr) | 387x540 |
| 4 | 1fr 1fr / 1fr 1fr (2x2) | 590x260 |
| 5+ | repeat(3, 1fr) / repeat(2, 1fr) (3+2) | 混合 |

**每张目录卡内容**:Part 编号(大号 accent 色)+ 章节标题 + 简短描述(如需要)

### 章节封面 (section)
- "PART 0X" font-size=20px, accent-primary, letter-spacing=2px
- 标题 font-size=44px, font-weight=700
- 导语 font-size=18px, color=text-secondary
- 大量留白,营造呼吸感
- **不使用 Bento Grid**,居中排版

### 结束页 (end)
- 标题 font-size=44px 居中
- 核心要点 3-5 个, font-size=18px
- 联系方式/CTA 底部

---

## 7 种内容页布局

所有基于内容区 (1200x580px, 起始坐标 40,80)。

### 1. 单一焦点

适用: 1个核心论点/大数据全屏展示

```css
.content-area { grid-template: 1fr / 1fr; }
/* 卡片: 1200x580 */
```

### 2. 50/50 对称

适用: 对比、并列概念

```css
.content-area { grid-template: 1fr / 1fr 1fr; }
/* 左: 590x580 | 右: 590x580 */
```

### 3. 非对称两栏 (2/3 + 1/3)

适用: 主次关系。**最常用的布局。**

```css
.content-area { grid-template: 1fr / 2fr 1fr; }
/* 主: 790x580 | 辅: 390x580 */
```

### 4. 三栏等宽

适用: 3个并列比较

```css
.content-area { grid-template: 1fr / repeat(3, 1fr); }
/* 卡1: 387x580 | 卡2: 387x580 | 卡3: 386x580 */
```

### 5. 主次结合 (大 + 两小)

适用: 层级关系。**推荐:信息层次丰富时优先选择。**

```css
.content-area { grid-template: 1fr 1fr / 2fr 1fr; }
/* 主: 790x580 (span 2 rows) | 辅1: 390x280 | 辅2: 390x280 */
```

主卡片需设置 `grid-row: 1 / -1;` 跨两行。

### 6. 顶部英雄式

适用: 总分关系。**推荐:总分结构清晰时优先选择。**

**3子项版(最常用)**:
```css
.content-area { grid-template: auto 1fr / repeat(3, 1fr); }
/* 英雄: 1200x260 (span 3 cols) | 子1-3: 387x300 */
```

**4子项版**:
```css
.content-area { grid-template: auto 1fr / repeat(4, 1fr); }
/* 英雄: 1200x260 (span 4 cols) | 子1-4: 285x300 */
```

**2子项版**:
```css
.content-area { grid-template: auto 1fr / 1fr 1fr; }
/* 英雄: 1200x280 (span 2 cols) | 子1-2: 590x280 */
```

英雄卡片需设置 `grid-column: 1 / -1;` 跨所有列。

### 7. 混合网格

适用: 高信息密度, 4-6个异构块。**推荐:信息密度最高时优先选择。**

**2x3 网格**:
```css
.content-area { grid-template: repeat(3, 1fr) / 1fr 1fr; }
/* 6个卡片: 各 590x180 */
```

可通过 `grid-row`/`grid-column` 的 span 让个别卡片跨行/跨列,形成大小混搭效果。

**关键约束**: 所有卡片不得超出内容区边界(x+w<=1240, y+h<=660),间距>=20px,禁

references/method.md

# 核心方法论

> 来源:LINUX DO 论坛 Sandun 分享(7年PPT教学 + 3年AI产品经验)

## 核心论断

> PPT 的灵魂是内容,不是皮囊。

## 方法论要点

### 1. 从问题开始,不是从模板开始

先问清楚:给谁看?为什么做?希望对方记住什么?有哪些不能说错的事实?

这不是浪费时间 -- 一份精准的需求定义能让后续所有步骤的质量翻倍。专业 PPT 公司收费过万/页,其中至少 30% 的价值来自需求调研。

### 2. 内容先行,设计随后

推迟精美视觉,直到故事线经得起推敲。策划稿阶段只验证信息结构。

为什么这很重要:如果在设计完成后才发现内容逻辑有问题,修改成本是策划阶段的 5-10 倍。先用低成本的文字草稿验证结构,确认无误后再投入设计资源。

### 3. 插入策划稿中间层

典型工具从大纲直接跳到成品。本方法插入一个中间产物:
- **每页的目的**:这页最想让观众记住什么?
- **核心信息**:标题 + 主卡片内容 + 数据亮点
- **证据支撑**:来自搜索的真实数据
- **布局形式**:几张卡片、什么类型、如何排列
- **层级关系**:主次分明,不是所有信息平铺

这是最大的实际质量提升点。策划稿是"地基",没有牢固的地基,再华丽的设计也是空中楼阁。

### 4. 用模型能理解的布局语言

Bento Grid 卡片式布局是 AI 最容易理解和掌握的设计语言:
- 将页面定义为卡片、容器、层级和间距
- 让内容驱动布局选择(不是选个模板再往里填字)
- 给出明确的尺寸/间距/强调规则

为什么选 Bento Grid 而不是传统幻灯片布局:传统 PPT 布局过于自由,AI 容易"画歪"。卡片式布局天然带有网格约束,AI 在约束内的发挥反而更出色 -- 就像十四行诗比自由诗更容易写出精品。

### 5. 阶段间使用结构化输出

每个步骤用 JSON 作为数据传递格式,而非自然语言:
- 需求 -> 需求描述 JSON
- 搜索 -> 资料集合 JSON
- 大纲 -> PPT_OUTLINE JSON
- 策划 -> 策划卡 JSON 数组
- 设计 -> HTML 文件

JSON 的好处是**无歧义**。自然语言在传递过程中会信息损耗,JSON 的每个字段都有确切含义,下一步可以精准读取。

### 6. 一致性通过共享风格保证

先定风格(配色/字体/装饰),再像"生产乐高积木"一样批量生成。
每页共享同一套 CSS 变量定义,确保 15 页 PPT 的视觉语言完全统一。

### 7. 真实数据填充,杜绝幻觉

对 AI PPT 最常见的抱怨是"内容空洞废话多"。根源是没有真实数据支撑。

本方法通过 Step 2(资料搜集)解决这个问题:先搜索再生成,每个数据点都有来源。宁可少放一条信息,也不编造一个数据。

Sponsored

Ads related to powerpoint-generator and adjacent AI workflows.