{"slug":"yan-labs-imagegen","name":"imagegen","description":"生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。","long_description":"---\nname: imagegen\nmetadata:\n  version: \"1.0.0\"\ndescription: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。\n---\n\n# imagegen\n\n**一句话定位**：借 Codex agent 内置的图像生成能力出图；本 Skill 只管五件事——把需求翻成好提示词、把命令跑通、验收、压缩、放进项目该在的目录。\n\n图像生成**不是 CLI 子命令**（没有 `codex image`；`codex exec --image` 是把图当输入附上）。它是 Codex agent 的内置工具 `image_gen`。不要翻 `codex --help` 找 flag，找不到就下结论\"不能生图\"——这个结论是错的。描述你要的图，让 agent 自己选方法。\n\n## 启动命令\n\n```bash\nmkdir -p <outdir>                                # 先建目录，提示词里写它的绝对路径\ncat <outdir>/prompt.md | codex exec --skip-git-repo-check \\\n  --config model_reasoning_effort=\"medium\" \\\n  --sandbox danger-full-access \\\n  -C <outdir> -o <outdir>/final.md 2>/dev/null\n```\n\n| 要点 | 说明 |\n|---|---|\n| 后台跑 | `Bash` 的 `run_in_background: true`，两张图约 2–3 分钟，成套图更久；等完成通知，不要轮询 |\n| `--sandbox danger-full-access` | 生图要走网络。这个 flag 是否需要确认取决于当前机器的授权设置：有常设授权就直接跑，没有就按该机器的规则确认一次；无论哪种，启动那一行都要说明用了哪个 sandbox |\n| `-o <outdir>/final.md` | 最终报告写进文件，从这里读路径与方法；stdout 是进度噪音，别去解析 |\n| `2>/dev/null` | 压掉 stderr 的思考流；调试 Codex 本身时才拿掉 |\n| effort | `medium` 够用，这不是推理任务 |\n| 不传 `-m` | 用 `~/.codex/config.toml` 的默认模型，用户点名才覆盖 |\n| 原图在哪 | Codex 每次 `image_gen` 的原始输出都落在 `~/.codex/generated_images/<session-id>/exec-*.png`（0.7–1.5 MB/张）；输出目录里的是它后处理过的版本，要原图去那里取 |\n\n`codex --version` 失败或启动就退出：先 `codex doctor`，如实报告，不要盲目重试。\n\n## 提示词怎么写\n\n一份 `prompt.md` 必含六样，缺一样就会出一类问题：\n\n1. **输出目录绝对路径**（已 `mkdir -p`）。\n2. **逐张编号**：精确文件名 + 具体描述 + 像素尺寸/比例。\n3. **共享风格块**：画风、背景、**hex 调色板**、光线、镜头——一套图靠它保持一致。\n4. **`No text, no letters, no logos, no watermarks.`** 生成的字几乎必花，非英文界面更是错字；文字后期用 HTML/CSS 叠。\n5. **逃生口**：`If you genuinely cannot generate images, say so plainly. Do not substitute placeholders, ASCII art, solid rectangles, or images downloaded from the web.`\n6. **回报要求**：每个文件的绝对路径、实际像素、字节数、有无 alpha、所用方法（哪个工具/模型、有无本地后处理）。\n\n透明图务必写 `true alpha, not a white/dark square`——实测 Codex 靠这句自检，第一版烤了底色又自己返工。\n\n再加一条常用兜底：`If the exact size is unsupported, generate the nearest aspect and resize locally (sips / PIL) to the exact pixels; keep alpha for transparent items.`\n\n### 完整示例（吉祥物 + og:image 两张一套）\n\n```markdown\nGenerate two images with your built-in image generation tool and save them to:\n<outdir absolute path>/\n\nShared style: palette #2563EB (primary) #F59E0B (accent) #0F172A (ink) #F8FAFC (paper).\nNo text, no letters, no logos, no watermarks anywhere.\n\n1. `mascot-logo.png` — 1024x1024, transparent background PNG (true alpha, not a white square).\n   A friendly round owl holding a tiny wrench. Flat vector style, bold clean shapes,\n   2-3 flat tones per element, no gradients, no drop shadows. Occupies 75-80% of the\n   frame, centered, props included in that measure.\n\n2. `og-image.png` — 1200x630 (1.91:1), opaque. Photorealistic editorial photo: a person\n   in their late twenties at a wooden desk in front of a laptop, soft window light from\n   the left, shallow depth of field, calm home office, mug and small plant. Eye-level,\n   subject on the left so the right third is clean negative space. Laptop screen is a\n   soft blurred blue-white glow, nothing readable.\n\nRules: if you genuinely cannot generate images, say so plainly — no placeholders, ASCII\nart, solid rectangles, or web downloads. If the exact size is unsupported, generate the\nnearest aspect and resize locally (sips / PIL); keep alpha for the mascot.\nReport per file: absolute path, actual pixels, bytes, alpha yes/no, method used.\n```\n\n## 按用途的模板\n\n| 用途 | 尺寸 / 格式 | 风格块要点 | 必写约束 |\n|---|---|---|---|\n| **logo / favicon 源图** | 1024×1024 透明 PNG；后续 `sips -Z` 缩出 512/192/180/32/16 | flat vector, bold silhouette, 2–3 tones, no gradients | 主体占 75–80%；**16px 下还认得出**（单一形状，不靠细节）；不要文字 |\n| **吉祥物** | 1024×1024 透明 PNG；成套则同一提示词多姿势 | 同上 + 头身比、眼径÷头宽等数字化特征 | 物种、道具（只准一个）、配色全部写死；道具不计入占比 |\n| **og:image / 分享图** | **1200×630**，不透明；每页一张独立 | 主体偏一侧，另一侧留干净负空间（标题后期叠） | 缩到 120px 仍看得出主体；不要文字；**不得全站共用** |\n| **内页配图** | 1600×900 或 4:3；JPEG/WebP | 与站点调色板一致；同一站同一画风 | 与该页目标词语义相关（写出场景，不写关键词） |\n| **用户场景 / 真人图** | 1600×1067（3:2）或 1200×630 | photorealistic editorial, natural window light, shallow DoF, 35–50mm 视角 | 写年龄段、动作、环境、光向、构图；屏幕内容\"模糊发光，无可读文字\"；不写真人姓名 |\n| **手绘 / 蜡笔 / 水彩插画** | 1600×1200 或方图；带纸纹则不透明 | crayon on textured paper / loose watercolor, visible strokes, limited palette | 写纸色与颗粒感；线条粗细；留白比例 |\n| **海报 / 电影感画面** | 2:3（1000×1500）竖 或 21:9 横 | cinematic, anamorphic, volumetric light, color grade 写成 hex 两色 | 文字区留空；主体位置写清（三分法哪一格） |\n\n尺寸比例写清，模型给不了精确像素时靠本地缩放，见「压缩与落盘」。\n\n## 一套图的一致性\n\n- **一个提示词文件出一套**，共享风格块放最上面，逐张只写差异；分批跑时把同一段风格块原样复制。\n- 调色板用 **hex 写死**，不写\"蓝色系\"；同一套里角色比例、线宽、纸纹也写成数字。\n- 形容词见顶（\"再日式一点\"）就改用可测量参数：头身比、眼径÷头宽、线宽÷图宽、HSV 饱和度区间、留白占比。把参考组和产出用同一段脚本量一遍，出「参数 | 参考区间 | 我们的值 | 判定」表，感觉才能变成可逐条修的清单。\n- 可以默认用目标语言写提示词（n=3 盲评倾向目标语言，但未达显著），真正确定有效的是把视觉约束写成数字。\n\n## 验收：三道检查，缺一道漏一类问题\n\n出处：`codex/SKILL.md`「一套图的验收」，2026-08-22 一次 16 张角色图的实录，三道各自抓到了不同缺陷。\n\n**先用 `Read` 逐张打开看过**，再谈下面三道；没看过的图不准接进页面。\n\n1. **接触印相**（抓构图失衡）：全部缩到 120px 横向拼一张——这就是结果页/分享卡的真实尺寸。全尺寸下漂亮、缩略图只剩一把椅子的图，只有这一步能暴露。\n   `sips -Z 120 in.png --out thumbs/in.png`\n2. **alpha 包围盒占比**（把\"够不够大\"变成数字）：\n   ```python\n   from PIL import Image\n   im = Image.open(f).convert('RGBA'); bb = im.getchannel('A').getbbox()\n   frac = (bb[2]-bb[0])*(bb[3]-bb[1]) / (im.width*im.height)   # 目标 0.75–0.80\n   ```\n   实测一组六张 41%–66%，没有一张达标且相差 1.6 倍，并排看只觉得\"有点乱\"。提示词里除了写占比还要写明**道具不计入**。\n3. **独立盲评**（抓风格与规则遵从，最容易被省掉）：成对结果打乱成 `pairN-A/B`，对照表放项目目录之外，派一个没参与生成的 agent 评，明说「看不出差别」可接受。非盲判断曾被盲评整组反转，机制是多出来的道具。\n\n## 参考图 / mood board\n\n风格不受版权保护，喂参考图是设计行业的常规做法。**控制点在输出端，不在输入端**：\n\n1. 参考图用**一组**（10 张以上不同来源拼 mood board），不用单张——单张最容易长得像原图。\n2. 参考图只传质感（线条、上色、头身比），**主体由我们写死**：物种、道具、姿势、配色。\n3. 出图后与参考组并排做相似性检查：\"这张会被认成某个已有角色吗\"——像了就改主体特征重生成，不改风格。\n4. 提示词里**不点名受版权保护的角色或\"in the style of X\"**：参考图已把信息传到，点名只加风险不加效果。\n\n## 压缩与落盘\n\n原图约 1 MB/张 PNG，**不压缩不许进仓库**。\n\n```bash\nsips -s format jpeg -s formatOptions 82 in.png --out out.jpg   # 不透明图：JPEG，4 MB 一套压到 1 MB 内\ncwebp -q 82 in.png -o out.webp                                  # 页内用 WebP（透明也保留）\ncwebp -q 82 -alpha_q 100 mascot.png -o mascot.webp              # 透明主体，alpha 无损\nsips -Z 512 logo.png --out icon-512.png                         # 等比缩最长边\nsips -z 630 1200 og.png --out og.png                            # 精确到像素（先高后宽）\n```\n\n透明没做出来、或主体占比不达标时，用 ImageMagick 二次处理（先 `which magick`，没有就 `brew install imagemagick`）：\n\n```bash\nmagick in.png -fuzz 8% -transparent '#0F172A' out.png          # 纯色底抠透明（换成实际底色 hex）\nmagick in.png -trim +repage -resize 800x800 -gravity center \\\n  -background none -extent 1024x1024 out.png                    # 裁掉空边，主体缩到约 78% 再居中回 1024²\nmagick out.png -format 'alpha_min=%[fx:minima.a] colors=%k\\n' info:   # alpha_min 必须是 0 才算真透明\n```\n\n| 素材 | 保留格式 | 放哪（示例路径） |\n|---|---|---|\n| logo / 图标集 | 透明 PNG 源 + SVG（如有）；导出 512/192/180/32/16 | `<project>/public/brand/`，`manifest.json` 逐个真实引用 |\n| og:image | **PNG 或 JPEG**（WhatsApp/FB 预览爬虫对 WebP 不稳；`rankup/references/seo-growth.md` 2026-07-18） | `<project>/public/og/<page-slug>.png`，一页一张 |\n| 页内配图 / 场景图 | WebP（同图 175 KB→56 KB），`<img>` 写真实 width/height | `<project>/public/images/<section>/` |\n| 原始生成物与 prompt.md | 原样留档，不进 `public/` | `<project>/design/imagegen/<batch>/` |\n\n- 多文件循环、等待轮询一律用 `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 最稳。\n- 亮底插画进深色主题要压暗：`filter: brightness(.84) saturate(.92)`。\n- 页面接线后 `curl -I` 每张图 200；仓库结构迁移后 favicon/og 静默 404 是踩过的坑。\n\n## 与 rankup 的关系\n\n- `rankup/SKILL.md` 段 3（建站）硬规则和「一句话落到哪一段」表都指到 `/imagegen`：网站需要任何视觉素材就来这里真实生成。\n- 段 3 红线：**任何页面不得出现占位图**（灰块、`placeholder`、模板示例图），Google 据此判垃圾站、整站连坐；段 4 硬规则：**每页独立 og:image 且必须有图，≥1200px 宽，全站共用一张不通过**。两条叠加，没有生成能力就只剩占位一条路——所以出图是建站流程的固定环节，不是可选美化。\n- 图做完回 rankup 走闸门：`checklists.md` 段 3「无占位红线」、段 4「每页独立 title/description/og:image 且有图」、闸门 0 图标全集与 `manifest.json` 引用全真实、标记经 16px 实测。\n- og 双格式：`og:image` / `twitter:image` 用 PNG/JPEG，页内 `<img>`、JSON-LD `image`、image-sitemap 用 WebP。\n\n## 反模式\n\n- 翻 `codex --help` 找不到 image flag 就宣布\"Codex 不能生图\"。\n- 前台跑 `codex exec` 让用户干等；或紧密轮询后台 shell。\n- 有常设授权的机器上还为 `--sandbox danger-full-access` 反复请示——按该机器的规则处理一次，启动行披露即可。\n- 提示词里让模型画文字、标语、品牌名。\n- 没用 `Read` 打开过就把图接进页面；或把未压缩的多 MB 原图提交进仓库。\n- 一页一图全站共用同一张 og:image；或先塞一张灰块\"以后再换\"。\n- 用单张他人作品做参考并在提示词里点名角色。\n- 只做一两道验收就往下走；非盲判断直接写进结论。\n- 为\"省配额\"缩小批量或不敢重生成——先看当前账号的计划；额度充足时第一版差一点就再跑，不要拿猜测的配额限制自己。\n\n## 已验证（2026-09-02，codex-cli 0.149.0）\n\n- **链路**：两张图一套（1024² 透明吉祥物 + 1200×630 真人场景 og:image），命令即上文模板，`-o final.md` 拿最终报告。exit 0，无报错，**总耗时 302 s**（约 5 分钟）。\n- **Codex 用的方法**：内置 `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/` 拿。\n- **结果**：`og-image.png` 1200×630 RGB 757 KB，构图、光线、屏幕模糊无字全部按要求；`mascot-logo.png` 1024×1024 RGBA 33 KB（四色量化），**真透明**——57% 像素 alpha=0，alpha 极值 (0,255)。\n- **透明背景有一段弯路**：跑到约 3.5 分钟时目录里已有一版 `mascot-logo.png`，alpha 全 255、深蓝底被烤进去了；Codex 自己又跑了两轮才在第 5 分钟做出真透明。教训两条：① **`final.md` / 退出码出来之前别量图**，中间态会误判；② 提示词里 `true alpha, not a white/dark square` 这句要写，它确实靠这句自检。若最终仍不透明，按「压缩与落盘」的 ImageMagick 抠底命令二次处理，不要写成功。\n- **没达标的一项**：吉祥物 alpha 包围盒占比 **0.62**，提示词写了 75–80% 仍不够（与 2026-08-22 那批 41%–66% 同一现象）。修法在「压缩与落盘」：`-trim` 后按目标占比 `-resize` 再 `-extent` 回 1024²。\n- **压缩实测**：og PNG 757 KB → `sips` JPEG q82 **92 KB** → `cwebp` q82 **27 KB**；四色量化的透明 PNG 33 KB → WebP 反而 48 KB，**已量化的扁平透明 PNG 直接用，不转 WebP**。\n- 接触印相 `sips -Z 120` 两张均可辨主体；盲评本次未做（单张无对照）。\n","tagline":"生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 S","category":"design-creative","tags":["agent-skill"],"author":"yan-labs","verified":false,"attribution":{"status":"registry_indexed","statusLabel":"Registry indexed","shortLabel":"REGISTRY INDEXED","sourceLabel":"recursive skill source sync","sourceDetail":"yan-labs/yan-skills","creatorName":"yan-labs","creatorUrl":"https://github.com/yan-labs","sourceUrl":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","indexedBy":"OpenAgentSkill community index","claimUrl":"https://www.openagentskill.com/skills/yan-labs-imagegen#claim-this-skill","claimCta":"Claim this skill","trustNote":"This listing was indexed from public sources and is not marked official until a maintainer claim is approved.","publicNote":"Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals."},"stats":{"stars":177,"forks":78,"verified_installs":0,"successful_runs":0,"total_outcomes":0,"rating":0,"review_count":0,"quality_score":39.15},"quality":{"score":69,"tier":"promising","label":"Promising","summary":"Useful candidate, but compare it with alternatives before adopting.","signals":[{"label":"GitHub stars","value":"177","tone":"neutral"},{"label":"Freshness","value":"1d ago","tone":"positive"},{"label":"Install ready","value":"Yes","tone":"positive"},{"label":"License","value":"MIT","tone":"neutral"}],"warnings":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments."]},"trust":{"version":"trust-score-v5","score":66,"base_score":74,"outcome_confidence":0,"tier":"review","label":"Sandbox only","summary":"Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.","recommendedAction":"Run only in a sandbox and compare close alternatives before using it for real work.","decision":{"install_policy":"human_review_before_install","auto_install_allowed":false,"human_review_required":true,"sandbox_first":true,"agent_action":"Compare alternatives before installing.","reasoning":["66/100 Trust Score v5","74/100 Trust Score v4 baseline","Needs more real agent outcomes before unattended install","Install path is available","Review before production"],"review_required_when":["The workspace contains production secrets, payments, private customer data, or irreversible actions.","The install command requests shell, network, credential, database, or broad filesystem access.","Outcome evidence is missing, recently failed, or required human review.","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"]},"dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":62,"weight":0.13,"status":"info","detail":"177 GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":62,"weight":0.08,"status":"info","detail":"177 stars, 78 forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"1d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":86,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":72,"weight":0.12,"status":"info","detail":"command execution surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add yan-labs/yan-skills --skill imagegen"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":62,"weight":0.07,"status":"info","detail":"shell or command execution, filesystem or document access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/yan-labs/yan-skills/tree/main/imagegen"},{"id":"review_status","label":"Review status","score":66,"weight":0.05,"status":"info","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":54,"weight":0.13,"status":"info","detail":"No agent outcome data yet"}],"checks":[{"status":"info","label":"GitHub adoption","detail":"177 GitHub stars"},{"status":"info","label":"Stars/forks activity","detail":"177 stars, 78 forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"1d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"info","label":"Dependency/runtime risk","detail":"command execution surface"},{"status":"pass","label":"Install availability","detail":"npx skills add yan-labs/yan-skills --skill imagegen"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"info","label":"Permission surface","detail":"shell or command execution, filesystem or document access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/yan-labs/yan-skills/tree/main/imagegen"},{"status":"info","label":"Review status","detail":"AI review data available"},{"status":"info","label":"Agent Proven outcomes","detail":"No agent outcome data yet"},{"status":"warn","label":"Ownership","detail":"No approved owner claim yet"},{"status":"info","label":"OpenAgentSkill usage","detail":"No local usage activity yet"},{"status":"info","label":"Agent outcomes","detail":"No agent outcome data yet"}],"strengths":["AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Install command has no obvious high-risk pattern","Outcome loop is ready but needs first real agent run"],"warnings":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review","No real agent outcome reports yet","Human review required before unattended installation"],"evidence":{"stars":"177 GitHub stars","repoActivity":"177 stars, 78 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","install":"npx skills add yan-labs/yan-skills --skill imagegen","installSafety":"standard package or runtime install path","permissionSurface":"shell or command execution, filesystem or document access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet","agentProvenScore":0,"outcomeConfidence":"0%","installPolicy":"human_review_before_install"},"installReadiness":{"ready":true,"command":"npx skills add yan-labs/yan-skills --skill imagegen","policy":"human_review_before_install","label":"Human review before install","notes":["Install path is available","Repository evidence is available","License is declared","No Agent Proven outcome evidence yet","1d since push","Trust Score v5 requires review or sandbox-only use before install."]},"agentCompatibility":["Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"outcomeEvidence":{"total":0,"successes":0,"failures":0,"notRelevant":0,"successRate":null,"installAttempts":0,"riskBlocked":0,"setupRequired":0,"installSuccessRate":null,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":null,"recentFailureRate":null,"uniqueAgents":0,"agentProvenScore":0,"agentProvenLabel":"Needs first agent run","lastOutcomeAt":null,"label":"No agent outcome data yet"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"human_review_before_install","reason":"Compare alternatives before installing."},"outcome_loop":{"version":"openagentskill-agent-outcome-v4","required_after_install":true,"endpoint":"/api/agent/outcome","method":"POST","event_id_source":"feedback.event_id, install_receipt.resolve_event_id, or decision_packet.outcome_feedback.event_id","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"required_fields":["event_id","skill_slug","task"],"quality_fields":["task_success","output_quality","error_type","human_review_required","used_in_production","workspace","evidence_url","time_to_useful_ms","source_version"],"ranking_inputs_updated":["Trust Score v5 outcome confidence","Agent Proven Score","Resolve ranking task-fit evidence","Skill detail machine-readable metadata","Outcome leaderboard"]},"agent_contract":{"suited_tasks":["design-creative","agent-skill"],"suited_agents":["Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"install_command":"npx skills add yan-labs/yan-skills --skill imagegen","trust_score":66,"trust_version":"trust-score-v5","risk_level":"medium","do_not_use_when":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"before_install":["Read the audit page and machine-readable metadata.","Confirm the install command, license, and permission surface fit the workspace.","Get explicit human approval or choose an alternative before installing."],"after_run":["Report the outcome to /api/agent/outcome using the resolve event id.","Include output_quality, workspace, human_review_required, and evidence_url when available.","Re-resolve before broad production rollout."]},"bestFor":["design-creative","agent-skill"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"knownRisks":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"],"backward_compatible":{"trust_score_v4":{"version":"trust-score-v4","score":74,"tier":"strong","label":"Strong shortlist","summary":"Good trust signals with a few areas worth checking before rollout."}}},"trust_score_v5":{"version":"trust-score-v5","score":66,"base_score":74,"outcome_confidence":0,"tier":"review","label":"Sandbox only","summary":"Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.","recommendedAction":"Run only in a sandbox and compare close alternatives before using it for real work.","decision":{"install_policy":"human_review_before_install","auto_install_allowed":false,"human_review_required":true,"sandbox_first":true,"agent_action":"Compare alternatives before installing.","reasoning":["66/100 Trust Score v5","74/100 Trust Score v4 baseline","Needs more real agent outcomes before unattended install","Install path is available","Review before production"],"review_required_when":["The workspace contains production secrets, payments, private customer data, or irreversible actions.","The install command requests shell, network, credential, database, or broad filesystem access.","Outcome evidence is missing, recently failed, or required human review.","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"]},"dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":62,"weight":0.13,"status":"info","detail":"177 GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":62,"weight":0.08,"status":"info","detail":"177 stars, 78 forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"1d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":86,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":72,"weight":0.12,"status":"info","detail":"command execution surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add yan-labs/yan-skills --skill imagegen"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":62,"weight":0.07,"status":"info","detail":"shell or command execution, filesystem or document access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/yan-labs/yan-skills/tree/main/imagegen"},{"id":"review_status","label":"Review status","score":66,"weight":0.05,"status":"info","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":54,"weight":0.13,"status":"info","detail":"No agent outcome data yet"}],"checks":[{"status":"info","label":"GitHub adoption","detail":"177 GitHub stars"},{"status":"info","label":"Stars/forks activity","detail":"177 stars, 78 forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"1d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"info","label":"Dependency/runtime risk","detail":"command execution surface"},{"status":"pass","label":"Install availability","detail":"npx skills add yan-labs/yan-skills --skill imagegen"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"info","label":"Permission surface","detail":"shell or command execution, filesystem or document access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/yan-labs/yan-skills/tree/main/imagegen"},{"status":"info","label":"Review status","detail":"AI review data available"},{"status":"info","label":"Agent Proven outcomes","detail":"No agent outcome data yet"},{"status":"warn","label":"Ownership","detail":"No approved owner claim yet"},{"status":"info","label":"OpenAgentSkill usage","detail":"No local usage activity yet"},{"status":"info","label":"Agent outcomes","detail":"No agent outcome data yet"}],"strengths":["AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Install command has no obvious high-risk pattern","Outcome loop is ready but needs first real agent run"],"warnings":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review","No real agent outcome reports yet","Human review required before unattended installation"],"evidence":{"stars":"177 GitHub stars","repoActivity":"177 stars, 78 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","install":"npx skills add yan-labs/yan-skills --skill imagegen","installSafety":"standard package or runtime install path","permissionSurface":"shell or command execution, filesystem or document access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet","agentProvenScore":0,"outcomeConfidence":"0%","installPolicy":"human_review_before_install"},"installReadiness":{"ready":true,"command":"npx skills add yan-labs/yan-skills --skill imagegen","policy":"human_review_before_install","label":"Human review before install","notes":["Install path is available","Repository evidence is available","License is declared","No Agent Proven outcome evidence yet","1d since push","Trust Score v5 requires review or sandbox-only use before install."]},"agentCompatibility":["Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"outcomeEvidence":{"total":0,"successes":0,"failures":0,"notRelevant":0,"successRate":null,"installAttempts":0,"riskBlocked":0,"setupRequired":0,"installSuccessRate":null,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":null,"recentFailureRate":null,"uniqueAgents":0,"agentProvenScore":0,"agentProvenLabel":"Needs first agent run","lastOutcomeAt":null,"label":"No agent outcome data yet"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"human_review_before_install","reason":"Compare alternatives before installing."},"outcome_loop":{"version":"openagentskill-agent-outcome-v4","required_after_install":true,"endpoint":"/api/agent/outcome","method":"POST","event_id_source":"feedback.event_id, install_receipt.resolve_event_id, or decision_packet.outcome_feedback.event_id","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"required_fields":["event_id","skill_slug","task"],"quality_fields":["task_success","output_quality","error_type","human_review_required","used_in_production","workspace","evidence_url","time_to_useful_ms","source_version"],"ranking_inputs_updated":["Trust Score v5 outcome confidence","Agent Proven Score","Resolve ranking task-fit evidence","Skill detail machine-readable metadata","Outcome leaderboard"]},"agent_contract":{"suited_tasks":["design-creative","agent-skill"],"suited_agents":["Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"install_command":"npx skills add yan-labs/yan-skills --skill imagegen","trust_score":66,"trust_version":"trust-score-v5","risk_level":"medium","do_not_use_when":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"before_install":["Read the audit page and machine-readable metadata.","Confirm the install command, license, and permission surface fit the workspace.","Get explicit human approval or choose an alternative before installing."],"after_run":["Report the outcome to /api/agent/outcome using the resolve event id.","Include output_quality, workspace, human_review_required, and evidence_url when available.","Re-resolve before broad production rollout."]},"bestFor":["design-creative","agent-skill"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"knownRisks":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"],"backward_compatible":{"trust_score_v4":{"version":"trust-score-v4","score":74,"tier":"strong","label":"Strong shortlist","summary":"Good trust signals with a few areas worth checking before rollout."}}},"trust_score_v4":{"version":"trust-score-v4","score":74,"tier":"strong","label":"Strong shortlist","summary":"Good trust signals with a few areas worth checking before rollout.","recommendedAction":"Test in a sandbox workflow and compare its install path with close alternatives.","dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":62,"weight":0.13,"status":"info","detail":"177 GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":62,"weight":0.08,"status":"info","detail":"177 stars, 78 forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"1d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":86,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":72,"weight":0.12,"status":"info","detail":"command execution surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add yan-labs/yan-skills --skill imagegen"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":62,"weight":0.07,"status":"info","detail":"shell or command execution, filesystem or document access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/yan-labs/yan-skills/tree/main/imagegen"},{"id":"review_status","label":"Review status","score":66,"weight":0.05,"status":"info","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":54,"weight":0.13,"status":"info","detail":"No agent outcome data yet"}],"checks":[{"status":"info","label":"GitHub adoption","detail":"177 GitHub stars"},{"status":"info","label":"Stars/forks activity","detail":"177 stars, 78 forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"1d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"info","label":"Dependency/runtime risk","detail":"command execution surface"},{"status":"pass","label":"Install availability","detail":"npx skills add yan-labs/yan-skills --skill imagegen"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"info","label":"Permission surface","detail":"shell or command execution, filesystem or document access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/yan-labs/yan-skills/tree/main/imagegen"},{"status":"info","label":"Review status","detail":"AI review data available"},{"status":"info","label":"Agent Proven outcomes","detail":"No agent outcome data yet"},{"status":"warn","label":"Ownership","detail":"No approved owner claim yet"},{"status":"info","label":"OpenAgentSkill usage","detail":"No local usage activity yet"},{"status":"info","label":"Agent outcomes","detail":"No agent outcome data yet"}],"strengths":["AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Install command has no obvious high-risk pattern"],"warnings":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"],"evidence":{"stars":"177 GitHub stars","repoActivity":"177 stars, 78 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","install":"npx skills add yan-labs/yan-skills --skill imagegen","installSafety":"standard package or runtime install path","permissionSurface":"shell or command execution, filesystem or document access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet"},"installReadiness":{"ready":true,"command":"npx skills add yan-labs/yan-skills --skill imagegen","policy":"human_review_before_install","label":"Human review before install","notes":["Install path is available","Repository evidence is available","License is declared","No Agent Proven outcome evidence yet","1d since push"]},"agentCompatibility":["Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"outcomeEvidence":{"total":0,"successes":0,"failures":0,"notRelevant":0,"successRate":null,"installAttempts":0,"riskBlocked":0,"setupRequired":0,"installSuccessRate":null,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":null,"recentFailureRate":null,"uniqueAgents":0,"agentProvenScore":0,"agentProvenLabel":"Needs first agent run","lastOutcomeAt":null,"label":"No agent outcome data yet"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"human_review_before_install","reason":"Human review or sandbox validation is required before automatic installation."},"bestFor":["design-creative","agent-skill"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"knownRisks":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"agent_proven":{"version":"agent-proven-v1","score":0,"tier":"unproven","label":"Needs first agent run","summary":"No agent outcome reports yet. Use Resolve, run one narrow sandbox task, then report the result.","metrics":{"totalOutcomes":0,"successfulOutcomes":0,"failedOutcomes":0,"installAttempts":0,"installSuccessRate":null,"successRate":null,"recentSuccessRate":null,"recentFailureRate":null,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":0,"lastOutcomeAt":null},"signals":[],"penalties":["No real agent outcome evidence yet"]},"outcome_stats":null,"safety":{"score":51,"level":"avoid_auto_install","label":"Avoid automatic install","safety_tier":{"tier":"experimental","label":"Experimental","badge":"EXPERIMENTAL","summary":"Sparse or mixed signals. Useful for discovery, but not for autonomous installation.","recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","auto_install_policy":"review","reasons":["High-risk permission hints: Shell or command execution","51/100 agent safety score"]},"auto_install_allowed":false,"human_review_required":true,"blocked":false,"audit_risk":"needs_review","permission_hints":[{"id":"shell","label":"Shell or command execution","reason":"Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.","severity":"high"},{"id":"network","label":"Network access","reason":"Skill likely fetches remote pages, APIs, repositories, or external services.","severity":"medium"},{"id":"filesystem","label":"Filesystem access","reason":"Skill may read or write project files, documents, generated artifacts, or local workspace state.","severity":"medium"}],"policy_warnings":["High-risk permission hints: Shell or command execution","The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments."],"constraints_applied":{"max_risk":"medium","needs_install_command":true,"min_stars":0}},"safety_gate":{"tier":"experimental","label":"Experimental","badge":"EXPERIMENTAL","auto_install_policy":"review","auto_install_allowed":false,"blocked":false,"human_review_required":true,"recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","reasons":["High-risk permission hints: Shell or command execution","51/100 agent safety score"]},"eval":{"version":"openagentskill-skill-eval-v1","status":"review","score":70,"risk_level":"medium","decision":{"recommendation":"manual_review","reason":"Test manually in an isolated workspace and compare against safer alternatives.","auto_install_allowed":false,"policy":"review","human_review_required":true},"blockers":[],"warnings":["Trust score: Good trust signals with a few areas worth checking before rollout.","Audit score: Needs review","Agent safety gate: Sparse or mixed signals. Useful for discovery, but not for autonomous installation.","Permission surface: shell or command execution, filesystem or document access","High-risk permission hints: Shell or command execution","The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"],"validation_plan":["Inspect repository, README/SKILL.md, license, and recent commits before production use.","Install in an isolated workspace or sandbox with no production secrets available.","Run the smallest representative task and record files touched, commands run, network access, and outputs.","Compare the selected skill against at least one alternative when the eval status is review or failed.","Promote only after the agent reports a successful verification result and unresolved warnings are accepted."],"checks":[{"id":"task_fit","label":"Task fit","status":"pass","score":84,"required_for_auto_install":true,"detail":"Task wording matches this skill metadata.","evidence":["Evaluate imagegen before installing it in an agent workflow","design-creative","Design and creative workflows; Claude Code teams; builders willing to evaluate younger projects"]},{"id":"install_path","label":"Install path","status":"pass","score":92,"required_for_auto_install":true,"detail":"Install handoff is available.","evidence":["npx skills add yan-labs/yan-skills --skill imagegen"]},{"id":"install_safety","label":"Install command safety","status":"pass","score":92,"required_for_auto_install":true,"detail":"standard package or runtime install path","evidence":["npx skills add yan-labs/yan-skills --skill imagegen"]},{"id":"trust_score","label":"Trust score","status":"warn","score":74,"required_for_auto_install":true,"detail":"Good trust signals with a few areas worth checking before rollout.","evidence":["Strong shortlist","177 GitHub stars","MIT"]},{"id":"audit_score","label":"Audit score","status":"warn","score":79,"required_for_auto_install":true,"detail":"Needs review","evidence":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments."]},{"id":"agent_safety_gate","label":"Agent safety gate","status":"warn","score":51,"required_for_auto_install":true,"detail":"Sparse or mixed signals. Useful for discovery, but not for autonomous installation.","evidence":["Test manually in an isolated workspace and compare against safer alternatives.","High-risk permission hints: Shell or command execution"]},{"id":"readme_skillmd_completeness","label":"README/SKILL.md completeness","status":"pass","score":86,"required_for_auto_install":false,"detail":"Metadata includes enough usage and workflow context","evidence":["Strong README/SKILL.md context"]},{"id":"license_clarity","label":"License clarity","status":"pass","score":86,"required_for_auto_install":true,"detail":"MIT","evidence":["MIT"]},{"id":"recent_maintenance","label":"Recent maintenance","status":"pass","score":100,"required_for_auto_install":false,"detail":"1d since push","evidence":["1d since push"]},{"id":"permission_surface","label":"Permission surface","status":"warn","score":62,"required_for_auto_install":true,"detail":"shell or command execution, filesystem or document access","evidence":["Shell or command execution: high","Network access: medium","Filesystem access: medium"]},{"id":"alternatives","label":"Alternatives available","status":"info","score":55,"required_for_auto_install":false,"detail":"No close alternatives were found in the current shortlist.","evidence":[]}],"endpoints":{"web":"https://www.openagentskill.com/skills/yan-labs-imagegen/evals","api":"/api/agent/evals?slug=yan-labs-imagegen","text":"/api/agent/evals?slug=yan-labs-imagegen&format=text"}},"agent_readable_metadata":{"version":"openagentskill-agent-metadata-v2","skill":{"slug":"yan-labs-imagegen","name":"imagegen","description":"生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。","category":"design-creative","url":"https://www.openagentskill.com/skills/yan-labs-imagegen","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","github_repo":"yan-labs/yan-skills"},"suited_tasks":["Design and creative workflows","Claude Code teams","builders willing to evaluate younger projects","Inspect visual requirements","Generate reusable assets","Package output for review","Navigate local resources","Run repeatable desktop actions"],"suited_agents":["Codex","Claude Code","Cursor","OpenAgentSkill CLI","OpenAI Agents","CLI"],"install":{"command":"npx skills add yan-labs/yan-skills --skill imagegen","ready":true,"targets":[{"id":"openagentskill-cli","label":"CLI","kind":"command","value":"npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.3.0/openagentskill-0.3.0.tgz add yan-labs-imagegen"},{"id":"codex","label":"Codex","kind":"agent-prompt","value":"Install the \"imagegen\" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"codex\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"claude-code","label":"Claude Code","kind":"agent-prompt","value":"Add \"imagegen\" as a Claude Code skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"claude-code\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"cursor","label":"Cursor","kind":"agent-prompt","value":"Turn \"imagegen\" from https://github.com/yan-labs/yan-skills/tree/main/imagegen into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"cursor\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."}],"handoff_url":"https://www.openagentskill.com/api/skills/yan-labs-imagegen/install","manifest_url":"https://www.openagentskill.com/api/registry/manifest/yan-labs-imagegen"},"trust":{"score":74,"label":"Strong shortlist","version":"trust-score-v4","install_policy":"human_review_before_install","evidence":{"stars":"177 GitHub stars","repoActivity":"177 stars, 78 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","install":"npx skills add yan-labs/yan-skills --skill imagegen","installSafety":"standard package or runtime install path","permissionSurface":"shell or command execution, filesystem or document access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet"},"outcome_evidence":{"total":0,"successes":0,"failures":0,"not_relevant":0,"success_rate":null,"recent_success_rate":null,"recent_failure_rate":null,"install_attempts":0,"install_success_rate":null,"risk_blocked":0,"setup_required":0,"avg_output_quality":null,"production_outcomes":0,"last_outcome_at":null,"label":"No agent outcome data yet"},"auto_install":{"allowed":false,"sandbox_required":true,"reason":"Human review or sandbox validation is required before automatic installation."},"best_for":["design-creative","agent-skill"],"known_risks":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"agent_proven":{"version":"agent-proven-v1","score":0,"tier":"unproven","label":"Needs first agent run","summary":"No agent outcome reports yet. Use Resolve, run one narrow sandbox task, then report the result.","metrics":{"totalOutcomes":0,"successfulOutcomes":0,"failedOutcomes":0,"installAttempts":0,"installSuccessRate":null,"successRate":null,"recentSuccessRate":null,"recentFailureRate":null,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":0,"lastOutcomeAt":null},"signals":[],"penalties":["No real agent outcome evidence yet"]},"audit":{"score":79,"risk_level":"needs_review","risk_label":"Needs review","warnings":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"safety_gate":{"tier":"experimental","label":"Experimental","auto_install_policy":"review","auto_install_allowed":false,"human_review_required":true,"blocked":false,"recommended_action":"Test manually in an isolated workspace and compare against safer alternatives."},"quality":{"score":69,"label":"Promising"},"supply":{"track":"Design and creative production","scenario":"Design and creative","maintenance":"1d since push","risk":"Needs review"},"alternative_skills":[],"do_not_use_when":["teams that need a vendor-supported SLA","production agents without a repository review","The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","No OpenAgentSkill engagement data yet","High-risk permission hints: Shell or command execution","Quality score needs review","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"],"agent_contract":{"task_input":"Use imagegen in an agent workflow","recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","install_policy":"review","minimum_review_before_use":["Trust: 74/100 Strong shortlist","Audit: 79/100 Needs review","Safety: 51/100 Avoid automatic install","Review repository, license, install command, and permission surface before production use."],"expected_agent_output":{"selected_skill":"yan-labs-imagegen (imagegen)","install_command":"npx skills add yan-labs/yan-skills --skill imagegen","risk_summary":"Needs review; Experimental; Review before production","verification_result":"Report the smallest successful task, files touched, warnings, and any missing setup."}},"outcome_feedback":{"endpoint":"https://www.openagentskill.com/api/agent/outcome","method":"POST","requires_resolve_event_id":true,"event_id_source":"Use install_receipt.outcome_feedback.event_id or feedback.event_id returned by /api/agent/resolve for the current task.","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"payload_template":{"event_id":"<install_receipt.outcome_feedback.event_id or feedback.event_id from /api/agent/resolve>","skill_slug":"yan-labs-imagegen","task":"Use imagegen in an agent workflow","agent":"codex","outcome":"success","install_used":true,"risk_blocked":false,"setup_required":false,"task_success":true,"output_quality":4,"error_type":null,"human_review_required":false,"workspace":"sandbox","time_to_useful_ms":120000,"notes":"Report the smallest successful task, setup friction, files touched, and risk notes."}},"endpoints":{"web":"https://www.openagentskill.com/skills/yan-labs-imagegen","api":"https://www.openagentskill.com/api/agent/skills/yan-labs-imagegen","audit":"https://www.openagentskill.com/skills/yan-labs-imagegen/audit","eval":"https://www.openagentskill.com/api/agent/evals?slug=yan-labs-imagegen&task=Use%20imagegen%20in%20an%20agent%20workflow&max_risk=medium","resolve":"https://www.openagentskill.com/api/agent/resolve?task=Use%20imagegen%20in%20an%20agent%20workflow&agent=codex&max_risk=medium","receipt":"https://www.openagentskill.com/api/agent/receipt?task=Use%20imagegen%20in%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text","install":"https://www.openagentskill.com/api/skills/yan-labs-imagegen/install","manifest":"https://www.openagentskill.com/api/registry/manifest/yan-labs-imagegen"}},"machine_metadata":{"version":"openagentskill-agent-metadata-v2","skill":{"slug":"yan-labs-imagegen","name":"imagegen","description":"生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。","category":"design-creative","url":"https://www.openagentskill.com/skills/yan-labs-imagegen","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","github_repo":"yan-labs/yan-skills"},"suited_tasks":["Design and creative workflows","Claude Code teams","builders willing to evaluate younger projects","Inspect visual requirements","Generate reusable assets","Package output for review","Navigate local resources","Run repeatable desktop actions"],"suited_agents":["Codex","Claude Code","Cursor","OpenAgentSkill CLI","OpenAI Agents","CLI"],"install":{"command":"npx skills add yan-labs/yan-skills --skill imagegen","ready":true,"targets":[{"id":"openagentskill-cli","label":"CLI","kind":"command","value":"npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.3.0/openagentskill-0.3.0.tgz add yan-labs-imagegen"},{"id":"codex","label":"Codex","kind":"agent-prompt","value":"Install the \"imagegen\" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"codex\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"claude-code","label":"Claude Code","kind":"agent-prompt","value":"Add \"imagegen\" as a Claude Code skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"claude-code\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"cursor","label":"Cursor","kind":"agent-prompt","value":"Turn \"imagegen\" from https://github.com/yan-labs/yan-skills/tree/main/imagegen into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"cursor\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."}],"handoff_url":"https://www.openagentskill.com/api/skills/yan-labs-imagegen/install","manifest_url":"https://www.openagentskill.com/api/registry/manifest/yan-labs-imagegen"},"trust":{"score":74,"label":"Strong shortlist","version":"trust-score-v4","install_policy":"human_review_before_install","evidence":{"stars":"177 GitHub stars","repoActivity":"177 stars, 78 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","install":"npx skills add yan-labs/yan-skills --skill imagegen","installSafety":"standard package or runtime install path","permissionSurface":"shell or command execution, filesystem or document access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet"},"outcome_evidence":{"total":0,"successes":0,"failures":0,"not_relevant":0,"success_rate":null,"recent_success_rate":null,"recent_failure_rate":null,"install_attempts":0,"install_success_rate":null,"risk_blocked":0,"setup_required":0,"avg_output_quality":null,"production_outcomes":0,"last_outcome_at":null,"label":"No agent outcome data yet"},"auto_install":{"allowed":false,"sandbox_required":true,"reason":"Human review or sandbox validation is required before automatic installation."},"best_for":["design-creative","agent-skill"],"known_risks":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"agent_proven":{"version":"agent-proven-v1","score":0,"tier":"unproven","label":"Needs first agent run","summary":"No agent outcome reports yet. Use Resolve, run one narrow sandbox task, then report the result.","metrics":{"totalOutcomes":0,"successfulOutcomes":0,"failedOutcomes":0,"installAttempts":0,"installSuccessRate":null,"successRate":null,"recentSuccessRate":null,"recentFailureRate":null,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":0,"lastOutcomeAt":null},"signals":[],"penalties":["No real agent outcome evidence yet"]},"audit":{"score":79,"risk_level":"needs_review","risk_label":"Needs review","warnings":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"safety_gate":{"tier":"experimental","label":"Experimental","auto_install_policy":"review","auto_install_allowed":false,"human_review_required":true,"blocked":false,"recommended_action":"Test manually in an isolated workspace and compare against safer alternatives."},"quality":{"score":69,"label":"Promising"},"supply":{"track":"Design and creative production","scenario":"Design and creative","maintenance":"1d since push","risk":"Needs review"},"alternative_skills":[],"do_not_use_when":["teams that need a vendor-supported SLA","production agents without a repository review","The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","No OpenAgentSkill engagement data yet","High-risk permission hints: Shell or command execution","Quality score needs review","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"],"agent_contract":{"task_input":"Use imagegen in an agent workflow","recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","install_policy":"review","minimum_review_before_use":["Trust: 74/100 Strong shortlist","Audit: 79/100 Needs review","Safety: 51/100 Avoid automatic install","Review repository, license, install command, and permission surface before production use."],"expected_agent_output":{"selected_skill":"yan-labs-imagegen (imagegen)","install_command":"npx skills add yan-labs/yan-skills --skill imagegen","risk_summary":"Needs review; Experimental; Review before production","verification_result":"Report the smallest successful task, files touched, warnings, and any missing setup."}},"outcome_feedback":{"endpoint":"https://www.openagentskill.com/api/agent/outcome","method":"POST","requires_resolve_event_id":true,"event_id_source":"Use install_receipt.outcome_feedback.event_id or feedback.event_id returned by /api/agent/resolve for the current task.","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"payload_template":{"event_id":"<install_receipt.outcome_feedback.event_id or feedback.event_id from /api/agent/resolve>","skill_slug":"yan-labs-imagegen","task":"Use imagegen in an agent workflow","agent":"codex","outcome":"success","install_used":true,"risk_blocked":false,"setup_required":false,"task_success":true,"output_quality":4,"error_type":null,"human_review_required":false,"workspace":"sandbox","time_to_useful_ms":120000,"notes":"Report the smallest successful task, setup friction, files touched, and risk notes."}},"endpoints":{"web":"https://www.openagentskill.com/skills/yan-labs-imagegen","api":"https://www.openagentskill.com/api/agent/skills/yan-labs-imagegen","audit":"https://www.openagentskill.com/skills/yan-labs-imagegen/audit","eval":"https://www.openagentskill.com/api/agent/evals?slug=yan-labs-imagegen&task=Use%20imagegen%20in%20an%20agent%20workflow&max_risk=medium","resolve":"https://www.openagentskill.com/api/agent/resolve?task=Use%20imagegen%20in%20an%20agent%20workflow&agent=codex&max_risk=medium","receipt":"https://www.openagentskill.com/api/agent/receipt?task=Use%20imagegen%20in%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text","install":"https://www.openagentskill.com/api/skills/yan-labs-imagegen/install","manifest":"https://www.openagentskill.com/api/registry/manifest/yan-labs-imagegen"}},"supply_profile":{"track":{"slug":"design","label":"Design and creative production","shortLabel":"Design","description":"Design assets, images, video, audio, multimodal media, presentation, and creative production skills."},"scenario":{"label":"Design and creative","description":"I need my agent to produce design assets, UI directions, presentations, or creative media workflows.","useCases":[{"slug":"design-creative","title":"Design and creative"},{"slug":"local-desktop","title":"Local desktop"},{"slug":"browser-automation","title":"Browser automation"}]},"applicableAgents":["Claude Code","OpenAI Agents","CLI","Codex","Cursor"],"install":{"ready":true,"command":"npx skills add yan-labs/yan-skills --skill imagegen","primaryTarget":"CLI","targetCount":4},"githubQuality":{"stars":177,"starsLabel":"177","forks":78,"license":"MIT","qualityScore":69,"trustScore":74,"auditScore":79},"maintenance":{"status":"fresh","label":"1d since push","daysSincePush":1,"lastPushedAt":"2026-09-07T00:29:05+00:00"},"risk":{"level":"needs_review","label":"Needs review","requiresReview":true,"notes":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review","Needs review"]},"coverageTags":["Design","Design and creative","design-creative","agent-skill"]},"audit":{"audit_score":79,"risk_level":"needs_review","risk_label":"Needs review","quality_score":69,"trust_score":74,"maintenance_score":100,"security_score":77,"install_score":92,"warnings":["The skill mandates the use of `--sandbox danger-full-access`, which is a high-risk permission level. While justified for network access, it should be used with caution and only in trusted environments.","Quality score needs review"]},"quality_signals":{"model":"v2","star_score":15.75,"usage_score":0,"review_score":5.4,"metadata_score":3,"freshness_score":15},"platforms":["Claude Code","OpenAI Agents"],"use_cases":[{"slug":"design-creative","title":"Design and creative","url":"https://www.openagentskill.com/use-cases/design-creative"},{"slug":"local-desktop","title":"Local desktop","url":"https://www.openagentskill.com/use-cases/local-desktop"},{"slug":"browser-automation","title":"Browser automation","url":"https://www.openagentskill.com/use-cases/browser-automation"},{"slug":"document-processing","title":"Document processing","url":"https://www.openagentskill.com/use-cases/document-processing"}],"stacks":[{"slug":"frontend-product-ui","title":"Frontend and UI","url":"https://www.openagentskill.com/collections/frontend-product-ui"},{"slug":"web-data-pipeline","title":"Web data pipeline","url":"https://www.openagentskill.com/collections/web-data-pipeline"},{"slug":"browser-qa-agent","title":"Browser QA agent","url":"https://www.openagentskill.com/collections/browser-qa-agent"}],"install":"npx skills add yan-labs/yan-skills --skill imagegen","install_targets":[{"id":"openagentskill-cli","label":"CLI","title":"OpenAgentSkill CLI","kind":"command","value":"npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.3.0/openagentskill-0.3.0.tgz add yan-labs-imagegen","description":"Resolve policy, run the source installer safely, and report a verified install receipt.","copyLabel":"Copy command"},{"id":"codex","label":"Codex","title":"Codex install prompt","kind":"agent-prompt","value":"Install the \"imagegen\" agent skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"codex\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.","description":"Give Codex a repo-aware install prompt when the skill is not available through a local CLI.","copyLabel":"Copy prompt"},{"id":"claude-code","label":"Claude Code","title":"Claude Code skill prompt","kind":"agent-prompt","value":"Add \"imagegen\" as a Claude Code skill from https://github.com/yan-labs/yan-skills/tree/main/imagegen. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"claude-code\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.","description":"Use this prompt to ask Claude Code to add the skill and explain the local activation steps.","copyLabel":"Copy prompt"},{"id":"cursor","label":"Cursor","title":"Cursor rule prompt","kind":"agent-prompt","value":"Turn \"imagegen\" from https://github.com/yan-labs/yan-skills/tree/main/imagegen into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: 生成网站与内容所需的一切视觉素材——用户说 生成图片、配图、插图、画一张、出一套图、logo、吉祥物、封面、海报、og 图、分享图、favicon 源图、用户场景图、真人图（\"一个人坐在电脑前\"）、手绘/蜡笔/水彩风插画、产品宣传图、电影感画面、\"网站需要配图\"、image gen、imagegen 时必用。也覆盖 rankup 建站流程里的\"页面缺图、还是占位图、og:image 没图、每页要独立分享图、favicon 还没做\"——这些场景不许用占位图，必须真实生成，一律加载本 Skill。底层走 Codex 内置的 OpenAI 图像生成工具；本 Skill 负责把需求翻成好提示词、跑通、验收、压缩、落盘。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"yan-labs-imagegen\",\"task\":\"Install imagegen\",\"agent\":\"cursor\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.","description":"Use this when installing as Cursor project rules or reusable agent instructions.","copyLabel":"Copy prompt"}],"repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","github_repo":"yan-labs/yan-skills","version":"1.0.0","license":"MIT","urls":{"web":"https://www.openagentskill.com/skills/yan-labs-imagegen","repository":"https://github.com/yan-labs/yan-skills/tree/main/imagegen","api":"/api/agent/skills/yan-labs-imagegen","install_api":"/api/skills/yan-labs-imagegen/install"},"meta":{"created_at":"2026-09-04T05:47:27.734856+00:00","updated_at":"2026-09-07T06:46:27.56568+00:00","agent_friendly":true}}