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

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/edit
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

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`).

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.
Read it on GitHub ↗
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.

Get the whole plugin, auto-invoked
Stats
24
Stars
0
Views
3
Forks
Active
Maintenance
JavaScript
Language
Apache-2.0
License
17d ago
Last commit
3mo ago
Created

Repo: KingGyuSuh/codex-image-in-cc