Gpt Image
nikships/droidproxy
Generate or edit images via GPT Image 2.5 Flare or Sunburst through DroidProxy Codex OAuth (no OPENAIAPIKEY).
Generate or edit raster images through a configurable OpenAI-compatible Image API using gpt-image-2.
$ npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install fengfengzhidao/codex-image2-skill codex-image2 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/fengfengzhidao/codex-image2-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/codex-image2 .claude/skills/codex-image2 && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codex-image2" agent skill from https://github.com/fengfengzhidao/codex-image2-skill/tree/main/codex-image2 into .claude/skills/codex-image2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-image2", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/fengfengzhidao/codex-image2-skill/tree/main/codex-image2Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install fengfengzhidao/codex-image2-skill codex-image2 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fengfengzhidao/codex-image2-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/codex-image2 .agents/skills/codex-image2 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codex-image2" agent skill from https://github.com/fengfengzhidao/codex-image2-skill/tree/main/codex-image2 into .agents/skills/codex-image2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-image2", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install fengfengzhidao/codex-image2-skill codex-image2 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fengfengzhidao/codex-image2-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/codex-image2 .cursor/skills/codex-image2 && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codex-image2" agent skill from https://github.com/fengfengzhidao/codex-image2-skill/tree/main/codex-image2 into .cursor/skills/codex-image2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-image2", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/fengfengzhidao/codex-image2-skill.git --path codex-image2--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install fengfengzhidao/codex-image2-skill codex-image2 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fengfengzhidao/codex-image2-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/codex-image2 .gemini/skills/codex-image2 && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codex-image2" agent skill from https://github.com/fengfengzhidao/codex-image2-skill/tree/main/codex-image2 into .gemini/skills/codex-image2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-image2", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install fengfengzhidao/codex-image2-skill codex-image2Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/fengfengzhidao/codex-image2-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/codex-image2 .github/skills/codex-image2 && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codex-image2" agent skill from https://github.com/fengfengzhidao/codex-image2-skill/tree/main/codex-image2 into .github/skills/codex-image2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-image2", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install fengfengzhidao/codex-image2-skill codex-image2 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fengfengzhidao/codex-image2-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/codex-image2 .opencode/skills/codex-image2 && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codex-image2" agent skill from https://github.com/fengfengzhidao/codex-image2-skill/tree/main/codex-image2 into .opencode/skills/codex-image2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-image2", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codex-image2Generate or edit raster images through a configurable OpenAI-compatible Image API using gpt-image-2.
Codex Image2 is an agent skill from fengfengzhidao/codex-image2-skill. Generate or edit raster images through a configurable OpenAI-compatible Image API using gpt-image-2. Use when Codex should create one or many images, illustrations, product shots, covers, website assets, visual variants, background replacements, object changes, or other image edits through CODEXAPIURL and CODEXAPIKEY instead of the built-in image generation tool.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `agents/openai.yaml` and `references/batch-format.md`).
It sits in Media & Creative, covering Image generation. It works with OpenAI and macOS. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b5eba23. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Go), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
apinebula.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
CODEX_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codex Image2 loads about 1.2k tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 475 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from fengfengzhidao/codex-image2-skill at commit b5eba23, republished under its MIT licence (© fengfengzhidao). 475 words, ~1,222 tokens.
.claude/skills/codex-image2/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Generate images with the bundled native CLI. Prefer this skill's executable over the built-in image_gen tool whenever this skill is active. No Python, Node.js, Go, or package installation is required.
Choose once from the current operating system and CPU architecture:
bin/codex-image2-windows-amd64.exebin/codex-image2-windows-arm64.exebin/codex-image2-darwin-amd64bin/codex-image2-darwin-arm64On macOS, run chmod +x <executable> if execute permission was not preserved. Do not compile from source during normal use.
generate for one prompt, edit for changes to existing images, or generate-batch for JSONL jobs.Use only relevant lines:
Asset type: <where the image will be used>
Primary request: <the user's request>
Scene/backdrop: <environment>
Subject: <main subject>
Style/medium: <photo, illustration, 3D, etc.>
Composition/framing: <camera angle, crop, placement, negative space>
Lighting/mood: <lighting and mood>
Color palette: <palette notes>
Text (verbatim): "<exact text>"
Constraints: <must keep or include>
Avoid: <must not include>Do not add detail merely to fill the schema. For text in images, quote it verbatim and request exact rendering.
& "<skill-dir>\bin\codex-image2-windows-amd64.exe" generate `
--prompt "A small blue nebula in a glass bottle, studio product photo" `
--size 1024x1024 `
--quality auto `
--out "output/imagegen/nebula.png"Use --prompt-file for long prompts. Use --n only for variants of the same prompt. Distinct assets belong in separate calls or a batch.
Inspect each input image before editing. State its role and repeat invariants in the prompt so unrelated details do not drift.
& "<skill-dir>\bin\codex-image2-windows-amd64.exe" edit `
--image "input/product.png" `
--prompt "Replace only the background with a warm studio backdrop. Keep the product, label, proportions, and edges unchanged." `
--quality auto `
--out "output/imagegen/product-edited.png"Repeat --image for multiple reference or compositing inputs. Use --mask mask.png for a localized edit when a compatible PNG mask is available. Preserve originals and always write edits to a new output path.
Read references/batch-format.md before preparing a batch. Then run:
& "<skill-dir>\bin\codex-image2-windows-amd64.exe" generate-batch `
--input "tmp/imagegen/jobs.jsonl" `
--out-dir "output/imagegen" `
--concurrency 2CODEX_API_URL; default to https://apinebula.com.CODEX_API_KEY. Never place it in a command, file, prompt, log, or response.gpt-image-2, size 1024x1024, and quality auto.--dry-run to validate a request without network access or requiring a key.output/imagegen/.--force is passed.--quality low, a square size, fewer concurrent jobs, or a later retry.© fengfengzhidao, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (references) in codex-image2 of fengfengzhidao/codex-image2-skill.
Open the folder on GitHubat commit b5eba23
Codex Image2 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codex Image2 this skillfengfengzhidao/codex-image2-skill | 142 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Gpt Imagenikships/droidproxy | 122 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Nano Banana Pro Prompts Recommend SkillYouMind-OpenLab/nano-banana-pro-prompts-recommend-skill | 1.9k | 1 repos | ~4.1k | Automated safety check: Pass | None | |
| Yingzaoop7418/guizang-yingzao-skill | 493 | — | ~1.1k | Automated safety check: Pass | None | |
| AI Image Creatorcentminmod/my-claude-code-setup | 2.7k | — | ~8.1k | Automated safety check: Notes | MIT | |
| Character Refseternityspring/shuohao-skills | 4.2k | — | ~1.7k | Automated safety check: Warn | Apache-2.0 |
nikships/droidproxy
Generate or edit images via GPT Image 2.5 Flare or Sunburst through DroidProxy Codex OAuth (no OPENAIAPIKEY).
YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill
Recommend suitable prompts from 10,000+ Nano Banana Pro image generation prompts based on user needs.
op7418/guizang-yingzao-skill
Transform real Chinese architecture and place-based cultural photos into art-directed editorial posters, integrated multi-photo scenes, and optional source comparisons.
centminmod/my-claude-code-setup
Generate, edit-from-reference, or analyze images with AI via OpenRouter (Gemini, GPT Image, Seedream, Qwen, MAI, Grok, FLUX.2, Recraft, Muse, Riverflow; Cloudflare AI Gateway BYOK).
eternityspring/shuohao-skills
给任何故事里的角色真出参考图(小说改编、自己原创的故事、单独设计一个角色都行,不需要小说原文): 一段话描述角色,拆成分层字段、补全后确认, 先出一张正面全身锚点,其余视图(大头照、90° 侧面、背面、细节、45° 大头照)都只参考这张锚点, 按需分档出图。每张图带标识、可单独重出,重出后自动标出哪些图过期。
basicmachines-co/basic-memory
Produces PR, changelog and two-week retro images for the Basic Memory repository from evidence in PR bodies, saved to fixed paths under docs/assets/infographics.
Categories
Generate or edit raster images through a configurable OpenAI-compatible Image API using gpt-image-2. Codex Image2 is an agent skill from fengfengzhidao/codex-image2-skill. Generate or edit raster images through a configurable OpenAI-compatible Image API using gpt-image-2.
Codex Image2 fits situations like: Codex should create one; visual variants; background replacements; other image edits through CODEXAPIURL and CODEXAPIKEY instead of the built-in image generation tool.
Run `npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a claude-code`. Or copy the skill folder (codex-image2 in fengfengzhidao/codex-image2-skill) into .claude/skills/codex-image2 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a codex`. Or copy the skill folder (codex-image2 in fengfengzhidao/codex-image2-skill) into .agents/skills/codex-image2 in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fengfengzhidao/codex-image2-skill --skill codex-image2 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-image2, .gemini/skills/codex-image2, .github/skills/codex-image2 and .opencode/skills/codex-image2 in your project.
Going by SKILL.md and its folder, Codex Image2 needs Go for the scripts in its folder and credentials named CODEX_API_KEY. Our summary lists: Node.js; A credential in CODEX_API_KEY.
SKILL.md names 1 domain. In commands or code: apinebula.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Codex Image2 is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 162 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Codex Image2: Gpt Image (nikships/droidproxy, 122 stars), Nano Banana Pro Prompts Recommend Skill (YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill, 1.9k stars), Yingzao (op7418/guizang-yingzao-skill, 493 stars) and AI Image Creator (centminmod/my-claude-code-setup, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
fengfengzhidao (a GitHub user) maintains it in fengfengzhidao/codex-image2-skill, which has 142 GitHub stars. The repository was last updated on July 15, 2026.
Source: fengfengzhidao/codex-image2-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.