By KingGyuSuh
Generate and edit images from Claude Code by dispatching to Codex CLI's built-in imagegen skill.
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. Each plugin skill dispatches to codex exec --full-auto and lets Codex's imagegen skill drive the built-in image_gen tool, save the final artifact, and print a SAVED: <path> line for each output.
@openai/codex CLI v0.124.0 or later.codex login session.OPENAI_API_KEY is not required for the default built-in path. Codex can use either a ChatGPT login or API-key login.
claude plugin marketplace add KingGyuSuh/codex-image-in-cc
claude plugin install codex-image@codex-image-in-cc
git clone https://github.com/KingGyuSuh/codex-image-in-cc.git
cd codex-image-in-cc
claude plugin marketplace add "$PWD"
claude plugin install codex-image@codex-image-in-cc
Then restart Claude Code if needed. Default install scope is user; pass --scope project or --scope local to limit installation.
/codex-image:status
/codex-image:generate "A watercolor moonlit library, save to images/library.png at 1024x1024"
/codex-image:generate "5 logo variations of a brass compass on white, save under images/logos/"
/codex-image:edit input.png "Replace the background with a clean white studio backdrop, save to edited.png"
The full slash-command argument string is passed verbatim to Codex's imagegen skill. Express output paths, sizes, quality, count, transparency, etc. as natural language inside the prompt — imagegen interprets them. Defaults: when no path is specified, files land under ./codex-images/<UTC-timestamp>-<n>.png.
For /codex-image:edit, the first whitespace-separated token is the input image path. Quote it if the path contains spaces (e.g. /codex-image:edit "my photo.png" tint blue).
npm test
npm run validate:plugin
npm run status
claude --plugin-dir .
After editing plugin skills during a claude --plugin-dir . session, run /reload-plugins.
Image generation consumes a Codex agent turn plus the built-in image generation tool usage.
See CONTRIBUTING.md for scope, dev setup, and PR conventions, and docs/ARCHITECTURE.md for the call flow and load-bearing edge cases. Security issues — see SECURITY.md.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub kinggyusuh/codex-image-in-cc --plugin codex-imageSeed a planner + producer-reviewer pair harness into any repository, then grow it pair by pair.
Memory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Editorial "Web Designer" bundle for Claude Code from Antigravity Awesome Skills.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns