Skip to content

JuneYaooo/gpt-image2-ppt-skills

gpt-image2-ppt

Verified

Generate visually striking PPT slides via OpenAI's gpt-image-2 -- use any style in styles/<collection>/STYLE_ID.md or mimic a user-supplied .pptx template; outputs high-res slide PNGs and a 16:9 .pptx. Use when the user asks to make a presentation, slides, deck, pitch deck, investor PPT, magazine-style PPT, or 做一份 PPT / 生成幻灯片 / 用 gpt-image 生成 PPT / 按这个模板生成 PPT.

FileKindSize
SKILL.mdskill md56.8 KB
agents/openclaw.yamlconfig1006 B
examples/README.mdmarkdown2.8 KB
examples/book-sharing/recipe.mdmarkdown787 B
examples/book-sharing/slides_plan.mdmarkdown1.8 KB
examples/courseware/recipe.mdmarkdown725 B
examples/courseware/slides_plan.mdmarkdown2.0 KB
examples/editable-pptx-poc/demo1-cover.scene.jsonconfig912 B
examples/editable-pptx/case05-summer-poster/README.mdmarkdown4.1 KB
examples/editable-pptx/case05-summer-poster/clean-plate.pngbinary2.5 MB
examples/editable-pptx/case05-summer-poster/edge-check-black.pngbinary697.7 KB
examples/editable-pptx/case05-summer-poster/edge-check-white.pngbinary695.4 KB
examples/editable-pptx/case05-summer-poster/editable.pptxbinary3.3 MB
examples/editable-pptx/case05-summer-poster/layers/mascot-icecream-group.pngbinary813.1 KB
examples/editable-pptx/case05-summer-poster/original.pngbinary2.4 MB
examples/editable-pptx/case05-summer-poster/quality-report.jsonconfig355 B
examples/editable-pptx/case05-summer-poster/rendered.pngbinary3.7 MB
examples/editable-pptx/case05-summer-poster/slide-01.scene.jsonconfig3.3 KB
examples/investor-pitch/recipe.mdmarkdown803 B
examples/investor-pitch/slides_plan.mdmarkdown2.5 KB
examples/product-launch/recipe.mdmarkdown841 B
examples/product-launch/slides_plan.mdmarkdown1.8 KB
examples/thesis-defense/recipe.mdmarkdown806 B
examples/thesis-defense/slides_plan.mdmarkdown2.4 KB
examples/weekly-report/recipe.mdmarkdown771 B
examples/weekly-report/slides_plan.mdmarkdown1.6 KB
scripts/codex_backend.pyscript9.1 KB
scripts/editable_pptx/__init__.pyscript398 B
scripts/editable_pptx/layers.pyscript2.0 KB
scripts/editable_pptx/masking.pyscript3.8 KB
scripts/editable_pptx/poc.pyscript5.7 KB
scripts/editable_pptx/provider.pyscript2.7 KB
scripts/editable_pptx/renderer.pyscript6.0 KB
scripts/editable_pptx/scene.pyscript4.8 KB
scripts/editable_pptx/workflow.pyscript6.0 KB
scripts/generate_ppt.pyscript162.9 KB
scripts/image_generator.pyscript26.0 KB
scripts/md_to_plan.pyscript5.9 KB
scripts/render_template.pyscript21.7 KB
scripts/runtime_profile.pyscript6.3 KB
scripts/template_analyzer.pyscript42.9 KB

examples/README.md

View on GitHub
# Prompt Recipes / 示例库

这个目录提供一组可直接复用的 `slides_plan.md` 示例,用来帮助新用户从常见 PPT 场景快速开始。

它不是一个新的 Skill;它是根目录 `SKILL.md` 的辅助资源。agent 在用户没有提供完整大纲时,可以把这里的 recipe 当作“内容结构参考”,先生成一份新的 `slides_plan.md` 给用户确认,再进入正常的 `md_to_plan.py` 和 `generate_ppt.py` 流程。

每个 recipe 都遵循本 skill 的内容源稿格式:

```markdown
---
title: 示例标题
---

## 1. [cover] 封面标题
页面内容

## 2. [content] 内容页标题
页面内容

## 3. [data] 数据页标题
页面内容
```

使用方式:

### 1. 作为 agent 起步模板

当用户只给出场景和主题时,例如:

```text
帮我做一份 AI 产品发布 PPT
```

agent 应该:

1. 判断场景命中 `product-launch/`。
2. 读取 `product-launch/recipe.md`,确认推荐风格、页数和注意事项。
3. 参考 `product-launch/slides_plan.md` 的页序结构。
4. 改写成用户自己的主题、产品、受众和内容。
5. 把新写的 `slides_plan.md` 给用户确认。
6. 用户确认后再转 `slides_plan.json` 并生成封面冒烟。

不要直接把示例里的虚构产品、公司、数据原样当成用户成品。

### 2. 作为本地 smoke test

新用户也可以直接用示例跑通链路:

```bash
python3 scripts/md_to_plan.py examples/product-launch/slides_plan.md -o slides_plan.json
python3 scripts/generate_ppt.py --plan slides_plan.json --style styles/initial/gradient-glass.md --slides 1
```

建议先用 `--slides 1` 生成封面冒烟,确认风格和方向后再全量生成。`slides_plan.json` 是派生文件,不需要提交。

### 3. 在 skill 流程中的位置

```text
用户需求
-> 若内容结构不完整,选择 examples/<recipe>
-> 参考 recipe 写新的 slides_plan.md
-> 用户确认文案和页数
-> scripts/md_to_plan.py 转 slides_plan.json
-> 读取 styles/<collection>/<id>.md
-> scripts/generate_ppt.py 生成封面冒烟
-> 用户确认后全量生成 PPTX
```

## Recipes

| 场景 | 推荐风格 | 页数 | 目录 |
| --- | --- | ---: | --- |
| 产品发布 | `gradient-glass` | 6 | `product-launch/` |
| 融资路演 | `clean-tech-blue` | 8 | `investor-pitch/` |
| 周报 / 月报 | `meeting-agenda` | 6 | `weekly-report/` |
| 课程课件 | `vector-illustration` | 7 | `courseware/` |
| 论文答辩 | `final-year-project-thesis-defense` | 8 | `thesis-defense/` |
| 读书分享 | `editorial-mono` | 6 | `book-sharing/` |

## 维护原则

- `slides_plan.md` 是 source of truth;不要手写或手改派生出的 `slides_plan.json`。
- 每个 recipe 保持一个清晰场景,不追求覆盖所有变体。
- 页面文字应短而可展示,避免把长文整段塞进一页。
- 如果某页包含密集数字或事实,请在交付前人工核对。
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall