boardgame-ui-imagegen

boardgame-ui-imagegen is a skill for Claude Code, Codex from zhuanggenhua/BoardGame. It costs 56 tokens per session (2,626 once invoked), scanned A, original, MIT.

Guidance for preparing visual designs for board games, including decisions about generated images, exported design artifacts, or stopping when the design brief is incomplete. It requires checking the game's rules and real visual assets first.

In plain words
What is it for?
Use it for new board-game screens, redesigns, generated artwork, rule-book visuals, or main-board and card-material designs. It helps map game rules to visible interface elements and choose an appropriate image workflow.
Why use it?
It prevents a design from showing incorrect game elements or inventing visuals without enough evidence from the rules and asset records.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it for new board-game screens, redesigns, generated artwork, rule-book visuals, or main-board and card-material designs. It helps map game rules to visible interface elements and choose an appropriate image workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhuanggenhua/boardgame/boardgame-ui-imagegen
Install

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.

Any agent
npx skills add zhuanggenhua/BoardGame --skill boardgame-ui-imagegen
Clone the repo
git clone --depth 1 https://github.com/zhuanggenhua/BoardGame

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for boardgame-ui-imagegen

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhuanggenhua/boardgame/boardgame-ui-imagegen/github.svg)](https://agentmods.dev/skills/zhuanggenhua/boardgame/boardgame-ui-imagegen)
Your own site
<a href="https://agentmods.dev/skills/zhuanggenhua/boardgame/boardgame-ui-imagegen"><img src="https://agentmods.dev/badge/skills/zhuanggenhua/boardgame/boardgame-ui-imagegen/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.

agentmods 80×15 button for boardgame-ui-imagegen

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhuanggenhua/boardgame/boardgame-ui-imagegen"><img src="https://agentmods.dev/badge/skills/zhuanggenhua/boardgame/boardgame-ui-imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.02626
Opus 5 $0.00028 $0.01313
Sonnet 5 $0.00011 $0.00525
Haiku 4.5 $0.00006 $0.00263

Measured 12d ago against content hash 3aad43f60c8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

boardgame-ui-imagegen 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 12d 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.

.spec/skills/boardgame-ui-imagegen/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Boardgame UI Imagegen

把“规则 + 素材”转成可执行的 UI 设计稿前置包,并裁定走 imagegen 位图、Open Design artifact 导出图,还是阻塞 brief。本 skill 不定义 UI 美学原则、资源链或截图验收;这些主源分别在 ui-uxui-change-gatesasset-pipeline

适用边界

  • 用户要“设计稿 / 效果稿 / 生图 / 视觉稿 / 先看图”时,默认交付图片型设计稿,不交 HTML、运行页或前端实现。
  • imagegen 不可用但 Open Design 可用时,可走 Open Design artifact 候选稿;必须导出 PNG/JPG/WebP 或等价图片并完成 AI 图面核验后,才可给用户看。
  • HTML / CSS / React mockup 只允许辅助校准空间关系和素材输入,不得冒充设计稿。
  • 新增游戏时同时遵守 create-new-game;需要创建、切换或派生分支 / worktree 时,必须先取得用户当轮明确授权。
  • 已进入正式方案、布局不变量或任务拆分时,UI 结论要回写 OpenSpec;本 skill 不把产品方案正文留在这里。

必读输入

出稿前至少读取并消费:

  • 当前项目入口和本 skill 关联标准:AGENTS.mdui-uxui-change-gatesasset-pipeline
  • 本轮规则真相源:优先 docs/games/<gameId>/rule/**docs/games/<gameId>/intake/** 或已有设计前置矩阵;没有时回到规则 PDF / OCR / 素材来源。
  • 正式素材来源:主棋盘、地图、角色板、卡牌、牌背、token、骰子、状态板、atlas crop 或其它当前画面主体。
  • 专项 UI workflow:复杂新页面或游戏 UI 设计要叠加 ui-design-pipelinegame-designui-audit-loop

不能说明“刚刚读了哪份规则”和“画面主体来自哪份素材账本”时,不得生成 prompt、Open Design artifact、HTML 预览或 AI PASS 结论。

前置证据块

每份准备进入 imagegen、Open Design、HTML 预览、AI 核图或人工验收的 artifact,必须在同一个前置包、prompt brief 或随图审计中写出:

  • 规则读取:本轮实际读取的规则文件 / 页段,以及至少三条会改变画面的规则对象结论。
  • 规则到画面:每条规则结论对应的画面主体、设计决策和禁止项。
  • 素材账本:每个可见主体的正式资源路径或 atlas/frame、素材状态、artifact 中的呈现方式和是否允许出现。
  • 输入链路:正式资源如何进入生成或渲染链,例如输入包、reference sheet、Open Design 项目相对路径、atlas crop 或运行时渲染来源。
  • 禁止替代:哪些对象不得用文字壳、CSS 形状、相似图标、临时裁图或纯 prompt 重画替代。
  • 验收状态:默认 human-review-not-allowed;只有 AI 图面核验 PASS 后,才允许进入用户验收展示。

只在旧矩阵、交接摘要、旧 PASS 或对话里存在上述信息,不算通过。

素材裁决

素材状态必须先裁定:

  • visible-subject:正式素材必须承担画面主语。
  • reference-only:只能作规则、比例、风格或 reference sheet 来源,不得复现成主界面主体。
  • approved-programmatic:允许用程序化对象表达,但要有规则 / 素材来源。
  • approved-programmatic-runtime-ui:只用于生命、资源、冷却、短状态、临时增减等动态读数;不得替代棋盘、卡牌、牌背、token、骰子、角色板等物理主体。
  • blocked / temp-only / 未登记:不得画成完成态对象。

Read the full file on GitHub · 142 lines

Changes

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.

  1. 12d ago First seen · 142 lines · 56 tokens per session scan A 3aad43f60c8e

Subscribe to this mod's changes

boardgame-ui-imagegen is a skill published in the GitHub repository zhuanggenhua/BoardGame (23 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 2,626 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

roblox-ui

Build production Roblox interfaces with ScreenGui/PlayerGui lifecycle, responsive UDim2 layouts, safe insets, reusable editable Instances, cross-device input and selection, restrained motion, cleanup, and multi-viewport verification. Use for Roblox HUDs, inventories, shops, settings, ability bars, ScrollingFrames…

gamedev-skills/awesome-gamedev-agent-skills · 101 tokens

game-ui-ux

Design and build game UI/UX — HUDs, menus, and overlays — that survive every screen: anchor- based responsive layout, resolution/aspect scaling and safe areas, keyboard/gamepad focus navigation, a screen/menu state stack, and event-driven (not polled) HUD updates. Engine- neutral patterns that pair with the detected…

gamedev-skills/awesome-gamedev-agent-skills · 123 tokens

ux-design

Guided, section-by-section UX spec authoring for a screen, flow, or HUD. Reads game concept, player journey, and relevant GDDs to provide context-aware design guidance. Produces ux-spec.md (per screen/flow) or hud-design.md using the studio templates.

Donchitos/Claude-Code-Game-Studios · 61 tokens

ux-review

Validates a UX spec, HUD design, or interaction pattern library for completeness, accessibility compliance, GDD alignment, and implementation readiness. Produces APPROVED / NEEDS REVISION / MAJOR REVISION NEEDED verdict with specific gaps.

Donchitos/Claude-Code-Game-Studios · 51 tokens

unity-inspector

Advise on Unity Inspector authoring UX.

Besty0728/Unity-Skills · 12 tokens

threejs-game-ui-designer

Design premium Three.js game UI: HUDs, menus, overlays, pause/win/lose screens, settings, icon controls, touch UI, typography, responsive layout, safe areas, text fit, and UI/world cohesion.

majidmanzarpour/threejs-game-skills · 52 tokens