imagegen SKILL.md skillA

imagegen from yan-labs/yan-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yan-labs/yan-skills/imagegen@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yan-labs/yan-skills
Path
imagegen/SKILL.md
Versions recorded
5
Latest version
v1.0.0, committed Sep 29, 2026
First version recorded
Sep 2, 2026
Size
16,281 bytes
Repository stars
232
License
MIT

当用户要求生成图片、配图、插图、logo、吉祥物、封面、海报、og 图、favicon 源图、真人场景图,或建站时页面缺图、仍有占位图时使用。包括“画一张”“出一套图”“网站需要配图”“image gen”。本 Skill 负责提示词、生成、三道验收、压缩与落盘;只是让 Codex CLI 做代码代理任务时用 codex,普通派单走 agent-fleet,页面 SEO 与上线闸门走 rankup。.

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

# imagegen

**一句话定位**:借 Codex agent 内置的图像生成能力出图;本 Skill 只管五件事——把需求翻成好提示词、把命令跑通、验收、压缩、放进项目该在的目录。

图像生成**不是 CLI 子命令**(没有 `codex image`;`codex exec --image` 是把图当输入附上)。它是 Codex agent 的内置工具 `image_gen`。不要翻 `codex --help` 找 flag,找不到就下结论"不能生图"——这个结论是错的。描述你要的图,让 agent 自己选方法。

## 启动命令

```bash
mkdir -p <outdir>                                # 先建目录,提示词里写它的绝对路径
cat <outdir>/prompt.md | codex exec --skip-git-repo-check \
  --config model_reasoning_effort="medium" \
  --sandbox danger-full-access \
  -C <outdir> -o <outdir>/final.md 2>/dev/null
```

| 要点 | 说明 |
|---|---|
| 后台跑 | `Bash` 的 `run_in_background: true`,两张图约 2–3 分钟,成套图更久;等完成通知,不要轮询。**注意:必须从主线程(而非 subagent)调用**——subagent 用 `run_in_background` 后 park 等通知,会被 harness 判定空闲并终止,通知永远送达不了 |
| `--sandbox danger-full-access` | 生图要走网络。这个 flag 是否需要确认取决于当前机器的授权设置:有常设授权就直接跑,没有就按该机器的规则确认一次;无论哪种,启动那一行都要说明用了哪个 sandbox |
| `-o <outdir>/final.md` | 最终报告写进文件,从这里读路径与方法;stdout 是进度噪音,别去解析 |
| `2>/dev/null` | 压掉 stderr 的思考流;调试 Codex 本身时才拿掉 |
| effort | `medium` 够用,这不是推理任务 |
| 不传 `-m` | 用 `~/.codex/config.toml` 的默认模型,用户点名才覆盖 |
| 原图在哪 | Codex 每次 `image_gen` 的原始输出都落在 `~/.codex/generated_images/<session-id>/exec-*.png`(0.7–1.5 MB/张);输出目录里的是它后处理过的版本,要原图去那里取 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yan-labs/yan-skills/imagegen@sha256:8ff6a1afb128c489

The line at the top of this page pins the label v1.0.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_vnsi5syrmvdfabdr.svg)](https://markdownregistry.com/a/art_vnsi5syrmvdfabdr)

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

Versions

The registry has recorded 5 versions of this file, between Sep 2, 2026 and Sep 29, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-29 b083808 16,281 BA view · diff
v1.0.02026-09-29 a7e7407 16,276 BA view · diff
v1.0.02026-09-12 cc47c93 16,477 BA view · diff
v1.0.02026-09-02 8ebc9dc 15,848 BA view · diff
git:20260902.76767742026-09-02 7676774 15,535 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 (16281 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

yan-labs/yan-skills · 232 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vnsi5syrmvdfabdr
GET https://markdownregistry.com/api/v1/resolve?ref=yan-labs/yan-skills/imagegen
GET https://markdownregistry.com/api/v1/blob/8ff6a1afb128c48945f570e161ba9935f202ed6fc7898f111cc2502bc78aba91

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 yan-labs/yan-skills

agent-fleet SKILL.md skill
yan-labs/yan-skills · agent-fleet/skill/SKILL.md · 使用本机 fleet 分派 Codex GPT-6.1 Sol、Gemini、Grok 或 JEV 任务,或调用 Kollab 图片/视频/音频/多模态能力时使用;包括用户点名 agent-fleet、Nano…
git:20261106.e9d41a9 · audit A · 232 stars
autopilot SKILL.md skill
yan-labs/yan-skills · autopilot/SKILL.md · 当用户说“autopilot”“自己搞定”“直接跑到底”,或委托代理调查、实施并验证一个宽泛任务时使用。仅规划、解释或已有明确窄范围的请求,按用户指定范围处理。
git:20260929.a7e7407 · audit A · 232 stars
backlink SKILL.md skill
yan-labs/yan-skills · backlink/SKILL.md · Use for backlink work - finding, qualifying, submitting, analyzing or verifying backlinks, directory and blog-comment…
git:20261011.43308f3 · audit A · 232 stars
blog SKILL.md skill
yan-labs/yan-skills · blog/SKILL.md · effect.video(及同模板站点)文章类页面的书写与上线流程:模型页 /models/<slug>、blog、模型对比、产品对比。 这不是通用写作 Skill,它把我们已定的分工(X 调研交 Grok、成文交 Gemini 3.8…
git:20261011.0b9cfce · audit A · 232 stars
cf-cli SKILL.md skill
yan-labs/yan-skills · cf-cli/SKILL.md · Use when the user asks for Cloudflare's `cf` CLI, `cf cli search`, or `cloudflare.config.ts` to inspect resources…
git:20260929.a7e7407 · audit A · 232 stars
codex SKILL.md skill
yan-labs/yan-skills · codex/SKILL.md · 当用户明确要求直接操作 Codex CLI 作为后台代理(自选 sandbox、codex review、apply、resume 等原生命令,或用 git worktree 并行布置多个…
git:20260930.3f793f3 · audit A · 232 stars
opencli SKILL.md skill
yan-labs/yan-skills · opencli/SKILL.md · 当用户要用本机已登录 Chrome 操作或验收网页(含测试自己的站、E2E、截图)、读取登录后台、抓取无 API 的数据、填表,或排查 OpenCLI doctor、会话、adapter 故障,或明确提到…
v1.8.2 · audit A · 232 stars
rankup SKILL.md skill
yan-labs/yan-skills · rankup/SKILL.md · 独立开发者的项目全生命周期管理:需求验证、选词选品、建站或做原生 App、上线接入、SEO/GEO 获客、支付变现、监控迭代与跨会话接力。以下情况使用:用户提到 rankup 或…
v3.41.2 · audit A · 232 stars
skill-link-check SKILL.md skill
yan-labs/yan-skills · skill-link-check/SKILL.md · Use when a skill or slash command is missing, duplicated, not loading, or inconsistent between `.agents/skills` and…
git:20260929.a7e7407 · audit A · 232 stars
write SKILL.md skill
yan-labs/yan-skills · write/SKILL.md · 所有语言写作的统一入口,写文章、写稿、改稿、写文案、写脚本、去 AI 味都从这里进。 一个流程走到底:判断手上有什么,读对应的 references…
git:20261019.db999a4 · audit A · 232 stars

Every file in yan-labs/yan-skills

Other files named imagegen

imagegen SKILL.md skill
blockrunai/clawrouter · skills/imagegen/SKILL.md · Generate or edit images via BlockRun's image API. Trigger when the user asks to generate, create, draw, make an image —…
git:20261020.7e470dc · audit A · 6,652 stars
imagegen SKILL.md skill
foryourhealth111-pixel/vibe-skills · bundled/skills/imagegen/SKILL.md · Use when the user asks to generate or edit images via the OpenAI Image API (for example: generate image…
git:20260226.1632f40 · audit A · 3,805 stars
imagegen SKILL.md skill
bruc3van/agent-skills-guard · test/test-skills/positive-real/codex-system-imagegen/SKILL.md · Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations…
git:20260608.9f59278 · audit A · 392 stars
imagegen SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/imagegen/SKILL.md · Generate or edit images with OpenAI image tools or the bundled API CLI, including inpainting, background changes…
v1.0.1 · audit A · 74 stars
imagegen SKILL.md skill
jurybu/mcp-skill-rules_packages · skills/imagegen/SKILL.md · Use when the user asks to generate or edit images via the OpenAI Image API (for example: generate image…
git:20260606.4f12f4d · audit A · 37 stars
imagegen SKILL.md skill
andersonlimahw/lemon-ai-hub · plugins/imagegen/SKILL.md · Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations…
git:20260801.d400e34 · audit A · 17 stars
imagegen SKILL.md skill
ethanyoq/skill-hub · skills/07-media-content/imagegen/SKILL.md · Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations…
git:20260704.a768ef4 · audit A · 11 stars
imagegen SKILL.md skill
jensen-yao/agents-skills · skills/imagegen/SKILL.md · Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations…
git:20260815.3e2d588 · audit A · 5 stars

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