Skip to content
Content
Skill

/edit

Edit an image through Codex CLI's built-in imagegen skill

From plugin
codex-image
483 skills

Claude Code

$ npx -y skills add KingGyuSuh/codex-image-in-cc --skill edit --agent claude-code

SKILL.md

edit.SKILL.md
description: Edit an image through Codex CLI's built-in imagegen skill
argument-hint: '<input-path> <natural-language edit request>'
allowed-tools: Bash(node:*)

Edit Codex Image

The first whitespace-separated token in the arguments is the input image path; the rest is the edit prompt. Quote the path if it contains spaces (e.g. `"my photo.png" make it red`).

This command runs a full Codex agent turn and typically takes 1–3 minutes. Run it with a 10-minute Bash timeout (600000 ms) so the turn is not killed mid-edit.

Run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-image.mjs" edit "$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. Common failures: missing input image, missing edit prompt.
  • Do not run any additional image edits unless the user explicitly asks for another attempt.
@kinggyusuh
Ships withcodex-image

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.

Stars on GitHub

Momentum

stars in total
48
Star history of KingGyuSuh/codex-image-in-cc on GitHub, a chart by star-history.com

Other skills on codex-image.

generate

generate

Generate one or more images, optionally with reference images, through Codex CLI's built-in imagegen skill

status

status

Report Codex CLI prerequisites, login status, and image attachment support for image generation

More skills from other plugins.

prompt-lookup

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…

@gh-f@gh-fInstall Skill
ppt-master

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…

@hugohe3@hugohe3Install Skill
morph-ppt

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…

@iofficeai@iofficeaiInstall Skill

Questions about edit.

Which coding agents can use edit?
edit 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.