edit

edit is a skill for Claude Code from KingGyuSuh/codex-image-in-cc. It costs 13 tokens per session (189 once invoked), scanned A, original, Apache-2.0.

A skill for editing an image with Codex’s built-in image-generation tool. It treats the first argument as the image path and the remaining text as instructions for the edit.

In plain words
What is it for?
Use it to apply a described change to a specified image file, then show the exact path of the saved result.
Why use it?
It gives image-edit requests a fixed input format and reports the saved output path. It also stops and shows the error when the image or edit instructions are missing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the codex-image plugin — 3 skills shipped together

Good fit Use it to apply a described change to a specified image file, then show the exact path of the saved result.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add KingGyuSuh/codex-image-in-cc
Claude Code
/plugin install codex-image

Made for: Claude Code.

Or install codex-image, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for edit

README.md
[![agentmods](https://agentmods.dev/badge/skills/kinggyusuh/codex-image-in-cc/edit.svg)](https://agentmods.dev/skills/kinggyusuh/codex-image-in-cc/edit)
Your own site
<a href="https://agentmods.dev/skills/kinggyusuh/codex-image-in-cc/edit"><img src="https://agentmods.dev/badge/skills/kinggyusuh/codex-image-in-cc/edit.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 189 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00189
Opus 5 $0.00006 $0.00095
Sonnet 5 $0.00003 $0.00038
Haiku 4.5 $0.00001 $0.00019

Measured 7d ago against content hash 781446946eb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

edit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/edit/SKILL.md · 21 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 21 lines · 13 tokens per session scan A 781446946eb9

Subscribe to this mod's changes

edit is a skill published in the GitHub repository KingGyuSuh/codex-image-in-cc (26 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 189 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

render

Generate raster images (PNG, JPEG, WebP) from natural language prompts using Python rendering engines. Covers graphics, charts, layouts, and procedural art. Not for SVG output.

suxrobGM/rasterize · 38 tokens

imagegen

Pre-flight check across ANY project type — websites, landing pages, marketing sites, homepages, portfolios, web/mobile/desktop apps, games (sprites/textures/tiles/character art/enemy rosters/environment art), CLI tools, libraries/SDKs, READMEs, docs, tutorials, blog posts, slide decks, brand/identity work, mockups…

colin-automates/Codex-ImageGen--Claude-Code · 483 tokens

gpt-image

Use this skill whenever a user asks to generate, create, draw, render, or edit images with GPT Image 2 / gpt-image-2, text-to-image, reference-image editing, inpainting, posters, typography, Chinese text, UI mockups, diagrams, or gallery prompts. Analyze the user's prompt, search the bundled Reference Gallery/craft…

wuyoscar/GPT-Image2-Skill · 120 tokens

get-prompt-from-image

Analyze user-provided reference images and reverse-engineer high-fidelity AI image-generation prompts. Use when the user asks to recreate, imitate, reverse-engineer, or extract prompts from photographs, illustrations, 3D renders, products, characters, landscapes, typography, logos, posters, or other visual references.…

wuyoscar/GPT-Image2-Skill · 83 tokens

image

Use this Skill when a game plan needs a single-subject concept image, a character reference cleaned for image-to-3D, or a front-facing transparent T-pose image for downstream character reconstruction. T-pose generation is an image-generation and image-editing task; it is not a separate asset category.

OpenDCAI/GameFactory-3A · 0 tokens

sheet-music-publisher

Converts mastered audio to sheet music and creates printable songbooks. Use after mastering when the user wants sheet music or a songbook for their album.

bitwize-music-studio/claude-ai-music-skills · 36 tokens