Codex GPT Image

Generates gpt-image-2 images via local Codex OAuth, no OPENAI_API_KEY needed.

Tested · Works

Test report

Verdict
Tested · Works
Score
10.0/10
Tested
Jul 14, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Jul 18, 2026 · c57145e

Ran the bundled CLI for real, end to end: auth-status found a live Codex session, then `generate` actually hit the Codex Images backend and wrote a genuine 1.85MB PNG of a red bicycle on a white background, matching the prompt precisely, in 44 seconds. No OPENAI_API_KEY was set on the machine, so the baseline (no image tool at all) simply cannot complete the task.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 10/10
  • Docs & honesty 5/5

What Codex GPT Image does

Bundles a Python CLI that reads the local Codex OAuth session (~/.codex/auth.json) and calls the Codex Images backend to generate or edit images with gpt-image-2, for agents that lack a native image tool and don't want to bill through OPENAI_API_KEY. Triggers on requests to generate/edit images using Codex or ChatGPT subscription auth specifically; explicitly opts out for official OpenAI API-key billing or OpenAI-compatible gateways.

How to install Codex GPT Image

git clone https://github.com/ningzimu/codex-gpt-image
cd codex-gpt-image
mkdir -p ~/.claude/skills
cp -r skills/codex-gpt-image ~/.claude/skills/codex-gpt-image

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Codex GPT Image

  • /codex-gpt-image Generates gpt-image-2 images via local Codex OAuth, no OPENAI_API_KEY needed.

It also activates on plain-language prompts like these:

  • Generate an image of a red bicycle using my Codex login
  • Edit this photo with gpt-image-2 through my ChatGPT subscription
  • Create a product mockup image without billing my OpenAI API key

Frequently asked questions

Is the Codex GPT Image skill free?
Yes. The skill itself is free from ningzimu/codex-gpt-image. SkillProof publishes the install command and an independent test verdict at no cost.
Does Codex GPT Image work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 14, 2026. Verdict: Tested · Works. Ran the bundled CLI for real, end to end: auth-status found a live Codex session, then `generate` actually hit the Codex Images backend and wrote a genuine 1.85MB PNG of a red bicycle on a white background, matching the prompt precisely, in 44 seconds. No OPENAI_API_KEY was set on the machine, so the baseline (no image tool at all) simply cannot complete the task.
What is the Codex GPT Image SkillProof Score?
10.0/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 10/10, docs & honesty 5/5.
How do I install Codex GPT Image?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Codex GPT Image with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.