gpt-image-skill
Skill1.7k starsChanged 2 months agoMITView on GitHub
Generate or edit images using OpenAI GPT Image API (gpt-image-2, gpt-image-1, etc). Use ONLY when the user explicitly names OpenAI or GPT as the provider: "gpt image", "openai image", "generate image with openai", "用 openai 画图", "用 GPT 生成图片". For generic image requests without a provider, use nanobanana-skill instead. Do NOT use for diagrams (架构图/流程图) — draw those with Mermaid or code.
- Reads credentials
- Installs packages
1 other project uses a version of this, 1 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- feiskyer/codex-settingsedited, first seen Jul 27, 2026
Who's talking about feiskyer/claude-code-settings
- sudosubin/agents.nix“claude-code-plugins.github.feiskyer.claude-code-settings: init at 2.4.3”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.feiskyer.claude-code-settings: init at 2.4.3”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.feiskyer.claude-code-settings: 2.4.2 → 2.4.3”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] feiskyer/claude-code-settings/skills/github-fix-issue - github-fix-issue”GitHub · Oct 1, 2026
- ProSkillsMD/proskills“[Candidate] feiskyer/claude-code-settings/skills/deep-research - deep-research”GitHub · Oct 1, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub (23 times).
On GitHub · 23
- Oct 4, 2026claude-code-plugins.github.feiskyer.claude-code-settings: init at 2.4.3 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.feiskyer.claude-code-settings: init at 2.4.3 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.feiskyer.claude-code-settings: 2.4.2 → 2.4.3 — sudosubin/agents.nix0 reactions
- Oct 1, 2026[Candidate] feiskyer/claude-code-settings/skills/github-fix-issue - github-fix-issue — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 1, 2026[Candidate] feiskyer/claude-code-settings/skills/deep-research - deep-research — ProSkillsMD/proskills0 reactions · 1 comment
18 more on GitHub
- Oct 1, 2026[Candidate] feiskyer/claude-code-settings/skills/codex-skill - codex-skill — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 27, 2026agent-skills.github.feiskyer.claude-code-settings: init at 2.4.2 — sudosubin/agents.nix0 reactions
- Aug 21, 2026Daily settings drift check — 2026-08-21 (Claude Code v2.1.238) — shanraisshan/claude-code-best-practice0 reactions
- Aug 12, 2026Daily settings drift check — 2026-08-12 (Claude Code v2.1.228) — shanraisshan/claude-code-best-practice0 reactions
- Aug 7, 2026Daily settings drift check — 2026-08-07 (Claude Code v2.1.224) — shanraisshan/claude-code-best-practice0 reactions
- Jul 13, 2026Daily settings drift check — 2026-07-13 (Claude Code v2.1.207) — shanraisshan/claude-code-best-practice0 reactions
- Jul 8, 2026Daily settings drift check — 2026-07-08 (Claude Code v2.1.204) — shanraisshan/claude-code-best-practice0 reactions
- Jun 23, 2026Daily settings drift check — 2026-06-23 (Claude Code v2.1.186) — shanraisshan/claude-code-best-practice0 reactions
- Jun 18, 2026Daily settings drift check — 2026-06-18 (Claude Code v2.1.181) — shanraisshan/claude-code-best-practice0 reactions
- Jun 17, 2026Daily settings drift check — 2026-06-17 (Claude Code v2.1.179) — shanraisshan/claude-code-best-practice0 reactions
- Jun 16, 2026Daily settings drift check — 2026-06-16 (Claude Code v2.1.178) — shanraisshan/claude-code-best-practice0 reactions
- Jun 13, 2026Daily settings drift check — 2026-06-13 (Claude Code v2.1.176) — shanraisshan/claude-code-best-practice0 reactions
- Jun 11, 2026Daily settings drift check — 2026-06-11 (Claude Code v2.1.172) — shanraisshan/claude-code-best-practice0 reactions
- Jun 9, 2026Daily settings drift check — 2026-06-09 (Claude Code v2.1.169) — shanraisshan/claude-code-best-practice0 reactions
- Jun 7, 2026Daily settings drift check — 2026-06-07 (Claude Code v2.1.168) — shanraisshan/claude-code-best-practice0 reactions
- Jun 5, 2026Daily settings drift check — 2026-06-05 (Claude Code v2.1.163) — shanraisshan/claude-code-best-practice0 reactions
- Jun 4, 2026Daily settings drift check — 2026-06-04 (Claude Code v2.1.162) — shanraisshan/claude-code-best-practice0 reactions
- Apr 18, 2026Audit candidate: feiskyer/claude-code-settings — xiaolai/nlpm0 reactions · 4 comments
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- feiskyer/codex-settings★ 24413% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- brainstormingSkill
- codex-skillSkill
- deep-researchSkill
- github-fix-issueSkill
- github-review-prSkill
- grill-meSkill
- handoffSkill
- nanobanana-skillSkill
- skill-creatorSkill
- translateSkill
- youtube-transcribe-skillSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
OPENAI_API_KEY: Must be configured in ~/.gpt-image.env or export OPENAI_API_KEY=<your-key>
- Distinctive: line 22
Ask the user for:
- Distinctive: line 45
Run with input images:
- Distinctive: line 166
If the script fails:
- Very specific: line 168
Check that OPENAI_API_KEY is exported
- Very specific: line 169
If using a custom endpoint, verify OPENAI_API_BASE is correct
- Distinctive: line 170
Verify input image files exist and are readable (for editing)
- Distinctive: line 171
Ensure the output directory is writable
- Distinctive: line 172
Check that the model name is valid
- Very specific: line 180
Use high quality for final output, auto for quick iterations
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GPT Image Skill
Generate or edit images using OpenAI's GPT Image models through a bundled Python script.
Requirements
- OPENAI_API_KEY: Must be configured in
~/.gpt-image.envorexport OPENAI_API_KEY=<your-key> - OPENAI_API_BASE (optional): Custom API base URL for compatible endpoints (e.g. Azure OpenAI, proxies). Set in
~/.gpt-image.envor export it. - Python3 with dependencies: openai, Pillow. Install via
python3 -m pip install -r ${CLAUDE_SKILL_DIR}/requirements.txtif not installed yet. - Executable:
${CLAUDE_SKILL_DIR}/gpt_image.py
Instructions
For image generation
- Ask the user for:
- What they want to create (the prompt)
- Desired size (optional, defaults to 1024x1024)
- Output filename (optional, auto-generates UUID-based name if not specified)
- Model preference (optional, defaults to gpt-image-2)
- Quality (optional, defaults to auto)
- Number of images (optional, defaults to 1)
Run the script:
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py --prompt "description of image" --output "filename.png"- Show the user the saved image path when complete.
For image editing
- Ask the user for:
- Input image file(s) to edit (up to 3)
- What changes they want (the prompt)
- Output filename (optional)
Run with input images:
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py edit --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
Available Options
Models (--model)
gpt-image-2(default) — Latest model with strong instruction following, text rendering, and broad world knowledgegpt-image-1.5— Mid-tier modelgpt-image-1— First-generation GPT image modelgpt-image-1-mini— Lightweight, faster generation
Sizes (--size)
1024x1024(default) — Square1024x1536— Portrait (2:3)1536x1024— Landscape (3:2)auto— Let the model decide
Quality (--quality)
auto(default) — Model decides optimal qualityhigh— Higher detail, slowermedium— Balancedlow— Fastest
Output Format (--format)
png(default) — Losslessjpeg— Smaller file sizewebp— Modern format, good compression
Background (--background)
auto(default) — Model decidestransparent— Transparent background (png/webp only)opaque— Solid background
Other Options
--n <count>— Number of images to generate (default: 1)--output <filename>— Output filename (default: auto-generated)
Examples
Generate a simple image
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py --prompt "A serene mountain landscape at sunset with a lake"Generate with specific size and output
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py \
--prompt "Modern minimalist logo for a tech startup" \
--size 1024x1024 \
--quality high \
--output "logo.png"Generate landscape image
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py \
--prompt "Futuristic cityscape with flying cars" \
--size 1536x1024 \
--output "cityscape.png"Generate with transparent background
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py \
--prompt "A cute cartoon cat mascot" \
--background transparent \
--format png \
--output "mascot.png"Generate multiple images
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py \
--prompt "Abstract art in the style of Kandinsky" \
--n 3 \
--output "art.png"Edit existing images
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py edit \
--prompt "Add a rainbow in the sky" \
--input photo.png \
--output "photo-with-rainbow.png"Combine multiple reference images
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py edit \
--prompt "Create a gift basket containing all items shown" \
--input item1.png item2.png item3.png \
--output "gift-basket.png"Use a different model
python3 ${CLAUDE_SKILL_DIR}/gpt_image.py \
--prompt "Detailed portrait of a cat in watercolor style" \
--model gpt-image-1 \
--output "cat-portrait.png"Error Handling
If the script fails:
- Check that
OPENAI_API_KEYis exported - If using a custom endpoint, verify
OPENAI_API_BASEis correct - Verify input image files exist and are readable (for editing)
- Ensure the output directory is writable
- Check that the model name is valid
Best Practices
- Be descriptive in prompts — include style, mood, colors, composition details
- For logos/icons, use square size (1024x1024) with transparent background
- For social media, use portrait (1024x1536) for stories or square for posts
- For wallpapers/headers, use landscape (1536x1024)
- Use
highquality for final output,autofor quick iterations - GPT Image models excel at text rendering — include text in prompts when needed
- For editing, provide clear instructions about what to change and what to keep
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

