gpt-image

gpt-image is a skill for Codex from wuyoscar/GPT-Image2-Skill. It costs 62 tokens per session (2,541 once invoked), scanned A, original, MIT.

Instructions for using GPT Image 2 to create or edit images from text and reference images. It includes a process for choosing prompts, checking available tools, and handling image-generation requests.

In plain words
What is it for?
Use it to generate images, edit or fill parts of images, create posters and diagrams, design interface mockups, or work with dense text and multiple reference images.
Why use it?
It reduces guesswork when an image request needs exact text, a particular layout, an existing image, or careful preparation. It also helps avoid making image API calls without checking the available setup.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: built for openclaw.

Part of the gpt-image plugin — 2 skills shipped together

Good fit Use it to generate images, edit or fill parts of images, create posters and diagrams, design interface mockups, or work with dense text and multiple reference images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wuyoscar/gpt-image2-skill/gpt-image
About the project

GPT Image 2 Prompt Gallery is a collection of curated prompts, examples, agent skills, and a command-line interface for generating and editing images with OpenAI GPT Image 2. It helps people explore image-generation workflows for subjects such as research figures, posters, mockups, photography, and reference-image editing. The catalogue entries are skills and a plugin for using these materials with supported coding-agent runtimes.

wuyoscar/GPT-Image2-Skill · 5,288 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wuyoscar/GPT-Image2-Skill --skill gpt-image
Clone the repo
git clone --depth 1 https://github.com/wuyoscar/GPT-Image2-Skill

Made for: Codex.

Or install gpt-image, the plugin that ships this one along with the rest of its 2 skills.

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-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/wuyoscar/gpt-image2-skill/gpt-image/github.svg)](https://agentmods.dev/skills/wuyoscar/gpt-image2-skill/gpt-image)
Your own site
<a href="https://agentmods.dev/skills/wuyoscar/gpt-image2-skill/gpt-image"><img src="https://agentmods.dev/badge/skills/wuyoscar/gpt-image2-skill/gpt-image/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-image

Your own site · 80×15
<a href="https://agentmods.dev/skills/wuyoscar/gpt-image2-skill/gpt-image"><img src="https://agentmods.dev/badge/skills/wuyoscar/gpt-image2-skill/gpt-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 28 May 2026
  • Snyk fail 28 May 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 19
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium MCP Rug Pull · line 37
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
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.00062 $0.02541
Opus 5 $0.00031 $0.01270
Sonnet 5 $0.00012 $0.00508
Haiku 4.5 $0.00006 $0.00254

Measured today against content hash e53991d5c9d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gpt-image 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/gpt-image/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gpt-image

Agent runbook for GPT Image 2 / 2.5 generation/editing. Use the prompt library + packaged CLI. Do not reimplement image API code.

Operating loop

  1. Classify request and resolve model: generate, edit, inpaint, or multi-reference; identify asset type, exact text, aspect ratio, references, safety constraints, and budget/quality. Apply the model-choice rules below before any API call.
  2. Choose the reference path: Image 2 keeps the gallery-first workflow below. For 2.5, a precise brief needs no reference loading; otherwise choose one short task slice.
  3. Refine only as needed: preserve the brief. Add a specific gallery case, craft section or template only to fill a concrete gap; do not load them as a bundle for 2.5.
  4. Confer when useful: before costly/ambiguous/high-polish calls, present 1–3 matched directions plus planned size/quality; ask at most one concise question at a time. Skip long discussion for precise “generate now” requests with a resolved model.
  5. Preflight, no side effects: use existing CLI/skill if present. Check command availability (command -v gpt-image), installed tool lists when the tool manager exists, or the runtime’s own skill registry when available. Do not assume a local home path in cloud/hosted runtimes.
  6. No blind setup: do not reinstall, overwrite skill folders, create/modify .env, or write API keys unless the user explicitly requested setup. Global/shared installs are opt-in only.
  7. Execute via CLI only: call gpt-image or scripts/generate.py with an explicit --model. Do not create a new generate.py, SDK wrapper, or ad-hoc script for normal image requests.
  8. Report: output file path(s), key flags, and one concise refinement suggestion if useful.

Fast path: confirmed 2.5 model + precise prompt + “generate now” → preflight and CLI, without a mandatory reference/craft pass. Do not reconfirm an exact valid model.

Model choice and prompt adaptation

Choice API model ID Suggested use
Flare gpt-image-2.5-flare Fast general generation and drafts
Sunburst gpt-image-2.5-sunburst Precise reference edits and detailed control
Image 2 gpt-image-2 Existing Image 2 workflows and compatibility

Read the full file on GitHub · 124 lines

Files

What ships with it

43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +17 lines · -58 tokens per session e53991d5c9d4
  2. 11d ago First seen · 107 lines · 120 tokens per session scan A 28336b6a46ff

Subscribe to this mod's changes

gpt-image is a skill published in the GitHub repository wuyoscar/GPT-Image2-Skill (5,288 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 2,541 once invoked, about $0.0003 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 skills, from other repositories

gpt-image-2-prompt-engine

A structured prompt-writing tool for GPT-Image-2, using reusable JSON templates and a four-step workflow. It is designed for controlled commercial images such as product photos, posters, infographics, brand visuals, UI screenshots, and character designs.

anbeime/skill · 146 tokens

gpt-image-2-gen

GPT Image 2 AI image generation via EvoLink API. Supports text-to-image, image-to-image editing, batch generation. Multiple sizes (ratio & pixel), resolutions (1K/2K/4K), quality levels (low/medium/high). Works with OpenClaw, Claude Code, OpenCode, Cursor. Powered by OpenAI GPT Image 2.

EvoLinkAI/gpt-image-2-gen-skill · 81 tokens

photographic-icon-set-generator

Generates consistent, locked-style sets of photographic, textured, or 3D-material-rendered icons via Ideogram — 3D-rendered, claymation, hand-painted, or isometric-with-material-texture icon packs that hold a shared style recipe across every icon in the batch. Use when the user asks for "3D icon set," "claymation…

devkindhq/ideogram-ai-toolkit · 202 tokens

brand-identity-sheet

Generates a single polished "brand identity sheet" image — a Dribbble-style board showing a UI card with the wordmark, a grid of textured app icons, pill-shaped buttons, a giant central wordmark treatment, and a secondary lockup with a brand glyph — and actually renders it via the ideogram MCP tools, not just drafts a…

devkindhq/ideogram-ai-toolkit · 314 tokens

character-model-sheet

Generates a single polished "character model sheet" image — a multi-panel character design board showing a full-body turnaround (front / 3-4 / side / back), a head & detail close-up sheet (face, hair/headwear, hands/props), a color palette, an overview text block (name, role, personality, wardrobe), and an optional…

devkindhq/ideogram-ai-toolkit · 285 tokens

concept-grid-generator

Generates a single "concept grid" image — a labeled comparison sheet showing several DISTINCT motif/icon concepts as tiles side by side, one locked palette and one locked rendering technique held constant across every tile — and actually renders it via the ideogram MCP tools, not just drafts a prompt. Use whenever the…

devkindhq/ideogram-ai-toolkit · 255 tokens