Agent skill · Audited from source
imagegen
skill · openai/skillsLicence not declaredAudited 13 Nov 2026 · source 21ca169598cf
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 21ca169598cf and found no filesystem, network or shell access and no hard-coded secrets. What it does: Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new…
Cite
Cite this page
ModelsAtlas. “imagegen (openai/skills)”. Retrieved 13 Nov 2026. https://modelsatlas.com/skills/openai/imagegen
2 skills are called “imagegen”. You are viewing openai/skills.
- openai/skills★ 29k✓SAFE
- BlockRunAI/ClawRouter★ 6.6k✓SAFE
Trust audit
Audit 0.4.1 · source read 13 Nov 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 2 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
LOWObfuscation / stealthobf.decode_call · scripts/image_gen.py:256
out_path.write_bytes(base64.b64decode(image_b64))
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · scripts/image_gen.py:317
raw = base64.b64decode(image_b64)
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 21ca169598cf · 13 Nov 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisheropenai GitHub organizationOwner of the repository this skill is read from
- Source folderopenai/skills/skills/.system/imagegenThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdict21ca169598cfA new audit runs when the source changes
- Repository statusNot archivedLast push 15 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new…
--- name: "imagegen" description: "Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas." --- # Image Generation Skill Generates or edits images for the current project (for example website assets, game assets, UI mockups, product mockups, wireframes, logo design, photorealistic images, or infographics). ## Top-level modes and rules This skill has exactly two top-level modes: - **Default built-in tool mode (preferred):** built-in `image_gen` tool for normal image generation and editing. Does not require `OPENAI_API_KEY`. - **Fallback CLI mode (explicit-only):** `scripts/image_gen.py` CLI. Use only when the user explicitly asks for the CLI path. Requires `OPENAI_API_KEY`. Within the explicit CLI fallback only, the CLI exposes three subcommands: - `generate` - `edit` - `generate-batch` Rules: - Use the built-in `image_gen` tool by default for all normal image generation and editing requests. - Never switch to CLI fallback automatically. - If the built-in tool fails or is unavailable, tell the user the CLI fallback exists and that it requires `OPENAI_API_KEY`. Proceed only if the user explicitly asks for that fallback. - If the user explicitly asks for CLI mode, use the bundled `scripts/image_gen.py` workflow. Do not create one-off SDK runners. - Never modify `scripts/image_gen.py`. If something is missing, ask the user before doing anything else. Built-in save-path policy: - In built-in tool mode, Codex saves generated images under `$CODEX_HOME/*` by default. - Do not describe or rely on OS temp as the default built-in destination. - Do not describe or rely on a destination-path argument (if any) on the built-in `image_gen` tool. If a specific location is needed, generate first and then move or copy the selected output from `$CODEX_HOME/generated_images/...`. - Save-path precedence in built-in mode: 1. If the user names a destination, move or copy the selected output there. 2. If the image is meant for the current project, move or copy the final selected image into the workspace before finishing. 3. If the image is only for preview or brainstorming, render it inline; the underlying file can remain at the default `$CODEX_HOME/*` path. - Never leave a project-referenced asset only at the default `$CODEX_HOME/*` path. - Do not overwrite an existing asset unless the user explicitly asked for replacement; otherwise create a sibling versioned filename such as `hero-v2.png` or `item-icon-edited.png`. Shared prompt guidance for both modes lives in `references/prompting.md` and `references/sample-prompts.md`. Fallback-only docs/resources for CLI mode: - `references/cli.md` - `references/image-api.md` - `references/codex-network.md` - `scripts/image_gen.py` ## When to use - Generate a new image (concept art, product shot, cover, website hero) - Generate a new image using one or more reference images for style, composition, or mood - Edit an existing image (inpainting, lighting or weather transformations, background replacement, object removal, compositing, transparent background) - Produce many assets or variants for one task ## When not to use - Extending or matching an existing SVG/vector icon set, logo system, or illustration library inside the repo - Creating simple shapes, diagrams, wireframes, or icons that are better produced directly in SVG, HTML/CSS, or canvas - Making a small project-local asset edit when the source file already exists in an editable native format - Any task where the user clearly wants deterministic code-native output instead of a generated bitmap ## Decision tree Think about two separate questions: 1. **Intent:** is this a new image or an edit of an existing image? 2. **Execution strategy:** is this one asset or many assets/variants? Intent: - If the user wants to modify an existing image while preserving parts of it, treat the request as **edit**. - If the user provides images only as references for style, composition, mood, or subject guidance, treat the request as **generate**. - If the user provides no images, treat the request as **generate**. Built-in edit semantics: - Built-in edit mode is for images already visible in the conversation context, such as attached images or images generated earlier in the thread. - If the user wants to edit a local image file with the built-in tool, first load it with built-in `view_image` tool so the image is visible in the conversation context, then proceed with the built-in edit flow. - Do not promise arbitrary filesystem-path editing through the built-in tool. - If a local file still needs direct file-path control, masks, or other explicit CLI-only parameters, use the explicit CLI fallback only when the user asks for it. - For edits, preserve invariants aggressively and save non-destructively by default. Execution strategy: - In the built-in default path, produce many assets or variants by issuing one `image_gen` call per requested asset or variant. - In the explicit CLI fallback path, use the CLI `generate-batch` subcommand only when the user explicitly chose CLI mode and needs many prompts/assets. Assume the user wants a new image unless they clearly ask to change an existing one. ## Workflow 1. Decide the top-level mode: built-in by default, fallback CLI only if explicitly requested. 2. Decide the intent: `generate` or `edit`. 3. Decide whether the output is preview-only or meant to be consumed by the current project. 4. Decide the execution strategy: single asset vs repeated built-in calls vs
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 21ca169
uv pip install openai uv pip install pillow
git clone https://github.com/openai/skills git -C skills checkout 21ca169598cf
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 21ca169598cf only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
21ca169598cf
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/openai/imagegen/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
mattpocock/skills
Implement a piece of work based on a spec or set of tickets.
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
mattpocock/skills
Pursue a long-running goal in a single session by co-ordinating subagents.
Add this badge to your README
[](https://modelsatlas.com/skills/openai/imagegen/)
<a href="https://modelsatlas.com/skills/openai/imagegen/"><img src="https://modelsatlas.com/skills/openai/imagegen/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about imagegen
What does the imagegen skill do?
Is imagegen safe to install?
What can imagegen access on my machine?
Which assistants does imagegen work with?
How current is this page?
Sources
- github.com/openai/skills/tree/main/skills/.system/imagegen — the audited source at commit 21ca169598cf and every finding aboveObserved · 13 Nov 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the imagegen skill do?
- Is imagegen safe to install?
- What can imagegen access on my machine?