Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yunshu0909/yunshu_skillshub --skill image-rendergit clone --depth 1 https://github.com/yunshu0909/yunshu_skillshubWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yunshu0909/yunshu_skillshub/image-render)<a href="https://agentmods.dev/skills/yunshu0909/yunshu_skillshub/image-render"><img src="https://agentmods.dev/badge/skills/yunshu0909/yunshu_skillshub/image-render/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yunshu0909/yunshu_skillshub/image-render"><img src="https://agentmods.dev/badge/skills/yunshu0909/yunshu_skillshub/image-render.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00142 | $0.02177 |
| Opus 5.5 | $0.00057 | $0.00871 |
| Sonnet 5.5 | $0.00028 | $0.00435 |
| Haiku 4.5 | $0.00014 | $0.00218 |
Grade A, and why
image-render scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
配图出图(image-render)
把文章变成一套风格统一的配图。Claude 负责想清楚画什么、图上写哪些字;Codex 只负责把提示词原样交给 imagegen 出图;脚本负责检查和核对。
下文 S 指本 skill 的脚本目录(本文件所在目录下的 scripts/):
S=<本 SKILL.md 所在目录>/scripts
第一次用
python3 $S/doctor.py:环境自检(Codex 装没装、登没登录、Python)。有 ✗ 先按提示补。- 没有默认风格时,开风格选择页让用户看图选(见下面「默认风格」)。
默认风格
风格 = 有样张的风格,用户看图选。选一次存成默认,之后每次直接用,不再每次问。
| 用户说 | 怎么做 |
|---|---|
| (开工时) | python3 $S/settings.py get style。打印出编号 → 告诉用户「本次用默认风格 X(编号 · 名字),要换说一声」,直接往下做。什么都没打印 = 还没设,走「第一次选」 |
| 第一次选 / 「换默认风格」 | 先把画面单给用户确认,再 python3 $S/style_picker.py <任务目录>/风格选择.html 并打开;用户报编号(或贴回 ♡ 复制的内容)就视为选定默认 → python3 $S/settings.py set style <编号> |
| 「这次用 N42」 | 只这一次用,不改设置:adapt 文件名里写这个编号(如 1-N42.txt)。真正决定用哪张风格卡的是文件名里的编号;scenes.md 顶部写一行「本次风格:N42」只是备忘 |
| 「给我几个风格看看」 | 探索:选 3–4 种(reference/recommend.md 按内容类型推荐),用用户自己的同一张图各出一版对比;用户选中的可以设成新默认 |
| 「你推荐」 | 才参考 reference/recommend.md 和 reference/taste.md(作者口味) |
设置存在 ~/.image-render/settings.json,升级 skill 不会被覆盖;家目录写不进时(Codex 沙盒)自动存到当前项目的 .image-render/,以后在这个项目里用会自动读到;也可以用环境变量 IMAGE_RENDER_HOME 指定。
流程
| 步 | 做什么 | 谁 | 详细 |
|---|---|---|---|
| 1 画面单 | 每张图:画幅 / 用途、讲什么、内容类型、必含文字(「」包住)。写完给用户确认(用户说「直接做」可跳过) | Claude → 用户 | stages/01-scenes.md |
| 2 定风格 | 默认风格;没有就看图选;探索时选 3–4 种 | 用户 | stages/02-pick-style.md |
| 3 风格适配 | 核心:按风格卡的叙事语法为每张图重新设计场景、比喻、文字载体 | Claude | stages/03-adapt.md |
| 4 出图 | 检查 → 拼提示词 → Codex 原样出图 → 核对提示词逐字。第一次用或刚换默认风格:先只出第 1 张给用户看,满意再出剩下的 | 脚本 + Codex | stages/04-render.md |
| 5 挑图与迭代 | Claude 先逐张看图上的字;对比页给用户标 ♡;不满意一次只改一处;选中的图写回样张 | Claude → 用户 | stages/05-review.md |
新增风格
用户想要库里没有的风格(给一句描述或一张参考图):
- 找到自建风格目录(
python3 $S/settings.py show第二行,一般是~/.image-render/styles/;第一次加风格时可能还不存在,先mkdir -p),复制templates/style-card.md进去,命名为U01-<风格名>.md(编号U01、U02… 接着排,文件名 = 编号-名字),填好。风格块只写「长什么样」——材质、线条、配色、文字长相、不要什么,不写版式。 - 用用户手头的一张图按新卡出一张试图(adapt 文件名写
1-U01.txt)。 - 用户说喜欢 →
python3 $S/add_sample.py U01 <试图路径>(要设成默认就加--default)。这一条命令会缩略图片、放进样张目录、写进卡片。有样张才算进库,风格选择页才会显示它。 - 用户不喜欢:在风格块里只改一处再出一版;放弃就删掉这张卡,不留空卡。
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 1.6 KB
- reference/formats.md 1.0 KB
- reference/lessons.md 3.5 KB
- reference/recommend.md 2.0 KB
- reference/taste.md 1.3 KB
- scripts/_lib.py 8.9 KB runs code
- scripts/add_sample.py 2.7 KB runs code
- scripts/build_prompts.py 2.2 KB runs code
- scripts/check_prompts.py 2.7 KB runs code
- scripts/doctor.py 3.3 KB runs code
- scripts/make_page.py 4.7 KB runs code
- scripts/mark.js 3.7 KB runs code
- scripts/render_codex.py 8.7 KB runs code
- scripts/settings.py 1.9 KB runs code
- scripts/style_picker.py 4.0 KB runs code
- scripts/update_index.py 2.6 KB runs code
- scripts/verify_log.py 1.9 KB runs code
- stages/01-scenes.md 1.8 KB
- stages/02-pick-style.md 1.3 KB
- stages/03-adapt.md 1.9 KB
- stages/04-render.md 4.2 KB
- stages/05-review.md 1.8 KB
- styles/N02-50年代复古广告.md 1.4 KB
- styles/N03-积木.md 882 B
- styles/N08-桌游棋盘.md 995 B
- styles/N10-电影海报.md 1.3 KB
- styles/N11-绘本蜡笔.md 805 B
- styles/N13-便利贴墙.md 904 B
- styles/N16-维多利亚铜版画.md 832 B
- styles/N17-折纸.md 756 B
- styles/N19-粉笔黑板.md 770 B
- styles/N21-纸雕光影盒.md 1.0 KB
- styles/N22-宝藏地图.md 792 B
- styles/N24-3D动画电影.md 1.7 KB
- styles/N27-四格漫画.md 935 B
- styles/N34-烘焙甜点.md 786 B
- styles/N35-木偶剧场.md 958 B
- styles/N37-皮影戏.md 990 B
- styles/N38-玩具屋剖面.md 1008 B
- styles/N39-立体书.md 871 B
- styles/N41-日式手绘动画.md 990 B
- styles/N42-等距像素.md 1.6 KB
- styles/N48-列车剖面.md 767 B
- styles/N49-角色手绘课件.md 2.2 KB
- styles/N50-RPG游戏界面.md 1.2 KB
- styles/N62-实物摄影信息图.md 1.6 KB
- styles/N78-国风淡彩.md 1.2 KB
- styles/README.md 4.0 KB
- styles/S01-彩铅水彩.md 1.6 KB
- styles/S07-像素风.md 1.8 KB
- styles/S08-漫画网点.md 1.4 KB
- styles/samples/N02-1.jpg 148 KB
- styles/samples/N02-2.jpg 228 KB
- styles/samples/N02-3.jpg 152 KB
- styles/samples/N02-4.jpg 193 KB
- styles/samples/N02-5.jpg 173 KB
- styles/samples/N02-6.jpg 167 KB
- styles/samples/N02-7.jpg 184 KB
- styles/samples/N03-1.jpg 58 KB
- styles/samples/N08-1.jpg 106 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 92 lines · 142 tokens per session scan A 58845928599b
image-render is a skill published in the GitHub repository yunshu0909/yunshu_skillshub (784 stars, last pushed 13d ago), licensed MIT. It adds 142 tokens to every session and 2,177 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-12.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
component-fixtures
Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.