generate-image
Installation
SKILL.md
generate-image: images for coding agents, handed back into the chat
Generate production-ready imagery while you build, then show it to the user.
Images are saved straight into the project as exact-size .webp/.png/.jpg.
Backends: who actually makes the pixels
| Backend | What it is | Cost | Needs |
|---|---|---|---|
codex (default when available) |
Codex CLI's built-in image_gen tool (OpenAI's GPT Image) |
the user's ChatGPT plan | codex installed and codex login with ChatGPT |
local |
FLUX.1-schnell via mflux | free, offline | Apple Silicon Mac, ~7 GB one-time model download |
openai / gemini / replicate |
hosted APIs | per image, on the user's API account | a key stored with --set-key |
--backend auto (the default) picks codex if Codex is signed in with ChatGPT,
otherwise local. You (Claude) cannot call Codex's image tool directly; this
skill runs codex exec headless for you, then collects the finished file from
~/.codex/generated_images/ and crops it to the exact size you asked for.