codex-image

Generate AI images via Codex CLI's image_gen tool with OAuth authentication.

53|4|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/wjb127/codex-image --skill codex-image-wjb127
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-image
Source: https://github.com/wjb127/codex-image/tree/main
Command: npx skills add https://github.com/wjb127/codex-image --skill codex-image-wjb127

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Most AI image generation tools require managing API keys, installing external SDKs, or leaving your Claude Code editor to generate images, creating unnecessary friction for quick creative work.

Core Features & Use Cases

  • OAuth-authenticated generation: Uses Codex CLI's built-in image_gen tool with ChatGPT OAuth login, no API key required.
  • Customizable outputs: Supports adjusting image size, quality, output directory, and generating multiple variations in a single command.
  • Use case: Quickly create product photos, concept art, marketing visuals, or personal artwork directly during your Claude Code workflow without switching to external tools.

Quick Start

Use the codex-image skill to generate a high-quality vertical image of a cherry blossom hanok courtyard at golden hour and save it to your project's public/images folder.

Frequently Asked Questions about codex-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI images in Claude Code without an API key?

You can generate AI images in Claude Code without an API key by using the codex-image skill. It leverages Codex CLI's built-in image_gen tool with ChatGPT OAuth authentication to access the gpt-image-2 model directly within your workflow.

Do I need an external SDK to use gpt-image-2 for AI art generation?

No external SDK is required to use gpt-image-2 for AI art generation. The skill eliminates external SDK dependencies by utilizing the Codex CLI's built-in image_gen tool, removing manual API key management and editor context switching entirely.

Can I customize image size and output directory when generating marketing visuals?

You can customize image size, quality, and output directory when generating marketing visuals. The skill supports adjusting these parameters and generating multiple variations in a single command to fit your project photography needs.

What is the best way to create concept art without leaving my coding environment?

The best way to create concept art without leaving your coding environment is using the codex-image skill. It serves Claude Code users by generating production-quality visuals directly during the workflow without switching to external tools.

Does the codex-image skill support OAuth authentication for AI image generation?

The codex-image skill fully supports OAuth authentication for AI image generation. It uses Codex CLI's built-in image_gen tool with ChatGPT OAuth login to securely access the gpt-image-2 model without requiring manual API key setup.