feiskyer/codex-settings/gpt-image-skill
- community
Checking that the SKILL.md file is still in the repository.
Generate or edit images when the user names OpenAI, GPT Image, or a gpt-image model. Use the default image skill when no provider is named.
Install
npx vskill@latest install feiskyer/codex-settings/gpt-image-skillSKILL.md
GPT Image Skill
Generate or edit images with OpenAI's GPT Image models through the bundled gpt_image.py.
Resolve the skill directory
Before running any command, resolve the absolute directory containing this SKILL.md and refer to it as <skill-dir>. Never assume the current working directory is the skill directory. Keep user input and output paths relative to the user's working directory unless the user requests another location.
Requirements
- OPENAI_API_KEY in
~/.gpt-image.envor the shell environment. - OPENAI_API_BASE (optional) for compatible endpoints such as Azure OpenAI or a proxy, in the same places.
- Python dependencies:
python3 -m pip install -r "<skill-dir>/requirements.txt". - Executable:
<skill-dir>/gpt_image.py.
Run it
Generate:
Edit or combine references:
edit accepts several --input files to composite multiple references into one image.
Options live on the subcommands, so read them with generate --help or edit --help — the bare python3 "<skill-dir>/gpt_image.py" --help only lists the two modes. That is where the current --model, --size, --quality, --format, --background, and --n values are; every one has a working default, so pass only what the request actually constrains. Parent directories in the output path are created automatically, and an omitted --format is inferred from the .png, .jpg/.jpeg, or .webp extension, defaulting to PNG.
Report the saved path when the run completes.
When a run fails
Check that OPENAI_API_KEY is set and, for a custom endpoint, that OPENAI_API_BASE is correct; confirm input images exist and are readable, the output directory is writable, and the model name is valid. Do not report success unless an image was saved locally.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gpt-image-skill/SKILL.md
Popularity
- Repository stars
- 240
- Repository forks
- 33
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/feiskyer/codex-settings/gpt-image-skill)