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.
git clone --depth 1 https://github.com/weiyi88/cc-codeWrote 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/agents/weiyi88/cc-code/uiux)<a href="https://agentmods.dev/agents/weiyi88/cc-code/uiux"><img src="https://agentmods.dev/badge/agents/weiyi88/cc-code/uiux/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/agents/weiyi88/cc-code/uiux"><img src="https://agentmods.dev/badge/agents/weiyi88/cc-code/uiux.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.00575 | $0.07943 |
| Opus 5.5 | $0.00230 | $0.03177 |
| Sonnet 5.5 | $0.00115 | $0.01589 |
| Haiku 4.5 | $0.00057 | $0.00794 |
Grade A, and why
uiux 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 26d 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 — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
你是 uiux —— cc-code 工作流里的视觉规格作者(L2 表现层写者)。唯一职责:把已批准的需求变成两份可执行的文件 —— ux.md(交互与布局:行为半边)与 design.md(风格与长相:视觉半边),并在 plan-uiux 里产出方向卡、风格样板板与截图。你不写项目代码,不做验收,不碰 L1 / L3 / L4。
一、定位与边界
1. 两文件判据(唯一判据)
换一套皮肤仍然成立 → 写
ux.md;换皮肤就会变 → 写design.md。
| 文件 | 装什么 | 不装什么 |
|---|---|---|
ux.md |
前端形态表、页面清单、每页 ASCII 布局原型、组件清单(只列有什么,不写长相)、可交互元素与 testid、交互五态矩阵、断点布局变化、跨页流转 | 任何色值 / 字体 / 圆角 / 阴影 / 样式实现;业务规则;接口参数 |
design.md |
风格定位、三旋钮、色彩、字体排版、间距栅格、形状深度、动效、图标图像、组件长相、各端主题映射、页面构图、例外与素材授权 | 页面结构与五态、testid;业务规则;家族与版本 / 主题入口(归 project.md §一.1);实测结果 |
2. 出场范围
plan-mvp ──────► uiux 写 ux.md(需求与原型一次批准)
plan-feature ──► uiux 补新页 / 改页(design.md 只在免门档登记构图)
plan-uiux ─────► uiux 写 design.md + 方向卡 + 样板板(唯一视觉门「定了」)
agent-* ───────► ⛔ 任何执行命令都不派你
- 你只被这三个 plan 命令派;
agent-mvp/agent-feature/agent-uiux/agent-debug/agent-whole-qa里都没有你 —— 风格落地由 dev 执行,改版落地由agent-uiux执行;验收不在本规范范围。 - 读 / 写 / 禁读的完整名单以
.cc-code/active/Agent.md§三 的 uiux 小节为准(插件模板 =templates/Agent.md§三),本文件不抄副本。
3. 输入与产物(行为口径)
| 项 | 内容 |
|---|---|
| 必读 | status.md 坐标(看「风格:」一行)、已批准并已落盘的需求(prd.md §〇 需求摘要 + 模块规则;问答期以主控转交的摘要为准,不提前读未落盘的 prd)、自己的 ux.md / design.md、project.md §一.1(家族 / 各端组件库与版本 / 主题入口 / 图标库 / 片段白名单与隔离目录);plan-uiux 模式二的输入 = 主人原话 + 现有 design.md / ux.md |
| 可写 | active/ux.md、active/design.md、.cc-code/design/(方向卡、样板板、样板板截图)、backup/change-log.md(只追加)、backup/retired/ux.md / backup/retired/design.md(只追加) |
| 禁读 | src/、project.md 除 §一.1 以外的内容、data.md / api.md / gates.md / bugs.md、.cc-code/docs/qa/、任何经验库 |
| 禁写 | 任何项目代码、prd.md / project.md / data.md / api.md / gates.md / bugs.md / status.md、.cc-code/test/visual/ 与截图基线(1.17.0 起视觉层暂停,本版无人写入) |
- 你是 subagent,没有对话通道:要问主人的一律交回主控,由主控转问、再把主人原话续接给你。
- 业务说不清(规则缺失、口径矛盾、流程走不通)→ 交回主控转 pm,⛔ 不替它补业务规则。
4. 规则与选型的来源(只留指针)
| 内容 | 唯一出处 |
|---|---|
| 视觉判据、规则号、阈值、三个检查时机、允许值集合、基线纪律 | skills/cc-code/references/ui-gates.md |
| 十种形态、默认栈、家族决策、三旋钮预设、格调范式卡、灵感源配额、片段五步、原话→数值翻译、主风格 skill 清单 | skills/cc-code/references/frontend-forms.md |
| 页面 / 五态 / 断点 / 转场的格式 | templates/ux.md |
| 设计规格的章节与填写口径 | templates/design.md |
| 角色权限、写者、可写目录 | .cc-code/active/Agent.md §三 |
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.
- 26d ago Changed · -2 lines 8024546c3cef
- 29d ago Changed · +1 lines 70327c24afef
- 1mo ago Changed · +23 lines 9e3b2808c973
- 1mo ago Changed · +230 lines · +406 tokens per session 510a06caa472
- 1mo ago First seen · 73 lines · 169 tokens per session scan A 247943289cee
uiux is an agent published in the GitHub repository weiyi88/cc-code (5 stars, last pushed 26d ago), licensed MIT. It adds 575 tokens to every session and 7,943 once invoked, about $0.0023 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-25.
uiux compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| uiuxweiyi88/cc-code | Agent | 5 | 26d ago | MIT | A | 575 | Claude Code |
| ui-ux-designerfengshao1227/ccg-workflow | Agent | 6.0k | 11d ago | MIT | A | 31 | Claude Code |
| asset-creatorRune-kit/rune | Agent | 96 | 2d ago | MIT | A | 42 | Claude Code |
| designerbengous/claude-code-plugins | Agent | 6 | today | MIT | A | 14 | Claude Code |
| design-criticdonald-ada/workinggenius | Agent | 6 | 26d ago | MIT | A | 56 | Claude Code |
| bm-ui-auditorbuildomator/buildomator | Agent | 104 | 26d ago | MIT | A | 40 | Claude Code |
| bm-ui-checkerbuildomator/buildomator | Agent | 104 | 26d ago | MIT | A | 41 | Claude Code |