gpt-image2-ppt-skills
AGENTS.md1.3k starsChanged 4 months agoApache-2.0View on GitHub
本仓库是一个用 OpenAI gpt-image-2 生成 PPT 幻灯片的工具包,权威文档在 SKILL.md。任何涉及"做一份 PPT / 生成幻灯片 / 出图 / 改风格 / 按模板仿作"的请求,都先完整读 SKILL.md 再动手,不要凭本文件的摘要就开跑 -- 下面只是索引。 本文件是薄索引。如果 SKILL.md 有新增章节或流程变更,只在 SKILL.md 里维护,本文件的锚点列表按需补;正文描述不要复制到这里,避免两边漂移。
- Reads credentials
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about JuneYaooo/gpt-image2-ppt-skills
- op7418/NanoBanana-PPT-Skills“[自荐/致谢] 基于本仓库做了一个 gpt-image-2 版本的 PPT skill”GitHub · Apr 23, 2026 · 2 reactions
- lewislulu/html-ppt-skill“[致谢/自荐] 参考了本仓库的 SKILL.md frontmatter 写法,做了个 gpt-image-2 PPT skill”GitHub · Apr 23, 2026 · 1 reactions
- ProSkillsMD/proskills“[Candidate] juneyaooo/gpt-image2-ppt-skills - gpt-image2-ppt”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.juneyaooo.gpt-image2-ppt-skills: init at 0-unstable-2026-08-22”GitHub · Sep 28, 2026
- ComposioHQ/awesome-claude-skills“Add gpt-image2-ppt-skills to Document Processing”GitHub · Jun 14, 2026
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub (9 times).
On GitHub · 9
- Apr 23, 2026[自荐/致谢] 基于本仓库做了一个 gpt-image-2 版本的 PPT skill — op7418/NanoBanana-PPT-Skills2 reactions
- Apr 23, 2026[致谢/自荐] 参考了本仓库的 SKILL.md frontmatter 写法,做了个 gpt-image-2 PPT skill — lewislulu/html-ppt-skill1 reaction · 1 comment
- Oct 5, 2026[Candidate] juneyaooo/gpt-image2-ppt-skills - gpt-image2-ppt — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 28, 2026agent-skills.github.juneyaooo.gpt-image2-ppt-skills: init at 0-unstable-2026-08-22 — sudosubin/agents.nix0 reactions
- Jun 14, 2026Add gpt-image2-ppt-skills to Document Processing — ComposioHQ/awesome-claude-skills0 reactions · 1 comment
4 more on GitHub
- Apr 24, 2026Proposal: add gpt-image2-ppt-skills to Document Processing — PR welcome? — ComposioHQ/awesome-claude-skills0 reactions
- Apr 24, 2026[开源推荐] gpt-image2-ppt-skills:丢一张 .pptx 模板进去,AI 仿版式换内容 — 521xueweihan/HelloGitHub0 reactions
- Apr 24, 2026【开源自荐】gpt-image2-ppt-skills:丢一张 .pptx 模板进去,AI 仿版式换内容 — ruanyf/weekly0 reactions
- Apr 24, 2026【开源自荐】gpt-image2-ppt-skills:丢一张 .pptx 模板进去,AI 仿版式换内容 — GitHubDaily/GitHubDaily0 reactions
In this repositoryOne other file it gives its agents.
- gpt-image2-pptSkill
The file
Files
AGENTS.md -- 给 codex / aider / cursor 等 agent 的入口说明
本仓库是一个用 OpenAI gpt-image-2 生成 PPT 幻灯片的工具包,权威文档在 SKILL.md。任何涉及"做一份 PPT / 生成幻灯片 / 出图 / 改风格 / 按模板仿作"的请求,都先完整读 SKILL.md 再动手,不要凭本文件的摘要就开跑 -- 下面只是索引。
一分钟索引
- 主入口 CLI(API 直连 / 非 Codex 原生出图路径):
python3 scripts/generate_ppt.py --plan slides_plan.json --style styles/<collection>/<id>.md - 内容源稿:先写
slides_plan.md(人审阅),再python3 scripts/md_to_plan.py slides_plan.md -o slides_plan.json;json 标为 derived,不手改 - 场景起步模板:用户只有模糊主题、没有完整大纲时,先看
SKILL.md的“场景 recipes”规则,并参考examples/写新的slides_plan.md - 模板风格库:
styles/initial/为初始 10 套,styles/featured/为精选 22 套,styles/xiamulingzi/为设计师 @夏目玲子 提供的 233 套;见styles/README.md+SKILL.md顶部表格 - 模板克隆:
--template-pptx path/to/xxx.pptx --template-strict,vision 分析 + 缓存细节在SKILL.md的"模板克隆模式"一节;如果你自己就是多模态 agent(多模态 Claude / GPT / 原生 Codex 等),可以直接Readtemplate_renders/<stem>/page-*.png自己抽风格写template_profile.json,用--template-profile传入,不用外挂VISION_* - 冒烟策略:API 直连 / 非 Codex 原生路径先
--slides 1出封面;如果你自己就是带原生出图能力的 Codex,先用--prepare-only --slides 1经统一 RuntimeProfile 编译 Prompt,再用当前会话的 image_generation tool 生成第 1 页 PNG,不要经--backend codex - 产物:
<cwd>/outputs/<timestamp>/{images/, prompts.json, metadata.json, <title>.pptx} - 可编辑模式(默认关闭):用户明确要求文字/元素可编辑时,必须先读
SKILL.md的“可编辑模式(默认关闭)”章节,并先用python3 scripts/render_template.py --check确认 PowerPoint / Keynote / LibreOffice 可回渲染,再用--editable --editable-scenes <dir>;不要静默退化成整页图片
调用规范(对 agent 的硬约束)
- 先问三件事:内容 / 观众、风格偏好(或是否带 .pptx 模板)、是否先单页冒烟
- 永远先 md 后 json:用户改文案改 md,不手改 json
- 先冒烟再全量:API 直连用
--slides 1;Codex 原生出图用当前会话 image_generation tool 先生成封面 PNG - 告知产物路径:跑完把
outputs/<timestamp>/和.pptx路径明确告诉用户
凭据 / backend
- 默认后端
openai,需通过 agent 配置 / 系统环境变量注入OPENAI_API_KEY;standalone CLI 可用$GPT_IMAGE2_PPT_ENV或 skill 安装目录.env作为 fallback,不要写进调用者业务项目根目录.env - 如果你就是 codex:走「原生 image_generation 出图」路径——直接用你自带的
image_generationtool 出图,不要跑generate_ppt.py --backend codex(那是给 Claude Code 等非 codex caller 用的,会 spawn 一个多余的 codex 子进程)。完整流程见SKILL.md的「如果你就是 Codex agent」一节 - 脚本不会向上递归读取调用者项目目录的
.env,避免误吃业务项目密钥
不要做的事
- 不要手改
slides_plan.json(改 md 再转) - 不要跳过
SKILL.md"模板页面挑选 / 复用原则"直接用同一个 layout 给多页 slide 当 reference - 不要在没有
OPENAI_API_KEY、不能走 Codex 原生出图、且没有本地 codex CLI 的情况下强跑 -- 先检查环境
同步提醒
本文件是薄索引。如果 SKILL.md 有新增章节或流程变更,只在 SKILL.md 里维护,本文件的锚点列表按需补;正文描述不要复制到这里,避免两边漂移。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

