gpt-image-gen SKILL.md skillA

gpt-image-gen from kerberosclaw/kc_ai_skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kerberosclaw/kc_ai_skills/gpt-image-gen@v0.6.0

Pins v0.6.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kerberosclaw/kc_ai_skills
Path
gpt-image-gen/SKILL.md
Versions recorded
5
Latest version
v0.6.0, committed Sep 3, 2026
First version recorded
Jun 24, 2026
Size
49,159 bytes
Repository stars
79
License
MIT

Use when the user asks to generate OR edit an image via GPT/Codex (e.g. 「叫 gpt 生圖」「幫我用 gpt 生圖」「gpt 畫一個 X」「幫我去背」「把這張圖的背景去掉」). The skill drafts a Chinese + English prompt pair and waits for explicit approval. After approval it uses the host-native executor: Codex calls its built-in image_gen tool directly, while Claude Code keeps the Codex CLI background workflow. Supports text-to-image, img2img, and precise EDIT mode with preservation constraints and verification where local artifacts are…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# gpt-image-gen — Claude Code 走 Codex CLI;Codex 直接生圖

You are a prompt-crafting partner who turns the user's loose Chinese description into a tight bilingual prompt pair, iterates until the user explicitly approves, then uses the executor native to the current host. In Claude Code, orchestrate Codex CLI as before. In Codex, call the built-in `image_gen` tool yourself — do not launch another Codex inside Codex. Your job is prompt design, user confirmation gating, execution, and **verifying the result before you hand it over**.

## Step 0: 先鎖定執行宿主(MANDATORY)

依**目前 assistant 的宿主身分**設定一次 `RUNTIME`,後面不得改道:

| 目前是誰在執行這個 skill | `RUNTIME` | 拍板後的路徑 |
|---|---|---|
| **Codex**(目前 assistant/system 明確自稱 Codex) | `codex` | 走 **Step 4-Codex**,直接呼叫目前 session 的 built-in `image_gen` |
| **Claude Code** | `claude_code` | 走 **Step 4-Claude**,維持既有背景 `codex exec` 流程 |

- **不要用 `which codex`、環境變數或「有沒有 codex binary」判斷宿主。** Claude Code 的機器本來就可能裝 Codex;那不是執行者身分。
- `RUNTIME=codex` 時,禁止 shell-out 到 `codex` / `codex exec`、禁止再開 Codex 子程序或子 agent,也不跑 Step 4-Claude。這條正是避免疊床架屋的 hard invariant。
- `RUNTIME=codex` 但 built-in `image_gen` 不可用時,如實告訴 user;**不要靜默退回 Codex CLI**。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kerberosclaw/kc_ai_skills/gpt-image-gen@sha256:574ecb39f887a7d9

The line at the top of this page pins the label v0.6.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mrszcmhe5unv556s.svg)](https://markdownregistry.com/a/art_mrszcmhe5unv556s)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 24, 2026 and Sep 3, 2026, about one every 18 days.

versioncommittedcommitsizeaudit
v0.6.0 latest2026-09-03 cf4d7db 49,159 BA view · diff
v0.5.12026-08-21 85988a7 44,735 BA view · diff
v0.5.02026-08-21 4cb53a9 44,718 BA view · diff
v0.4.02026-07-15 38420bb 24,871 BA view · diff
v0.4.02026-06-24 1dc97f5 24,859 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (49159 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kerberosclaw/kc_ai_skills · 79 stars · license MIT · pushed 2026-10-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mrszcmhe5unv556s
GET https://markdownregistry.com/api/v1/resolve?ref=kerberosclaw/kc_ai_skills/gpt-image-gen
GET https://markdownregistry.com/api/v1/blob/574ecb39f887a7d9a35b04692a89f9269a26b2f11ec1f59f0410cc79ba7d627d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kerberosclaw/kc_ai_skills

adr SKILL.md skill
kerberosclaw/kc_ai_skills · adr/SKILL.md · Use when a durable technical decision was just made in conversation and should be recorded, or when user asks to…
v0.3.1 · audit A · 79 stars
align SKILL.md skill
kerberosclaw/kc_ai_skills · align/SKILL.md · Reconcile existing repository documentation with the current implementation, especially after verified hotfixes or…
v0.4.0 · audit A · 79 stars
character-lora SKILL.md skill
kerberosclaw/kc_ai_skills · character-lora/SKILL.md · Use when the user wants to build a consistent-identity LoRA for an original character — defining the character…
v0.2.1 · audit A · 79 stars
conference-report SKILL.md skill
kerberosclaw/kc_ai_skills · conference-report/SKILL.md · Use when the user attended one or more sessions of a conference (with audio recordings + slide photos) and needs help…
v0.2.0 · audit A · 79 stars
ctf-kit SKILL.md skill
kerberosclaw/kc_ai_skills · ctf-kit/SKILL.md · Use when the user is solving an authorized CTF / lab reverse-engineering challenge focused on Windows application…
v0.5.0 · audit A · 79 stars
diagnose SKILL.md skill
kerberosclaw/kc_ai_skills · diagnose/SKILL.md · Use when the user reports misbehaving software to investigate — a bug, crash, wrong output, flaky behavior, or…
v0.3.0 · audit A · 79 stars
goal-engineer SKILL.md skill
kerberosclaw/kc_ai_skills · goal-engineer/SKILL.md · Author a self-contained unattended dispatch for a generate-and-select loop (generate candidates, grade, iterate, keep…
v1.3.2 · audit A · 79 stars
DESIGN.md@goal-engineer/docs DESIGN.md file
kerberosclaw/kc_ai_skills · goal-engineer/docs/DESIGN.md
git:20261015.be10792 · audit A · 79 stars
grill SKILL.md skill
kerberosclaw/kc_ai_skills · grill/SKILL.md · Use when the user says 先討論 / wants to align on a fuzzy idea before building, or before any non-trivial implementation…
v0.1.0 · audit A · 79 stars
ios-resign SKILL.md skill
kerberosclaw/kc_ai_skills · ios-resign/SKILL.md · Use when the user wants to rebuild, re-sign and reinstall one of their own iOS apps onto their iPhone(s) — typically…
v0.1.1 · audit A · 79 stars
job-scout SKILL.md skill
kerberosclaw/kc_ai_skills · job-scout/SKILL.md · Use when the user is considering applying to, interviewing with, or accepting an offer from a company and wants due…
v1.1.0 · audit A · 79 stars
llm-benchmark SKILL.md skill
kerberosclaw/kc_ai_skills · llm-benchmark/SKILL.md · Use when the user wants to test, compare, or choose local Ollama models for their machine. Checks Ollama/GPU state…
v1.1.0 · audit B · 79 stars

Every file in kerberosclaw/kc_ai_skills

Other files named gpt-image-gen

gpt-image-gen SKILL.md skill
code-yeongyu/senpi · packages/coding-agent/src/core/extensions/builtin/imagegen/skill/SKILL.md · MUST read before generating images. Prompt-crafting guide for gpt-image-2.5 covering tool routing (native…
git:20260910.a3ad98f · audit A · 486 stars

Browse by kind, by grade A, or by owner.