gpt-image2-ppt-skills is an agent skill that uses OpenAI gpt-image-2 to generate PowerPoint presentations as complete visual pages or to recreate the layout of an existing deck with new content. It is for users of Claude Code, Codex, OpenClaw, Hermes, and other agents that support skills, with an optional mode for rebuilding text and basic shapes as editable PowerPoint objects.
Borrowing it
Nothing to install: this file belongs to JuneYaooo/gpt-image2-ppt-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/JuneYaooo/gpt-image2-ppt-skills/main/AGENTS.mdgit clone --depth 1 https://github.com/JuneYaooo/gpt-image2-ppt-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/juneyaooo/gpt-image2-ppt-skills/agents-md)<a href="https://agentmods.dev/instructions/juneyaooo/gpt-image2-ppt-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/juneyaooo/gpt-image2-ppt-skills/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/juneyaooo/gpt-image2-ppt-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/juneyaooo/gpt-image2-ppt-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01171 | $0.01171 |
| Opus 5 | $0.00585 | $0.00585 |
| Sonnet 5 | $0.00234 | $0.00234 |
| Haiku 4.5 | $0.00117 | $0.00117 |
Grade A, and why
gpt-image2-ppt-skills AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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,避免误吃业务项目密钥
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 38 lines · 1,171 tokens per session scan A 11976e2a2f01
gpt-image2-ppt-skills AGENTS.md is an instructions file published in the GitHub repository JuneYaooo/gpt-image2-ppt-skills (1,260 stars, last pushed 18d ago), licensed Apache-2.0. It adds 1,171 tokens to every session, about $0.0059 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.