Agent skill · creative production · aiskillstore

gpt-image-2

Generate images with GPT Image 2 (ChatGPT Images 2.0) inside Claude Code, using your existing ChatGPT Plus or Pro subscription — no separate OpenAI access, no per-image billing. Supports text-to-image, image-to-image editing, style transfer, and multi-reference composition via the local Codex CLI. Triggers on "gpt image 2", "gpt-image-2", "ChatGPT Images 2.0", "image 2", or any explicit ask to generate or edit an image through the user's ChatGPT plan.

Why this skill is useful

Adds a bash script for generating images using the Codex CLI that the AI wouldn't reliably generate on its own.

What it needs

Requires codex installed locally. Requires openai account access. About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription agentspace.so · GitHub Generate images with GPT Image 2 (ChatGPT Images 2.0) inside your agent, using your existing ChatGPT Plus or Pro subscription — no separate OpenAI access, no Fal or Replicate tokens, no per-image billing. Text-to-image, image-to-image editing, style transfer, and multi-reference composition. Runs entirely through the local codex CLI you're already logged into. Heads up — this skill requires a ChatGPT Plus or Pro subscription plus the Codex CLI installed locally. If you have neither, you can use GPT Image 2 in the browser via RunComfy instead — hosted, no ChatGPT subscription or local install needed (RunComfy account required): - Text-to-image: runcomfy.com/models/openai/gpt-image-2/text-to-image - Image edit (i2i): runcomfy.com/models/openai/gpt-image-2/edit The rest of this document covers the local Codex CLI flow for agents whose user has a ChatGPT subscription. Example output: a plain flat-color icon repainted via --ref in ukiyo-e style — composition preserved, rendering swapped, period-appropriate red seal added by the model unprompted. When to trigger Trigger when the user explicitly asks for GPT Image 2 via their ChatGPT subscription, for example: "use GPT Image 2" / "use gpt-image-2" / "use ChatGPT Images 2.0" "use Image 2" / "image 2 this" attached a reference image and asked to remix / edit / restyle it Do not auto-trigger for a plain "generate an image" request if the user didn't specify this route. If they did specify it, do not silently fall back to HTML mockups, screenshots, or a different image model. How to invoke A single bash script handles everything: runs codex exec with the right flags, then decodes the generated image from the persisted session rollout. Text-to-image: Image-to-image (reference flag is repeatable for multi-reference composition): Optional: --timeout-sec 300 (default 300). Default behavior Pass the user's prompt through raw. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/gpt-image-2

View the source on GitHub

Browse the @skills marketplace