AI Image Generation and Editing
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
Generate and edit images using OpenAI's GPT Image 1.5 model.
$ npx skills add intellectronica/agent-skills --skill gpt-image-1-5 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install intellectronica/agent-skills gpt-image-1-5 --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/intellectronica/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gpt-image-1-5 .claude/skills/gpt-image-1-5 && 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 "gpt-image-1-5" agent skill from https://github.com/intellectronica/agent-skills/tree/main/skills/gpt-image-1-5 into .claude/skills/gpt-image-1-5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gpt-image-1-5", 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/intellectronica/agent-skills/tree/main/skills/gpt-image-1-5Type 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 intellectronica/agent-skills --skill gpt-image-1-5 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install intellectronica/agent-skills gpt-image-1-5 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intellectronica/agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/gpt-image-1-5 .agents/skills/gpt-image-1-5 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gpt-image-1-5" agent skill from https://github.com/intellectronica/agent-skills/tree/main/skills/gpt-image-1-5 into .agents/skills/gpt-image-1-5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gpt-image-1-5", 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 intellectronica/agent-skills --skill gpt-image-1-5 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install intellectronica/agent-skills gpt-image-1-5 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intellectronica/agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/gpt-image-1-5 .cursor/skills/gpt-image-1-5 && 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 "gpt-image-1-5" agent skill from https://github.com/intellectronica/agent-skills/tree/main/skills/gpt-image-1-5 into .cursor/skills/gpt-image-1-5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gpt-image-1-5", 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/intellectronica/agent-skills.git --path skills/gpt-image-1-5--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 intellectronica/agent-skills --skill gpt-image-1-5 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install intellectronica/agent-skills gpt-image-1-5 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intellectronica/agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/gpt-image-1-5 .gemini/skills/gpt-image-1-5 && 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 "gpt-image-1-5" agent skill from https://github.com/intellectronica/agent-skills/tree/main/skills/gpt-image-1-5 into .gemini/skills/gpt-image-1-5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gpt-image-1-5", 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 intellectronica/agent-skills gpt-image-1-5Installs 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 intellectronica/agent-skills --skill gpt-image-1-5 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/intellectronica/agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/gpt-image-1-5 .github/skills/gpt-image-1-5 && 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 "gpt-image-1-5" agent skill from https://github.com/intellectronica/agent-skills/tree/main/skills/gpt-image-1-5 into .github/skills/gpt-image-1-5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gpt-image-1-5", 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 intellectronica/agent-skills --skill gpt-image-1-5 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install intellectronica/agent-skills gpt-image-1-5 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intellectronica/agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/gpt-image-1-5 .opencode/skills/gpt-image-1-5 && 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 "gpt-image-1-5" agent skill from https://github.com/intellectronica/agent-skills/tree/main/skills/gpt-image-1-5 into .opencode/skills/gpt-image-1-5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gpt-image-1-5", 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.
gpt-image-1-5Generate and edit images using OpenAI's GPT Image 1.5 model.
Gpt Image 1 5 is an agent skill from intellectronica/agent-skills. Generate and edit images using OpenAI's GPT Image 1.5 model. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports text-to-image generation and image editing with optional mask. DO NOT read the image file first - use this skill directly with the --input-image parameter.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/generate_image.py`).
It sits in Media & Creative, covering Image generation and Image editing. It works with OpenAI. The repository describes itself as: @intellectronica's agent skills. The licence is CC0-1.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9b0e00a. 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 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENAI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gpt Image 1 5 loads about 1.5k tokens when it runs. Until then it costs about 123 tokens; SKILL.md has 527 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); the scripts in this folder are not scanned.
The full file from intellectronica/agent-skills at commit 9b0e00a, republished under its CC0-1.0 licence (© intellectronica). 527 words, ~1,549 tokens.
.claude/skills/gpt-image-1-5/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Generate new images or edit existing ones using OpenAI's GPT Image 1.5 model.
Run the script using absolute path (do NOT cd to skill directory first):
Generate new image:
uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--quality low|medium|high] [--size 1024x1024|1024x1536|1536x1024|auto] [--background transparent|opaque|auto] [--api-key KEY]Edit existing image (without mask - full image edit):
uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input.png" [--size 1024x1024|1024x1536|1536x1024|auto] [--api-key KEY]Edit existing image (with mask - precise inpainting):
uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "what to put in masked area" --filename "output-name.png" --input-image "path/to/input.png" --mask "path/to/mask.png" [--size 1024x1024|1024x1536|1536x1024|auto] [--api-key KEY]Important: Always run from the user's current working directory so images are saved where the user is working, not in the skill directory.
Map user requests:
mediumlowhighMap user requests:
1024x10241024x10241024x15361536x1024The script checks for API key in this order:
--api-key argument (use if user provided key in chat)OPENAI_API_KEY environment variableIf neither is available, the script exits with an error message.
Generate filenames with the pattern: yyyy-mm-dd-hh-mm-ss-name.png
Format: {timestamp}-{descriptive-name}.png
yyyy-mm-dd-hh-mm-ss (24-hour format)x9k2, a7b3)Examples:
2025-12-17-14-23-05-japanese-garden.png2025-12-17-15-30-12-sunset-mountains.png2025-12-17-16-45-33-robot.png2025-12-17-17-12-48-x9k2.pngBoth editing modes use the Image API (images.edit endpoint) with gpt-image-1.5 for reliable results.
When the user wants to modify an existing image without specifying exact regions:
--input-image parameter with the path to the imageWhen the user wants to edit specific regions:
--input-image parameter with the path to the image--mask parameter with a PNG mask fileCommon editing tasks: add/remove elements, change style, adjust colors, replace backgrounds, etc.
For generation: Pass user's image description as-is to --prompt. Only rework if clearly insufficient.
For editing: Pass editing instructions in --prompt (e.g., "add a rainbow in the sky", "make it look like a watercolor painting")
Preserve user's creative intent in both cases.
Generate new image:
uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "A serene Japanese garden with cherry blossoms" --filename "2025-12-17-14-23-05-japanese-garden.png" --quality high --size 1536x1024Generate with transparent background:
uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "A cute cartoon cat mascot" --filename "2025-12-17-14-25-30-cat-mascot.png" --background transparent --quality highEdit existing image (full image):
uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "make the sky more dramatic with storm clouds" --filename "2025-12-17-14-27-00-dramatic-sky.png" --input-image "original-photo.jpg"Edit with mask (inpainting):
uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "a flamingo swimming" --filename "2025-12-17-14-30-00-lounge-flamingo.png" --input-image "lounge.png" --mask "mask.png"© intellectronica, CC0-1.0. 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 1 other file (scripts) in skills/gpt-image-1-5 of intellectronica/agent-skills.
Open the folder on GitHubat commit 9b0e00a
Gpt Image 1 5 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 |
|---|---|---|---|---|---|---|
| Gpt Image 1 5 this skillintellectronica/agent-skills | 295 | — | ~1.5k | Automated safety check: Pass | CC0-1.0 | |
| AI Image Generation and Editingzhayujie/CowAgent | 47k | — | ~1.3k | Automated safety check: Pass | MIT | |
| GPT Image Generation CLIwuyoscar/GPT-Image2-Skill | 5.7k | — | ~2.5k | Automated safety check: Notes | MIT | |
| BlockRun Image GenerationBlockRunAI/ClawRouter | 6.6k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Codex API Image Generatoryc-duan/api-image | 101 | — | ~4.9k | Automated safety check: Pass | MIT | |
| ImagegenJetBrains/skills | 366 | 3 repos | ~2.5k | Automated safety check: Pass | Apache-2.0 |
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
wuyoscar/GPT-Image2-Skill
Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.
BlockRunAI/ClawRouter
Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.
yc-duan/api-image
Replaces Codex's built-in image tool with provider-based generation and editing, fetching reference images first whenever visual accuracy actually matters.
JetBrains/skills
A skill your agent uses when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent…
NomaDamas/bananatape
Drives the BananaTape CLI to create, launch, list and delete local AI image editing projects from an agent, including headless smoke tests.
intellectronica/agent-skills
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library.
intellectronica/agent-skills
Generate and edit images using Google's Nano Banana 2 (Gemini 3.1 Flash Image Preview) API.
intellectronica/agent-skills
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API.
intellectronica/agent-skills
This skill provides comprehensive instructions for interacting with the Notion API via REST calls.
intellectronica/agent-skills
Convert documents and files to Markdown using markitdown. An agent skill from intellectronica/agent-skills.
intellectronica/agent-skills
Extract transcripts from YouTube videos. An agent skill from intellectronica/agent-skills.
Works with
Categories
Generate and edit images using OpenAI's GPT Image 1.5 model. Gpt Image 1 5 is an agent skill from intellectronica/agent-skills.5 model.
Gpt Image 1 5 fits situations like: the user asks to generate; user references an existing image file and asks to modify it in any way (e.g; modify this image; change the background.
Run `npx skills add intellectronica/agent-skills --skill gpt-image-1-5 -a claude-code`. Or copy the skill folder (skills/gpt-image-1-5 in intellectronica/agent-skills) into .claude/skills/gpt-image-1-5 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add intellectronica/agent-skills --skill gpt-image-1-5 -a codex`. Or copy the skill folder (skills/gpt-image-1-5 in intellectronica/agent-skills) into .agents/skills/gpt-image-1-5 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 intellectronica/agent-skills --skill gpt-image-1-5 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gpt-image-1-5, .gemini/skills/gpt-image-1-5, .github/skills/gpt-image-1-5 and .opencode/skills/gpt-image-1-5 in your project.
Going by SKILL.md and its folder, Gpt Image 1 5 needs Python for the scripts in its folder, the command-line tools its instructions call (uv) and credentials named OPENAI_API_KEY. Our summary lists: Python 3; A credential in OPENAI_API_KEY.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Gpt Image 1 5 is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gpt Image 1 5: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), GPT Image Generation CLI (wuyoscar/GPT-Image2-Skill, 5.7k stars), BlockRun Image Generation (BlockRunAI/ClawRouter, 6.6k stars) and Codex API Image Generator (yc-duan/api-image, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
intellectronica (a GitHub user) maintains it in intellectronica/agent-skills, which has 295 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on April 25, 2026.
Source: intellectronica/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.