Structured Image Generation
bytedance/deer-flow
Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.
当用户要求生成图片、配图、插图、logo、吉祥物、封面、海报、og 图、favicon 源图、真人场景图,或建站时页面缺图、仍有占位图时使用。包括“画一张”“出一套图”“网站需要配图”“image gen”。本 Skill 负责提示词、生成、三道验收、压缩与落盘;只是让 Codex CLI 做代码代理任务时用 codex,普通派单走 agent-fleet,页面 SEO 与上线闸门走…
$ npx skills add yan-labs/yan-skills --skill imagegen -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yan-labs/yan-skills imagegen --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yan-labs/yan-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/imagegen .claude/skills/imagegen && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "imagegen" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen into .claude/skills/imagegen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imagegen", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yan-labs/yan-skills/tree/main/imagegenType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yan-labs/yan-skills --skill imagegen -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yan-labs/yan-skills imagegen --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yan-labs/yan-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/imagegen .agents/skills/imagegen && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "imagegen" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen into .agents/skills/imagegen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imagegen", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yan-labs/yan-skills --skill imagegen -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yan-labs/yan-skills imagegen --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yan-labs/yan-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/imagegen .cursor/skills/imagegen && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "imagegen" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen into .cursor/skills/imagegen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imagegen", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yan-labs/yan-skills.git --path imagegen--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yan-labs/yan-skills --skill imagegen -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yan-labs/yan-skills imagegen --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yan-labs/yan-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/imagegen .gemini/skills/imagegen && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "imagegen" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen into .gemini/skills/imagegen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imagegen", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yan-labs/yan-skills imagegenInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yan-labs/yan-skills --skill imagegen -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yan-labs/yan-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/imagegen .github/skills/imagegen && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "imagegen" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen into .github/skills/imagegen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imagegen", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yan-labs/yan-skills --skill imagegen -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yan-labs/yan-skills imagegen --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yan-labs/yan-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/imagegen .opencode/skills/imagegen && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "imagegen" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen into .opencode/skills/imagegen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imagegen", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
imagegen当用户要求生成图片、配图、插图、logo、吉祥物、封面、海报、og 图、favicon 源图、真人场景图,或建站时页面缺图、仍有占位图时使用。包括“画一张”“出一套图”“网站需要配图”“image gen”。本 Skill 负责提示词、生成、三道验收、压缩与落盘;只是让 Codex CLI 做代码代理任务时用 codex,普通派单走 agent-fleet,页面 SEO 与上线闸门走…
Imagegen is an agent skill from yan-labs/yan-skills. 当用户要求生成图片、配图、插图、logo、吉祥物、封面、海报、og 图、favicon 源图、真人场景图,或建站时页面缺图、仍有占位图时使用。包括“画一张”“出一套图”“网站需要配图”“image gen”。本 Skill 负责提示词、生成、三道验收、压缩与落盘;只是让 Codex CLI 做代码代理任务时用 codex,普通派单走 agent-fleet,页面 SEO 与上线闸门走 rankup。
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `README.md` and `evals/evals.json`).
It sits in Media & Creative, covering Image generation. The repository describes itself as: Yan's agent skills collection — Google Trends SEO workflows, AI news, autopilot, and more. For Claude Code / Codex / Cursor. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8ec2915. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
codexmagickbrewcurlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Imagegen loads about 2.5k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 625 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from yan-labs/yan-skills at commit 8ec2915, republished under its MIT licence (© yan-labs). 625 words, ~2,477 tokens.
.claude/skills/imagegen/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.一句话定位:借 Codex agent 内置的图像生成能力出图;本 Skill 只管五件事——把需求翻成好提示词、把命令跑通、验收、压缩、放进项目该在的目录。
图像生成不是 CLI 子命令(没有 codex image;codex exec --image 是把图当输入附上)。它是 Codex agent 的内置工具 image_gen。不要翻 codex --help 找 flag,找不到就下结论"不能生图"——这个结论是错的。描述你要的图,让 agent 自己选方法。
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/张);输出目录里的是它后处理过的版本,要原图去那里取 |
codex --version 失败或启动就退出:先 codex doctor,如实报告,不要盲目重试。
一份 prompt.md 必含六样,缺一样就会出一类问题:
mkdir -p)。No text, no letters, no logos, no watermarks. 生成的字几乎必花,非英文界面更是错字;文字后期用 HTML/CSS 叠。If you genuinely cannot generate images, say so plainly. Do not substitute placeholders, ASCII art, solid rectangles, or images downloaded from the web.透明图务必写 true alpha, not a white/dark square——实测 Codex 靠这句自检,第一版烤了底色又自己返工。
再加一条常用兜底:If the exact size is unsupported, generate the nearest aspect and resize locally (sips / PIL) to the exact pixels; keep alpha for transparent items.
Generate two images with your built-in image generation tool and save them to:
<outdir absolute path>/
Shared style: palette #2563EB (primary) #F59E0B (accent) #0F172A (ink) #F8FAFC (paper).
No text, no letters, no logos, no watermarks anywhere.
1. `mascot-logo.png` — 1024x1024, transparent background PNG (true alpha, not a white square).
A friendly round owl holding a tiny wrench. Flat vector style, bold clean shapes,
2-3 flat tones per element, no gradients, no drop shadows. Occupies 75-80% of the
frame, centered, exclude the wrench from that measure.
2. `og-image.png` — 1200x630 (1.91:1), opaque. Photorealistic editorial photo: a person
in their late twenties at a wooden desk in front of a laptop, soft window light from
the left, shallow depth of field, calm home office, mug and small plant. Eye-level,
subject on the left so the right third is clean negative space. Laptop screen is a
soft blurred blue-white glow, nothing readable.
Rules: if you genuinely cannot generate images, say so plainly — no placeholders, ASCII
art, solid rectangles, or web downloads. If the exact size is unsupported, generate the
nearest aspect and resize locally (sips / PIL); keep alpha for the mascot.
Report per file: absolute path, actual pixels, bytes, alpha yes/no, method used.| 用途 | 尺寸 / 格式 | 风格块要点 | 必写约束 |
|---|---|---|---|
| logo / favicon 源图 | 1024×1024 透明 PNG;后续 sips -Z 缩出 512/192/180/32/16 | flat vector, bold silhouette, 2–3 tones, no gradients | 主体占 75–80%;16px 下还认得出(单一形状,不靠细节);不要文字 |
| 吉祥物 | 1024×1024 透明 PNG;成套则同一提示词多姿势 | 同上 + 头身比、眼径÷头宽等数字化特征 | 物种、道具(只准一个)、配色全部写死;道具不计入占比 |
| og:image / 分享图 | 1200×630,不透明;每页一张独立 | 主体偏一侧,另一侧留干净负空间(标题后期叠) | 缩到 120px 仍看得出主体;不要文字;不得全站共用 |
| 内页配图 | 1600×900 或 4:3;JPEG/WebP | 与站点调色板一致;同一站同一画风 | 与该页目标词语义相关(写出场景,不写关键词) |
| 用户场景 / 真人图 | 1600×1067(3:2)或 1200×630 | photorealistic editorial, natural window light, shallow DoF, 35–50mm 视角 | 写年龄段、动作、环境、光向、构图;屏幕内容"模糊发光,无可读文字";不写真人姓名 |
| 手绘 / 蜡笔 / 水彩插画 | 1600×1200 或方图;带纸纹则不透明 | crayon on textured paper / loose watercolor, visible strokes, limited palette | 写纸色与颗粒感;线条粗细;留白比例 |
| 海报 / 电影感画面 | 2:3(1000×1500)竖 或 21:9 横 | cinematic, anamorphic, volumetric light, color grade 写成 hex 两色 | 文字区留空;主体位置写清(三分法哪一格) |
尺寸比例写清,模型给不了精确像素时靠本地缩放,见「压缩与落盘」。
出处:codex/references/image-experiments.md「一套图的验收」,2026-08-22 一次 16 张角色图的实录,三道各自抓到了不同缺陷。
先用 Read 逐张打开看过,再谈下面三道;没看过的图不准接进页面。三道都是必做,缺一道漏一类问题。
sips -Z 120 in.png --out thumbs/in.pngfrom PIL import Image
im = Image.open(f).convert('RGBA'); bb = im.getchannel('A').getbbox()
frac = (bb[2]-bb[0])*(bb[3]-bb[1]) / (im.width*im.height) # 目标 0.75–0.80pairN-A/B,对照表放项目目录之外,派一个没参与生成的 agent 评,明说「看不出差别」可接受。非盲判断曾被盲评整组反转,机制是多出来的道具。风格不受版权保护,喂参考图是设计行业的常规做法。控制点在输出端,不在输入端:
原图约 1 MB/张 PNG,不压缩不许进仓库。
sips -s format jpeg -s formatOptions 82 in.png --out out.jpg # 不透明图:JPEG,4 MB 一套压到 1 MB 内
cwebp -q 82 in.png -o out.webp # 页内用 WebP(透明也保留)
cwebp -q 82 -alpha_q 100 mascot.png -o mascot.webp # 透明主体,alpha 无损
sips -Z 512 logo.png --out icon-512.png # 等比缩最长边
sips -z 630 1200 og.png --out og.png # 精确到像素(先高后宽)透明没做出来、或主体占比不达标时,用 ImageMagick 二次处理(先 which magick,没有就 brew install imagemagick):
magick in.png -fuzz 8% -transparent '#0F172A' out.png # 纯色底抠透明(换成实际底色 hex)
magick in.png -trim +repage -resize 800x800 -gravity center \
-background none -extent 1024x1024 out.png # 裁掉空边,主体缩到约 78% 再居中回 1024²
magick out.png -format 'alpha_min=%[fx:minima.a] colors=%k\n' info: # alpha_min 必须是 0 才算真透明| 素材 | 保留格式 | 放哪(示例路径) |
|---|---|---|
| logo / 图标集 | 透明 PNG 源 + SVG(如有);导出 512/192/180/32/16 | <project>/public/brand/,manifest.json 逐个真实引用 |
| og:image | PNG 或 JPEG(WhatsApp/FB 预览爬虫对 WebP 不稳;rankup/references/seo-experiences.md 2026-07-18) | <project>/public/og/<page-slug>.png,一页一张 |
| 页内配图 / 场景图 | WebP(同图 175 KB→56 KB),<img> 写真实 width/height | <project>/public/images/<section>/ |
| 原始生成物与 prompt.md | 原样留档,不进 public/ | <project>/design/imagegen/<batch>/ |
python3 heredoc 驱动:Claude Code 的 Bash tool 里裸 for f in *.png; do …; done 和 until [ -f x ]; do sleep 2; done 可能报 parse error near 'done'(2026-09-02 在一台 macOS zsh 环境实测),用 heredoc 最稳。filter: brightness(.84) saturate(.92)。curl -I 每张图 200;仓库结构迁移后 favicon/og 静默 404 是踩过的坑。rankup/SKILL.md 段 3(建站)硬规则和「一句话落到哪一段」表都指到 /imagegen:网站需要任何视觉素材就来这里真实生成。placeholder、模板示例图),Google 据此判垃圾站、整站连坐;段 4 硬规则:每页独立 og:image 且必须有图,≥1200px 宽,全站共用一张不通过。两条叠加,没有生成能力就只剩占位一条路——所以出图是建站流程的固定环节,不是可选美化。checklists.md 段 3「无占位红线」、段 4「每页独立 title/description/og:image 且有图」、闸门 0 图标全集与 manifest.json 引用全真实、标记经 16px 实测。og:image / twitter:image 用 PNG/JPEG,页内 <img>、JSON-LD image、image-sitemap 用 WebP。codex --help 找不到 image flag 就宣布"Codex 不能生图"。codex exec 让用户干等;或紧密轮询后台 shell。--sandbox danger-full-access 反复请示——按该机器的规则处理一次,启动行披露即可。Read 打开过就把图接进页面;或把未压缩的多 MB 原图提交进仓库。run_in_background: true 跑 codex exec——subagent park 后 harness 判定其空闲并终止,完成通知永远送不到,图生成了但没人收。必须从主线程跑 codex exec(Bash 的 run_in_background: true),主线程能正确接收完成通知;或者 subagent 内改用前台同步等待(但会占用 subagent 上下文数分钟)。2026-09-11 同一批任务因此重试三次。-o final.md 拿最终报告。exit 0,无报错,总耗时 302 s(约 5 分钟)。image_gen 工具(日志里出现 gpt-image-1.5 / gpt-image-2 字样,Codex 自报「具体模型名未公开」);本轮共调了 9 次,原图全部落在 ~/.codex/generated_images/<session-id>/exec-*.png,每张 0.7–1.5 MB。最终文件是它用 ImageMagick(magick,本机 7.1.2)后处理得到的:吉祥物 resize → -remap 锁定提示词里的四个 hex → alpha 提取;og 图轻微居中裁切缩到精确 1200×630。要没被后处理过的原图去 generated_images/ 拿。og-image.png 1200×630 RGB 757 KB,构图、光线、屏幕模糊无字全部按要求;mascot-logo.png 1024×1024 RGBA 33 KB(四色量化),真透明——57% 像素 alpha=0,alpha 极值 (0,255)。mascot-logo.png,alpha 全 255、深蓝底被烤进去了;Codex 自己又跑了两轮才在第 5 分钟做出真透明。教训两条:① final.md / 退出码出来之前别量图,中间态会误判;② 提示词里 true alpha, not a white/dark square 这句要写,它确实靠这句自检。若最终仍不透明,按「压缩与落盘」的 ImageMagick 抠底命令二次处理,不要写成功。-trim 后按目标占比 -resize 再 -extent 回 1024²。sips JPEG q82 92 KB → cwebp q82 27 KB;四色量化的透明 PNG 33 KB → WebP 反而 48 KB,已量化的扁平透明 PNG 直接用,不转 WebP。sips -Z 120 两张均可辨主体;盲评本次未做(单张无对照)。© yan-labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in imagegen of yan-labs/yan-skills.
Open the folder on GitHubat commit 8ec2915
Imagegen next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Imagegen this skillyan-labs/yan-skills | 208 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Structured Image Generationbytedance/deer-flow | 83k | 5 repos | ~2.9k | Automated safety check: Pass | MIT | |
| AI Image Generation and Editingzhayujie/CowAgent | 47k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Canghe Comicfreestylefly/canghe-skills | 461 | 8 repos | ~3.2k | Automated safety check: Pass | None | |
| Generate Imageynulihao/AgentSkillOS | 617 | 10 repos | ~1.7k | Automated safety check: Notes | None | |
| GPT Image Generation CLIwuyoscar/GPT-Image2-Skill | 5.7k | — | ~2.5k | Automated safety check: Notes | MIT |
bytedance/deer-flow
Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
freestylefly/canghe-skills
Knowledge comic creator supporting multiple art styles and tones.
ynulihao/AgentSkillOS
Generate or edit images using AI models (FLUX, Gemini). An agent skill from ynulihao/AgentSkillOS.
wuyoscar/GPT-Image2-Skill
Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.
LiamGvchi/gc-minimal-zine-poster
Creates or analyzes quiet, paper-texture zine posters with big negative space, one color accent and experimental type, returning an image prompt and the generated poster.
yan-labs/yan-skills
独立开发者的项目全生命周期管理:需求验证、选词选品、建站或做原生 App、上线接入、SEO/GEO 获客、支付变现、监控迭代与跨会话接力。以下情况使用:用户提到 rankup 或 /rankup(check、review、init;doctor 仅指整理项目 .rankup 记录);当前目录或工作区有…
yan-labs/yan-skills
A skill your agent uses for backlink work - finding, qualifying, submitting, analyzing or verifying backlinks, directory and blog-comment placements, competitor link sources, anchors, toxic links…
yan-labs/yan-skills
A skill your agent uses when a skill or slash command is missing, duplicated, not loading, or inconsistent between .agents/skills and .claude/skills; includes “skill 没生效”“检查 skill 链接” and broken…
yan-labs/yan-skills
当用户明确要求直接操作 Codex CLI 作为后台代理(自选 sandbox、codex review、apply、resume 等原生命令,或用 git worktree 并行布置多个 worker)做代码分析、编辑、审查时使用。普通的“让 Codex 或 GPT-6 写代码、调研、review”派单走 agent-fleet(fleet code);图片生成与网站视觉素材走…
yan-labs/yan-skills
A skill your agent uses when the user asks for Cloudflare's cf CLI, cf cli search, or cloudflare.config.ts to inspect resources, manage zones or DNS, attach domains, or deploy.
yan-labs/yan-skills
当用户说“autopilot”“自己搞定”“直接跑到底”,或委托代理调查、实施并验证一个宽泛任务时使用。仅规划、解释或已有明确窄范围的请求,按用户指定范围处理。
Categories
当用户要求生成图片、配图、插图、logo、吉祥物、封面、海报、og 图、favicon 源图、真人场景图,或建站时页面缺图、仍有占位图时使用。包括“画一张”“出一套图”“网站需要配图”“image gen”。本 Skill 负责提示词、生成、三道验收、压缩与落盘;只是让 Codex CLI 做代码代理任务时用 codex,普通派单走 agent-fleet,页面 SEO 与上线闸门走…. Imagegen is an agent skill from yan-labs/yan-skills.
Imagegen fits situations like: tasks that involve Image generation.
Run `npx skills add yan-labs/yan-skills --skill imagegen -a claude-code`. Or copy the skill folder (imagegen in yan-labs/yan-skills) into .claude/skills/imagegen in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yan-labs/yan-skills --skill imagegen -a codex`. Or copy the skill folder (imagegen in yan-labs/yan-skills) into .agents/skills/imagegen in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yan-labs/yan-skills --skill imagegen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/imagegen, .gemini/skills/imagegen, .github/skills/imagegen and .opencode/skills/imagegen in your project.
Going by SKILL.md and its folder, Imagegen needs the command-line tools its instructions call (codex, magick, brew and curl). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Imagegen is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Imagegen: Structured Image Generation (bytedance/deer-flow, 83k stars), AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Canghe Comic (freestylefly/canghe-skills, 461 stars) and Generate Image (ynulihao/AgentSkillOS, 617 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yan-labs (a GitHub user) maintains it in yan-labs/yan-skills, which has 208 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 4, 2026.
Source: yan-labs/yan-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.