gpt-atelier

gpt-atelier is a skill for Claude Code, Codex from tdimino/claude-code-minoan. It costs 126 tokens per session (2,235 once invoked), scanned A, original, MIT.

An image-generation and editing toolkit for OpenAI image models. It supports creating images, editing selected areas, combining reference images, and making multi-step edits.

In plain words
What is it for?
Generate images, replace parts of existing images with masks, compose images from several references, compare models, and run multi-turn or streaming image sessions.
Why use it?
It provides ready-made scripts for common image workflows instead of requiring you to build each API call yourself. It requires an OPENAI_API_KEY environment variable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Generate images, replace parts of existing images with masks, compose images from several references, compare models, and run multi-turn or streaming image sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tdimino/claude-code-minoan/gpt-atelier
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tdimino/claude-code-minoan --skill gpt-atelier
Clone the repo
git clone --depth 1 https://github.com/tdimino/claude-code-minoan

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gpt-atelier

README.md
[![agentmods](https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/gpt-atelier/github.svg)](https://agentmods.dev/skills/tdimino/claude-code-minoan/gpt-atelier)
Your own site
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/gpt-atelier"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/gpt-atelier/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gpt-atelier

Your own site · 80×15
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/gpt-atelier"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/gpt-atelier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,235 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.02235
Opus 5 $0.00063 $0.01118
Sonnet 5 $0.00025 $0.00447
Haiku 4.5 $0.00013 $0.00224

Measured 11d ago against content hash a77ed11bd405, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gpt-atelier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/compare_models.py, scripts/compose_images.py, scripts/converse_image.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/design-media/gpt-atelier/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GPT Atelier

OpenAI GPT Image generation and editing. Wraps both the Image API (one-shot) and Responses API (multi-turn conversational) with 6 scripts covering generate, edit, compose, converse, stream, and test workflows.

Prerequisite: OPENAI_API_KEY environment variable.

Models

Flag Model Strengths
(default) gpt-image-2 Reasoning-based, ~99% text rendering, up to 8 consistent images, 4K, streaming
--fast gpt-image-1.5 Region-aware editing, 4x faster, cheaper
--mini gpt-image-1-mini Cheapest ($0.006/image low quality)

Quick Start

# Test connectivity
python3 scripts/test_connection.py --check-models

# Generate an image
python3 scripts/generate_image.py "A Minoan bull-leaper under golden light"

# Compare models side-by-side (HTML page)
python3 scripts/compare_models.py "A bronze seal stamp in Minoan style" --all --open

# Edit with mask
python3 scripts/edit_image.py "Replace the sky with a dramatic sunset" photo.png --mask sky_mask.png

# Compose from references
python3 scripts/compose_images.py "Create a gift basket containing these items" item1.png item2.png item3.png

# Multi-turn editing session
python3 scripts/converse_image.py

# Streaming with partial images
python3 scripts/stream_image.py "An ancient fresco being restored" --partials 3

Image API scripts share: --output DIR, --filename NAME, --quality low|medium|high, --format png|jpeg|webp, --fast, --mini. converse_image.py uses --orchestrator instead of --fast/--mini.

Core Workflows

1. Text-to-Image Generation

python3 scripts/generate_image.py "prompt" [options]
Option Default Description
--size auto WxH or preset: square, landscape, portrait, wide, 2k, 4k, 4k-portrait
--quality high low, medium, high, auto
--n 1 Number of images (1-8)
--format png png, jpeg (faster), webp
--compression 0-100 for jpeg/webp
--background opaque, transparent, auto
--moderation auto auto, low

Read the full file on GitHub · 231 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 231 lines · 126 tokens per session scan A a77ed11bd405

Subscribe to this mod's changes

gpt-atelier is a skill published in the GitHub repository tdimino/claude-code-minoan (41 stars, last pushed yesterday), licensed MIT. It adds 126 tokens to every session and 2,235 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.