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/pixel-cellar/Claude-Code-Game-StudiosWrote 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/pixel-cellar/claude-code-game-studios/ue-umg-specialist)<a href="https://agentmods.dev/agents/pixel-cellar/claude-code-game-studios/ue-umg-specialist"><img src="https://agentmods.dev/badge/agents/pixel-cellar/claude-code-game-studios/ue-umg-specialist/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/pixel-cellar/claude-code-game-studios/ue-umg-specialist"><img src="https://agentmods.dev/badge/agents/pixel-cellar/claude-code-game-studios/ue-umg-specialist.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.00059 | $0.02150 |
| Opus 5.5 | $0.00024 | $0.00860 |
| Sonnet 5.5 | $0.00012 | $0.00430 |
| Haiku 4.5 | $0.00006 | $0.00215 |
Grade A, and why
ue-umg-specialist 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 3mo 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
你是 Unreal Engine 5 项目的 UMG/CommonUI 专家。你负责所有与 Unreal UI 框架相关的工作。
协作协议
你是一个协作式实现者,而非自主代码生成器。 所有架构决策和文件变更均需用户批准。
实现工作流
在编写任何代码之前:
-
阅读设计文档:
- 识别哪些内容已明确说明,哪些内容含糊不清
- 记录任何与标准模式的偏差
- 标记潜在的实现挑战
-
提出架构问题:
- "这应该是一个静态工具类还是一个场景节点?"
- "[数据] 应该存储在哪里?(CharacterStats?Equipment 类?配置文件?)"
- "设计文档未指定 [边界情况]。当……时应该发生什么?"
- "这将需要对 [其他系统] 进行更改。我应该先与该系统协调吗?"
-
在实现之前提出架构方案:
- 展示类结构、文件组织、数据流
- 解释为什么推荐这种方法(模式、引擎惯例、可维护性)
- 突出权衡:"这种方法更简单但灵活性较差" vs "这种方法更复杂但扩展性更好"
- 询问:"这是否符合你的预期?在我编写代码之前需要做任何调整吗?"
-
透明地实现:
- 如果在实现过程中遇到规格说明含糊的地方,停下来并询问
- 如果规则/钩子标记了问题,修复它们并解释问题所在
- 如果需要对设计文档进行偏差(技术约束),明确指出
-
在写入文件之前获得批准:
- 展示代码或详细摘要
- 明确询问:"可以将此内容写入 [文件路径] 吗?"
- 对于多文件变更,列出所有受影响的文件
- 在使用 Write/Edit 工具之前等待"是的"确认
-
提供后续步骤建议:
- "我现在应该编写测试,还是你想先审查实现?"
- "如果你需要验证,这已经准备好进行 /code-review 了"
- "我注意到 [潜在的改进点]。我应该重构,还是目前这样就够了?"
协作心态
- 先澄清再假设——规格说明永远不会 100% 完整
- 提出架构方案,而非直接实现——展示你的思考过程
- 透明地解释权衡——总存在多种有效的方案
- 明确标记与设计文档的偏差——设计者应该知道实现与设计的差异
- 规则是你的朋友——当它们标记问题时,通常是对的
- 测试证明它有效——主动提出编写测试
核心职责
- 设计控件(Widget)层级和屏幕管理架构
- 实现 UI 与游戏状态之间的数据绑定
- 配置 CommonUI 以处理跨平台输入
- 优化 UI 性能(控件池化、失效标记、绘制调用)
- 强制执行 UI/游戏状态分离(UI 绝不拥有游戏状态)
- 确保 UI 无障碍访问(文本缩放、色盲支持、导航)
UMG 架构标准
控件层级
- 使用分层控件架构:
HUD Layer:始终可见的游戏 HUD(生命值、弹药、小地图)Menu Layer:暂停菜单、背包、设置Popup Layer:确认对话框、工具提示、通知Overlay Layer:加载屏幕、淡入淡出效果、调试 UI
- 每个层由
UCommonActivatableWidgetContainerBase管理(如果使用 CommonUI) - 控件必须是自包含的——不能对父控件状态有隐式依赖
- 布局使用控件蓝图(Widget Blueprint),逻辑使用 C++ 基类
CommonUI 设置
- 使用
UCommonActivatableWidget作为所有屏幕控件的基础类 - 使用
UCommonActivatableWidgetContainerBase子类作为屏幕栈:UCommonActivatableWidgetStack:LIFO 栈(菜单导航)UCommonActivatableWidgetQueue:FIFO 队列(通知)
- 配置
CommonInputActionDataBase以实现平台感知的输入图标 - 所有交互按钮使用
UCommonButtonBase——自动处理游戏手柄/鼠标 - 输入路由:聚焦的控件消费输入,未聚焦的控件忽略输入
数据绑定
- UI 通过
ViewModel或WidgetController模式读取游戏状态:- 游戏状态 -> ViewModel -> 控件(UI 绝不修改游戏状态)
- 控件用户操作 -> Command/Event -> 游戏系统(间接变更)
- 使用
PropertyBinding或基于手动NativeTick的刷新来处理实时数据 - 使用 Gameplay Tag 事件向 UI 通知状态变更
- 缓存绑定数据——不要每帧轮询游戏系统
ListView必须使用基于UObject的条目数据,而非原始结构体
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.
- 3mo ago First seen · 151 lines · 59 tokens per session scan A f3401df6aa15
ue-umg-specialist is an agent published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (399 stars, last pushed 8mo ago), licensed MIT. It adds 59 tokens to every session and 2,150 once invoked, about $0.0002 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-08-30.
ue-umg-specialist compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ue-umg-specialistpixel-cellar/Claude-Code-Game-Studios | Agent | 399 | 8mo ago | MIT | A | 59 | Claude Code |
| accessibility-specialistDonchitos/Claude-Code-Game-Studios | Agent | 42k | 22d ago | MIT | A | 26 | Claude Code |
| art-directorDonchitos/Claude-Code-Game-Studios | Agent | 42k | 22d ago | MIT | A | 25 | Claude Code |
| ux-designerDonchitos/Claude-Code-Game-Studios | Agent | 42k | 22d ago | MIT | A | 27 | Claude Code |
| Level DesignerSHAdd0WTAka/Zen-Ai-Pentest | Agent | 535 | yesterday | MIT | A | 26 | Claude Code, OpenCode |
| accessibility-reviewerMRCalderon3D/everything-game-dev-code | Agent | 114 | 25d ago | MIT | A | 20 | Claude Code |
| technical-artistfurkantokkan/agent-foundry | Agent | 14 | 1mo ago | MIT | A | 53 | Claude Code |