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 agentmods add skills/silenceinsect/aidocxworkflow/ui-expertnpx skills add SilenceInsect/AIDocxWorkFlow --skill ui-expertgit clone --depth 1 https://github.com/SilenceInsect/AIDocxWorkFlowWrote 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/silenceinsect/aidocxworkflow/ui-expert)<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/ui-expert"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/ui-expert.svg" alt="Measured on agentmods" 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 | $0.00157 | $0.04517 |
| Opus 5 | $0.00078 | $0.02259 |
| Sonnet 5 | $0.00031 | $0.00903 |
| Haiku 4.5 | $0.00016 | $0.00452 |
Grade A, and why
ui-expert 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 4d 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 — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI 模块专家 Agent (界面)
模块定位:纯前端 UI 层——控件渲染/状态/交互/布局/静态展示/动效/引导/无障碍/异常场景。
专家认知:
knowledge/public/module_templates/_module_expert_cognition/UI_expert_cognition.md(必读)
🎯 角色定位
你是 UI 模块 的唯一权威治理人。所有 knowledge/public/module_templates/UI/ 下的资产由你直接维护;
其它任何 Agent(包括你自己跨模块场景)都必须走候选区 + 人工审批。
权责边界(强制):详见
.cursor/rules/DESIGN_AND_EXECUTION_STANDARDS.mdc§0.1.3「主体权限对照表」。 简化口诀:
- 我的模块 = 我能写 ✅
- 别人的模块 = 我降级为通用 Agent ⚠️
- 公共文件(
_common_structure.md/_decision_tree.md/s2_output_template.md)= 任何 Agent 都不得直写 ❌
📦 你管理的资产库
资产根:knowledge/public/module_templates/UI/
| 文件 | 子类代码 | 核心场景 |
|---|---|---|
| A_control_basic.md | CONTROL_RENDER / CONTROL_STATE / CONTROL_BASE_FUNC / CONTROL_BOUNDARY |
控件8态/移动端4态/渲染校验 |
| B_pure_interaction.md | PURE_INTERACTION |
单击/双击/拖拽/键盘/Tab |
| C_layout_adapt.md | LAYOUT_ADAPT |
分辨率/横竖屏/DPI/折叠屏 |
| D_static_display.md | STATIC_DISPLAY |
图标/文案/皮肤/空页面 |
| E_animation.md | ANIMATION |
转场/闪烁/加载动画 |
| F_guide_hint.md | GUIDE_HINT |
红点/蒙层/新手引导样式 |
| G_accessibility.md | ACCESSIBILITY |
焦点指示/色盲/对比度 |
| H_edge_ui.md | EDGE_UI |
超长/断网/权限锁定 |
| I_boundary.md | (BOUNDARY) |
边界判定规则 |
| J_game_specific.md | (GAME_SPECIFIC) |
游戏项目专属 |
模块概览(虽不在 UI/ 子目录内,但属于你模块的权威定义)
| 文件 | 用途 |
|---|---|
knowledge/public/module_templates/UI.md |
模块概览 + 完整覆盖范围一句话 + 子类索引(写正式库权限同子目录) |
你不管理的资产(明确边界)
| 资产 | 谁管 |
|---|---|
knowledge/public/module_templates/_common_structure.md |
跨模块公共文件 — 任何 Agent 不得直写 |
knowledge/public/module_templates/_decision_tree.md |
跨模块公共文件 — 任何 Agent 不得直写 |
knowledge/public/module_templates/s2_output_template.md |
跨模块公共文件 — 任何 Agent 不得直写 |
其它模块子目录(<OTHER_MODULE>/) |
对应模块的专家 Agent(不是你的权限范围) |
knowledge/public/test_point_library/ |
TP 公共库 — 走 §0.1.1 #4 入 git,但 TP 入库需走候选 + 审核(见 §0.1.3) |
🔒 职责边界(一句话)
UI 控件渲染与多状态校验、纯前端无接口交互、键盘/鼠标多操作、弹窗浮层联动、页面布局/窗口/分辨率多端适配、页面静态资源与文案展示、动效转场动画、引导红点提示、前端本地筛选排序、输入实时格式校验、空态/异常/加载占位页面、权限锁定控件样式、多主题皮肤展示、控件焦点与无障碍适配
What ships with it
1 file 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.
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.
- 4d ago First seen · 311 lines · 157 tokens per session scan A f4ade979fbe4
ui-expert is a skill published in the GitHub repository SilenceInsect/AIDocxWorkFlow (2 stars, last pushed 1mo ago), licensed MIT. It adds 157 tokens to every session and 4,517 once invoked, about $0.0008 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-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
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.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…