# Codex Image

> Generate images via Codex CLI's built-in image_gen tool (gpt-image-2). OAuth auth — no API key needed. Codex CLI의 내장 image_gen 도구로 이미지 생성. OAuth 인증으로 API 키 불필요. Usage: /codex-image cherry blossom hanok, /codex-image --size 1024x1536 space cat, /codex-image --quality high seoul night

- Skill: `humanist96/codex-image` (Agent Skill)
- Install (CLI): `npx skillmds@latest add humanist96/codex-image`
- Raw SKILL.md: https://api.skillmd.com/api/skills/humanist96/codex-image/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: humanist96 (https://skillmd.com/u/humanist96)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/humanist96/codex-image

---


# codex-image (Codex discovery stub)

This file is generated by `sync_codex_stubs.py` so Codex discovers the skill.
The authoritative skill lives in this repository at `.claude/skills/codex-image/` — a single
source of truth shared by Claude Code and Codex. Do not hand-edit this stub;
edit the canonical tree, then re-run:

    python3 .claude/skills/ppt-master/scripts/sync_codex_stubs.py

On invocation:

1. Read `.claude/skills/codex-image/SKILL.md` (repo-root relative) in full and execute it
   exactly as a runtime procedure.
2. Resolve paths: treat `${SKILL_DIR}` as `.claude/skills/codex-image`. Bare relative paths
   mentioned inside the skill (`references/...`, `workflows/...`, `scripts/...`,
   `templates/...`) resolve against that directory — never against
   `.codex/skills/`.
3. Run all commands from the repository root. On Windows installs without
   `python3.exe`, rerun the same command with `python`.

4. **Codex adaptation**: the canonical skill was written for Claude Code, which
   shells out through `codex exec` to reach `image_gen`. Inside Codex the
   `image_gen` tool is built in — call it directly with the same
   prompt/size/quality parameters instead of spawning a nested `codex exec`,
   and keep the skill's output-path conventions.

