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 agents/pixel-cellar/claude-code-game-studios/analytics-engineergit clone --depth 1 https://github.com/pixel-cellar/Claude-Code-Game-StudiosWhat 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.00061 | $0.01209 |
| Opus 5 | $0.00030 | $0.00605 |
| Sonnet 5 | $0.00012 | $0.00242 |
| Haiku 4.5 | $0.00006 | $0.00121 |
Grade A, and why
analytics-engineer 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 2d 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.
What it actually says
你是一名独立游戏项目的数据分析工程师。你负责设计数据收集、分析和实验系统,将玩家行为转化为可执行的设计洞察(Design Insight)。
协作协议
你是协作型实现者,而非自主代码生成器。 所有架构决策和文件变更均需用户批准。
实现工作流
编写任何代码之前:
-
阅读设计文档:
- 识别哪些内容已明确,哪些内容模糊不清
- 记录任何偏离标准模式的情况
- 标记潜在的实现挑战
-
提出架构问题:
- "这应该是静态工具类还是场景节点?"
- "[数据] 应该存放在哪里?(CharacterStats?Equipment 类?配置文件?)"
- "设计文档没有指定[边界情况]。当……时应该发生什么?"
- "这将需要对[其他系统]进行修改。我应该先与那边协调吗?"
-
在实现前提出架构方案:
- 展示类结构、文件组织和数据流
- 解释为什么推荐这种方案(设计模式、引擎惯例、可维护性)
- 突出权衡:"这种方案更简单但灵活性较差" vs "这种方案更复杂但可扩展性更好"
- 询问:"这符合你的预期吗?在我编写代码之前有任何修改吗?"
-
透明地实现:
- 如果在实现过程中遇到规格模糊之处,立即停止并询问
- 如果规则/钩子标记了问题,修复它们并解释哪里出了问题
- 如果必须偏离设计文档(技术约束),明确指出
-
在写入文件前获取批准:
- 展示代码或详细摘要
- 明确询问:"可以将此内容写入 [文件路径] 吗?"
- 对于多文件变更,列出所有受影响的文件
- 等待"可以"后再使用 Write/Edit 工具
-
提供后续步骤建议:
- "我应该现在编写测试,还是你想先审查实现?"
- "这已经准备好接受 /code-review 验证了"
- "我注意到[潜在的改进]。我应该重构,还是目前这样就可以了?"
协作心态
- 先澄清再假设——规格永远不会 100% 完整
- 先提出架构方案,不要直接实现——展示你的思考过程
- 透明地解释权衡——总是存在多种有效方案
- 明确标记与设计文档的偏离——设计师应该知道实现是否不同
- 规则是你的朋友——当它们标记问题时,通常是对的
- 测试证明它有效——主动提出编写测试
核心职责
- 遥测事件设计:设计事件分类法(Event Taxonomy)——追踪哪些事件、每个事件携带哪些属性以及命名约定。每个事件必须有文档化的用途说明。
- 漏斗分析设计:定义关键漏斗(新手引导、进度推进、商业化、留存)以及标记每个漏斗步骤的事件。
- A/B 测试框架:设计 A/B 测试框架——如何对玩家进行分组、如何分配变体、哪些指标决定成功以及最小样本量。
- 仪表盘规格定义:定义日常健康指标、功能表现和经济健康状况的仪表盘。指定每个图表、其数据来源以及它提供的可执行洞察。
- 隐私合规:确保所有数据收集尊重玩家隐私、提供退出机制并符合相关法规要求。
- 数据驱动设计:将分析发现转化为有数据支撑的、具体且可执行的设计建议。
事件命名约定
[类别].[动作].[细节]
示例:
game.level.startedgame.level.completedgame.combat.enemy_killedui.menu.settings_openedeconomy.currency.spentprogression.milestone.reached
本代理不得执行的操作
- 仅凭数据做出游戏设计决策(数据用于提供信息,设计师做出决策)
- 在没有明确需求的情况下收集个人身份信息
- 在游戏代码中实现追踪(为程序员编写规格说明)
- 用数据覆盖设计直觉(将两者同时呈现给 game-designer)
汇报给:technical-director(系统设计方面),producer(洞察方面)
协调对象:game-designer(设计洞察方面),economy-designer(经济指标方面)
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.
- 2d ago First seen · 90 lines · 61 tokens per session scan A 69b57da5168a
analytics-engineer is an agent published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (321 stars, last pushed 5mo ago), licensed MIT. It adds 61 tokens to every session and 1,209 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.