codex-imagegen
Installation
SKILL.md
Codex Imagegen
Claude directs and reviews; Codex only generates. Use the user's Codex subscription;
never use a separately billed image API. Requires Python 3.9+, macOS/Linux/Windows, and
logged-in Codex CLI 0.164.0+ (codex login). On Windows, use python or py where
this file says python3. Resolve <SKILL_DIR> from this file.
Route by intent
| Request | Action | Read only if needed |
|---|---|---|
| Clear request / “just make it” | Generate one image immediately | No extra reference |
| Unclear direction / “interview me” | Ask 1–3 consequential questions together | interview.md |
| “Options”, “시안”, multiple directions | Default to 3 distinct candidates if count is unspecified | directions.md |
| Change an existing image | Inspect it, state change + preserve list, attach it | editing.md |
| A set that must match (icons, UI assets, series) | Settle the style on one sample, then reuse a style lock | prompting-guide.md |
| Styled art, exact text, photography | Add only the relevant craft details | prompting-guide.md |
| Model question or execution failure | Run scripts/codex_status.py (no model call), then explain or fix |
cli-reference.md |