gpt-image2-ppt-skills: Instructions file for Codex

AGENTS.md

gpt-image2-ppt-skills AGENTS.md is an instructions file for Codex, OpenCode from JuneYaooo/gpt-image2-ppt-skills. It costs 1,171 tokens per session, scanned A, original, Apache-2.0.

Entry instructions for a toolkit that uses OpenAI's gpt-image-2 to generate PowerPoint slides. They provide a quick index of the required guide, command-line tools, slide plans, style collections, and template-cloning workflow.

In plain words
What is it for?
Use them to create a presentation, generate slide images, apply a visual style, or reproduce the look of an existing PowerPoint template.
Why use it?
They direct an agent to the authoritative instructions before creating or changing slides. This helps it use the right input files, style sources, and image-generation path.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is JuneYaooo/gpt-image2-ppt-skills's own configuration. It tells Codex and OpenCode how to work on gpt-image2-ppt-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gpt-image2-ppt-skills configures →

About the project

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.

JuneYaooo/gpt-image2-ppt-skills · 1,260 stars · on GitHub · slidecraft-template-gallery.vercel.app

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/JuneYaooo/gpt-image2-ppt-skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/JuneYaooo/gpt-image2-ppt-skills

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for gpt-image2-ppt-skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/juneyaooo/gpt-image2-ppt-skills/agents-md/github.svg)](https://agentmods.dev/instructions/juneyaooo/gpt-image2-ppt-skills/agents-md)
Your own site
<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.

agentmods 80×15 button for gpt-image2-ppt-skills AGENTS.md

Your own site · 80×15
<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>
Per session 1,171 This file is loaded in full into every session.
When invoked 1,171 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash 11976e2a2f01, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.

AGENTS.md · 38 lines

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 等),可以直接 Read template_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 的硬约束)

  1. 先问三件事:内容 / 观众、风格偏好(或是否带 .pptx 模板)、是否先单页冒烟
  2. 永远先 md 后 json:用户改文案改 md,不手改 json
  3. 先冒烟再全量:API 直连用 --slides 1;Codex 原生出图用当前会话 image_generation tool 先生成封面 PNG
  4. 告知产物路径:跑完把 outputs/<timestamp>/.pptx 路径明确告诉用户

凭据 / backend

  • 默认后端 openai,需通过 agent 配置 / 系统环境变量注入 OPENAI_API_KEY;standalone CLI 可用 $GPT_IMAGE2_PPT_ENV 或 skill 安装目录 .env 作为 fallback,不要写进调用者业务项目根目录 .env
  • 如果你就是 codex:走「原生 image_generation 出图」路径——直接用你自带的 image_generation tool 出图,不要generate_ppt.py --backend codex(那是给 Claude Code 等非 codex caller 用的,会 spawn 一个多余的 codex 子进程)。完整流程见 SKILL.md 的「如果你就是 Codex agent」一节
  • 脚本不会向上递归读取调用者项目目录的 .env,避免误吃业务项目密钥

Read the full file on GitHub · 38 lines

Changes

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.

  1. 11d ago First seen · 38 lines · 1,171 tokens per session scan A 11976e2a2f01

Subscribe to this mod's changes

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.

Related

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,153 tokens

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).

microsoft/vscode · 6,785 tokens

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.

github/spec-kit · 7,104 tokens

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).

microsoft/vscode · 5,001 tokens

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.

langchain-ai/langchain · 4,469 tokens