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.
Install with Tessl CLI
npx tessl i github:intellectronica/agent-skills --skill gpt-image-1-586
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillAgent success when using this skill
Validation for skill structure
Quality and size parameter mapping
Quality set to high
0%
100%
Size set to landscape
0%
100%
Absolute script path
0%
100%
uv run invocation
0%
100%
Filename timestamp format
0%
100%
Filename lowercase hyphens
0%
100%
Filename descriptive length
75%
100%
Prompt passed as-is
62%
100%
No image read-back
100%
100%
Three separate commands
83%
100%
Without context: $0.2438 · 59s · 13 turns · 62 in / 3,149 out tokens
With context: $0.2161 · 48s · 10 turns · 10 in / 2,395 out tokens
Transparent background and filename naming
Transparent background
0%
100%
Quality set to low
0%
100%
Absolute script path
0%
100%
uv run invocation
0%
100%
Filename timestamp prefix
0%
0%
Filename descriptive name
60%
100%
Filename ends in .png
100%
100%
Three asset commands
100%
100%
No image read-back
100%
100%
Filenames documented
100%
100%
Without context: $0.2207 · 53s · 12 turns · 12 in / 2,888 out tokens
With context: $0.2475 · 46s · 13 turns · 643 in / 2,373 out tokens
Masked inpainting workflow
Uses --input-image
0%
100%
Uses --mask parameter
0%
100%
Editing prompt format
100%
100%
Absolute script path
0%
100%
uv run invocation
0%
100%
Filename timestamp format
0%
0%
No pre-edit image read
100%
100%
Mask convention explained
100%
100%
No image read-back
100%
100%
Output filename documented
100%
100%
Without context: $0.2279 · 51s · 10 turns · 11 in / 2,898 out tokens
With context: $0.2979 · 57s · 16 turns · 267 in / 3,018 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.