/generate
Generate one or more images, optionally with reference images, through Codex CLI's built-in imagegen skill
Claude Code
$ npx -y skills add KingGyuSuh/codex-image-in-cc --skill generate --agent claude-code
Codex
$ npx skills add KingGyuSuh/codex-image-in-cc --skill generate -a codex -y
Cursor
$ npx skills add KingGyuSuh/codex-image-in-cc --skill generate -a cursor -y
Gemini CLI
$ npx skills add KingGyuSuh/codex-image-in-cc --skill generate -a gemini-cli -y
GitHub Copilot
$ npx skills add KingGyuSuh/codex-image-in-cc --skill generate -a github-copilot -y
OpenCode
$ npx skills add KingGyuSuh/codex-image-in-cc --skill generate -a opencode -y
Windsurf
$ npx skills add KingGyuSuh/codex-image-in-cc --skill generate -a windsurf -y
SKILL.md
generate.SKILL.mddescription: Generate one or more images, optionally with reference images, through Codex CLI's built-in imagegen skill argument-hint: '[--ref <reference-image> ...] <natural-language image request>' allowed-tools: Bash(node:*)
Generate Codex Image
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:
- Show the command stdout to the user verbatim — Codex prints one `SAVED: <absolute path>` line per saved image.
- If the exit code is non-zero, show stderr and stop.
- Do not run any additional image generation unless the user explicitly asks for another attempt.
Claude Code plugin that exposes Codex CLI's built-in imagegen skill as /codex-image:* user-invoked plugin skills. The plugin does not implement image generation itself.
Other skills on codex-image.
status
Report Codex CLI prerequisites, login status, and image attachment support for image generation
More skills from other plugins.
prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
ppt-master
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…
morph-ppt
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…
frontend-slides
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to…
Questions about generate.
- Which coding agents can use generate?
- generate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

