Edit Codex Image

SkillMedia

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

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Edit Codex Image skill

What this skill tells your AI

The instructions your AI receives, as published by kinggyusuh/codex-image-in-cc in skills/edit/SKILL.md and read by ahel’s review.

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.

Signals

GitHub stars
30
Forks
6
Last commit
Sep 2026
Advanced
Item type
skill
Key
edit-kinggyusuh
Source
github.com/kinggyusuh/codex-image-in-cc