Individual skill
generating-images
Generate or edit images using the OpenAI Image API (gpt-image-2). Use when the user asks to generate, create, draw, render, illustrate, mock up, or edit an image, icon, logo, mockup, illustration, OG image, blog hero, marketing asset, or similar visual. Also use when the user supplies a reference image and asks to modify, restyle, or remix it. Triggers on: "generate an image", "create an image", "make a picture of", "edit this image", "restyle this", "make a mockup of", "draw a", "render a", "illustration of".
resources/generating-images/SKILL.md
Source commit 99cd2655788456cc1c685944dcf8c2de82c1ded4
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 4, 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)
- 881
- Repository last updated
- Aug 2, 2026
- License
- CC0-1.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.env.exampleasset · 348 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesSKILL.mdcore · 15,019 bytesscripts/generate_image.pyruns · 8,104 bytes
Read excerpt
# Generating Images (OpenAI gpt-image-2)
Use this skill any time the user asks to generate or edit an image. It wraps
OpenAI's `gpt-image-2` model via a Python script, supports both text-only
prompts and one-or-more reference images, and writes the resulting PNG/JPEG/WebP
to disk.
## Hard rules (do not violate)
1. **Always use `gpt-image-2`.** Never fall back to `gpt-image-1`, `dall-e-3`,
or any other model. The script has no `--model` flag for this reason.
2. **Fail fast on any error.** Do not retry, do not swap models, do not patch
around missing credentials, do not silently degrade quality. If the script
exits non-zero, surface the error to the user verbatim and stop.