Add codex-imagegen skill#846
Open
JunSeo99 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem it solves
Claude Code does not ship with an image-generation model of its own. This skill closes that gap by teaching Claude Code to call OpenAI's
gpt-image-2through the Codex CLI's built-in$imagegenfeature — so users can generate icons, banners, OG cards, illustrations, infographics, and photo edits without leaving their Claude Code session.The skill bakes in fixes for several rough edges that Claude misses on its own:
gpt-image-2ignores the exact output size you request (e.g. 256×256 → 1254×1254) — the skill resizes viasips/ ImageMagick after generation.gpt-image-2(onlygpt-image-1.5supports them).~/.codex/generated_images/<session-uuid>/ig_*.png, not where you asked — the skill parses the absolute path from stdout and moves it.--dangerously-bypass-approvals-and-sandbox, which is unsafe as a default — the skill defaults to a split workflow (Codex generates only; the host does the file moves) and only opts into bypass mode on explicit request.Who uses this workflow
Anyone using Claude Code who needs visual assets (icons, banners, OG images, hero illustrations, infographics, photo edits) without round-tripping to a separate image-generation tool. Particularly useful for indie devs, landing-page builders, and anyone who already has a Codex CLI / ChatGPT subscription.
Example
Activates on phrases like "generate an image", "make an icon", "create a banner", "OG image", "imagegen", "GPT Image 2", "codex image", "이미지 만들어줘", "아이콘 생성", "배너 디자인", or any request that produces a visual file saved to disk.
Skill repository
https://github.com/JunSeo99/claude-skill-codex-imagegen
Verified against
codex-cli 0.130.0on macOS. IncludesSKILL.md, prompting guide, CLI reference,SECURITY.md, sample output asset, and a pre-packaged.skillbundle.Category
Added under Creative & Media in alphabetical position between
Canvas Designandimagen, since this is the OpenAI counterpart to the existing Gemini-basedimagenskill (complementary, not duplicate).