Individual skill
gpt-image
Generate or edit images with GPT Image 2 or 2.5 through the packaged CLI and Reference Gallery. Use for image requests including imprecise 'GPT 2.5' model names, posters, typography, reference edits, and inpainting; resolve the model choice before generation.
skills/gpt-image/SKILL.md
Source commit 9f8aa1a44a4a5c0f5a5d6e45eed564b3e2d5b87f
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 6,039
- Repository last updated
- Sep 30, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- gpt-image-2 Repository topic
- image-generation Repository topic
- image-prompt Repository topic
- ai-image-prompts Repository topic
- claude-code-skill Repository topic
- cli Repository topic
- codex-skill Repository topic
- gpt-image Repository topic
- gpt-image-2-prompts Repository topic
- design Derived category
Declared tags are partial or unavailable.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 10,227 bytesSKILL.mdcore · 10,227 bytesagents/openai.yamlasset · 297 bytesreferences/craft.mddoc · 19,851 bytesreferences/gallery-anime-and-manga.mddoc · 15,572 bytesreferences/gallery-architecture-and-interior.mddoc · 6,697 bytesreferences/gallery-beauty-and-lifestyle.mddoc · 2,464 bytesreferences/gallery-brand-systems-and-identity.mddoc · 3,358 bytesreferences/gallery-character-design.mddoc · 1,995 bytesreferences/gallery-cinematic-and-animation.mddoc · 6,047 bytesreferences/gallery-cinematic-film-references.mddoc · 7,542 bytesreferences/gallery-data-visualization.mddoc · 6,571 bytesreferences/gallery-edit-endpoint-showcase.mddoc · 3,042 bytesreferences/gallery-events-and-experience.mddoc · 2,512 bytesreferences/gallery-fashion-editorial.mddoc · 8,915 bytesreferences/gallery-fine-art-painting.mddoc · 6,021 bytesreferences/gallery-gaming.mddoc · 8,659 bytesreferences/gallery-illustration.mddoc · 2,305 bytesreferences/gallery-infographics-and-field-guides.mddoc · 11,163 bytesreferences/gallery-ink-and-chinese.mddoc · 2,595 bytesreferences/gallery-isometric.mddoc · 4,677 bytesreferences/gallery-more-illustration-styles.mddoc · 6,738 bytesreferences/gallery-official-openai-cookbook-examples.mddoc · 3,934 bytesreferences/gallery-photography.mddoc · 7,097 bytesreferences/gallery-pixel-art.mddoc · 1,877 bytesreferences/gallery-product-and-food.mddoc · 6,027 bytesreferences/gallery-research-paper-figures.mddoc · 28,846 bytesreferences/gallery-retro-and-cyberpunk.mddoc · 4,877 bytesreferences/gallery-scientific-and-educational.mddoc · 8,826 bytesreferences/gallery-screen-photography.mddoc · 3,248 bytesreferences/gallery-tattoo-design.mddoc · 4,450 bytesreferences/gallery-technical-illustration.mddoc · 7,176 bytesreferences/gallery-typography-and-posters.mddoc · 15,293 bytesreferences/gallery-ui-ux-mockups.mddoc · 6,436 bytesreferences/gallery-watercolor.mddoc · 2,314 bytesreferences/gallery.mddoc · 4,771 bytesreferences/models.mddoc · 6,981 bytesreferences/openai-cookbook.mddoc · 47,254 bytesreferences/openai-image-2.5-editing.mddoc · 3,622 bytesreferences/openai-image-2.5-generation.mddoc · 2,925 bytesreferences/openai-image-2.5-layout-and-text.mddoc · 2,965 bytesreferences/openai-image-2.5-migration.mddoc · 2,828 bytesreferences/openai-image-2.5.mddoc · 1,444 bytesreferences/templates-gpt-image-2.5.mddoc · 6,751 bytesscripts/generate.pyruns · 2,529 bytes
Read excerpt
# 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.