/codex-image:generate [--ref <reference-image> ...] <natural-language image request>from codex-image
Generates images via Codex CLI's built-in imagegen skill, optionally using reference images. Runs a full Codex agent turn (1-3 min).
Ships in codex-image. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Leading --ref <path>, --reference <path>, or --image <path> arguments are reference images for generation, not edit targets. Repeat the flag for multiple references (max 5); quote paths with spaces.
This command runs a full Codex agent turn and typically takes 1–3 minutes (longer for multiple images). Run it with a 10-minute Bash timeout (600000 ms) so the turn is not killed mid-generation.
Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-image.mjs" generate "$ARGUMENTS"
Output rules:
SAVED: <absolute path> line per saved image.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
npx claudepluginhub kinggyusuh/codex-image-in-cc --plugin codex-imageOther plugins' skills for the same job