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.
mdr add yan-labs/yan-skills/imagegen@v1.0.0Pins 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
mdr add yan-labs/yan-skills/imagegen@sha256:8ff6a1afb128c489The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-09-29 | b083808 | 16,281 B | A | view · diff |
| v1.0.0 | 2026-09-29 | a7e7407 | 16,276 B | A | view · diff |
| v1.0.0 | 2026-09-12 | cc47c93 | 16,477 B | A | view · diff |
| v1.0.0 | 2026-09-02 | 8ebc9dc | 15,848 B | A | view · diff |
| git:20260902.7676774 | 2026-09-02 | 7676774 | 15,535 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 (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
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
Every file in yan-labs/yan-skills