--- name: codex-image description: | 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 --- # 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.