Make pictures with built-in image generation that meet a brief, not merely exist; moodboards, heroes, product shots, illustrations, thumbnails, edits of an existing picture.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Image Direction?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kerim-sabic-image-direction)
---
name: image-direction
description: Make pictures with built-in image generation that meet a brief, not merely exist; moodboards, heroes, product shots, illustrations, thumbnails, edits of an existing picture.
status: active
learned: 2026-11-29
origin: curated
sources:
- "Codex imagegen skill (SKILL.md), ~/.codex/skills/.system/imagegen, read 2026-11-29"
- "Codex imagegen skill, references/image-api.md (gpt-image-2 sizes), read 2026-11-29"
checked: "Claude 3 (lead), against the sources above, 2026-11-29"
---
# Image direction
For the agent that makes pictures (a ChatGPT agent's built-in `image_gen` tool) and for whoever briefs it. The point is a picture that meets the brief and matches its references, chosen from several and refined, not the first one that came out.
## 1. Before the first picture
1. Know what it is for: where it goes (a site hero, a slide, a thumbnail, a texture), its final size and aspect ratio, and what the person must feel or understand in one glance.
2. Look at every reference. Pictures attached to the task are in view and are named by number ("Image 1"). A picture that is only named by its path is not seen until you open it with `view_image`. Never describe a reference you have not opened.
3. Give each reference a role: reference for style, composition or subject; edit target (the picture to change); or something to insert or reproduce (a product screen, a logo).
4. Decide: a new picture (generate), or a change to an existing one (edit). Edit only what was asked, and say what must stay unchanged.
## 2. The prompt
Write it in labelled lines, keeping only the ones that help:
```text
Use case: <photorealistic-natural | product-mockup | ui-mockup | ads-marketing | logo-brand | illustration-story | stylized-concept | ...>
Asset type: <where it is used>
Primary request: <the brief in one sentence>
Input images: <Image 1: reference for the building's shape; Image 2: edit target>
Scene/backdrop: <setting>
Subject: <main subject>
Style/medium: <photo, illustration, 3D, ...>
Composition/framing: <wide, close, eye level, rule of thirds; room left for the headline>
Lighting/mood: <light and mood>
Color palette: <the design system's colours>
Text (verbatim): "<exact words>"
Constraints: <must keep>
Avoid: <what must not appear>
```
- Order of the words: scene, subject, details, constraints.
- For a photo, use camera words: lens, distance, angle, depth of field, time of day.
- Keep a detailed brief as it is; add detail only where a vague one needs it, never new people, objects, slogans or brand names it did not imply.
## 3. Size and sharpness
- Ask for the final size and aspect ratio in the prompt. gpt-image-2 takes any size whose edges are multiples of 16, the long edge at most 3840 px and the long-to-short ratio at most 3:1. Common ones: 1536x1024 and 1024x1536; 2048x2048 square; 2048x1152 wide; 3840x2160 and 2160x3840 for 4K.
- Never enlarge a finished picture by resizing it: it goes soft. Make it at the size needed. To fit a frame, crop; never stretch.
## 4. Words inside the picture
- Quote them exactly, say the font style and where they sit, and keep them few.
- Spell hard or foreign words letter by letter, and ask for them verbatim.
- If they still come out wrong after one more try, make the picture without them and set the words in the page, the slide or the layout instead.
## 5. Variations, judging, refining
1. Make 3 or 4 variations of each asset the design rests on (one call each).
2. Open every result and score it against the brief and the references:
- the subject and what it must say;
- likeness to the references where likeness matters (a real building's shape, a product, a face);
- composition and the room the layout needs;
- words spelled exactly;
- artefacts: hands and fingers, faces, warped straight lines, melted text, objects nobody asked for, a watermark.
3. Keep the best. Change one thing at a time and make it again; repeat what must stay unchanged in every edit, or it drifts.
4. Stop when it meets the brief, or after three rounds, and say what is still off.
## 6. Delivering
- Copy every picture you keep into the project folder under a clear name (`hero-v2.png`, never `exec-3692bc9b.png`); do not overwrite an existing asset unless asked. Pictures land in `$CODEX_HOME/generated_images/...` first; a project must never depend on that folder.
- Give the full path of each picture, the final prompt, and one line on why you chose it.
- Say that a picture is generated. Never let one stand in for a real product screenshot, a real place as it is, or a real person's photo.
## 7. When not to use it
- An icon set, a logo system or an illustration library that exists as SVG or code: extend it in that form.
- A simple shape, diagram, wireframe or chart: draw it in SVG, HTML or CSS.
- On a team with no account that can make pictures: say so; never call a drawing, a 3D render or a screenshot "generated".
## Sources
- Codex imagegen skill, `~/.codex/skills/.system/imagegen/SKILL.md`: modes, the labelled prompt schema, references through `view_image`, editing with invariants, iteration with one change at a time, the save-path rules. Read 2026-11-29.
- Same skill, `references/image-api.md`: gpt-image-2 sizes and their limits. Read 2026-11-29.