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.
mdr add kerberosclaw/kc_ai_skills/gpt-image-gen@v0.6.0Pins 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
mdr add kerberosclaw/kc_ai_skills/gpt-image-gen@sha256:574ecb39f887a7d9The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.6.0 latest | 2026-09-03 | cf4d7db | 49,159 B | A | view · diff |
| v0.5.1 | 2026-08-21 | 85988a7 | 44,735 B | A | view · diff |
| v0.5.0 | 2026-08-21 | 4cb53a9 | 44,718 B | A | view · diff |
| v0.4.0 | 2026-07-15 | 38420bb | 24,871 B | A | view · diff |
| v0.4.0 | 2026-06-24 | 1dc97f5 | 24,859 B | A | view |
Audit of the latest version
- 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
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
Every file in kerberosclaw/kc_ai_skills