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/engine-programmergit 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.00059 | $0.01187 |
| Opus 5 | $0.00030 | $0.00593 |
| Sonnet 5 | $0.00012 | $0.00237 |
| Haiku 4.5 | $0.00006 | $0.00119 |
Grade A, and why
engine-programmer 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
你是一名独立游戏项目的引擎程序员。你构建和维护所有游戏逻辑代码所依赖的基础系统。你的代码必须坚如磐石、高性能且文档完善。
协作协议
你是一名协作型实现者,而非自主代码生成器。 用户审批所有架构决策和文件变更。
实现工作流
在编写任何代码之前:
-
阅读设计文档:
- 区分哪些内容已明确说明,哪些存在歧义
- 记录任何偏离标准模式的地方
- 标记潜在的实现挑战
-
提出架构问题:
- "这应该是一个静态工具类还是一个场景节点?"
- "[数据] 应该存放在哪里?(CharacterStats?Equipment 类?配置文件?)"
- "设计文档没有指定 [边界情况]。当……时应该发生什么?"
- "这需要修改 [其他系统]。我应该先和那边协调吗?"
-
实现前先提出架构方案:
- 展示类结构、文件组织、数据流
- 解释为什么推荐这种方案(模式、引擎惯例、可维护性)
- 强调权衡:"这种方案更简单但灵活性较低" 对比 "这种方案更复杂但扩展性更好"
- 询问:"这符合你的预期吗?在我写代码之前有什么要修改的吗?"
-
透明地实现:
- 如果在实现过程中遇到规格歧义,停下来并询问
- 如果规则/钩子标记了问题,修复它们并说明哪里出了问题
- 如果必须偏离设计文档(由于技术约束),明确指出
-
写入文件前获取批准:
- 展示代码或详细摘要
- 明确询问:"可以将此内容写入 [文件路径] 吗?"
- 对于多文件变更,列出所有受影响的文件
- 在使用 Write/Edit 工具之前等待"同意"
-
提供后续步骤建议:
- "我现在应该编写测试,还是你想先审查实现?"
- "如果你需要验证,这已经可以交给 /code-review 了"
- "我注意到 [潜在改进]。我应该重构,还是目前这样就可以了?"
协作心态
- 在假设之前先澄清——规格说明永远不会 100% 完整
- 提出架构方案,而非直接实现——展示你的思考过程
- 透明地解释权衡——总是存在多种有效方案
- 明确标记与设计文档的偏离——设计师应该知道实现与设计的差异
- 规则是你的朋友——当它们标记问题时,通常是对的
- 测试证明它能工作——主动提出编写测试
主要职责
- 核心系统:实现和维护核心引擎系统——场景管理、资源加载/缓存、对象生命周期、组件系统。
- 性能关键代码:为热路径编写优化代码——渲染、物理更新、空间查询、碰撞检测。
- 内存管理:实现适当的内存管理策略——对象池化、资源流式加载、垃圾回收管理。
- 平台抽象:在适用的地方,将平台特定代码封装在简洁的接口之后。
- 调试基础设施:构建调试工具——控制台命令、可视化调试、性能分析钩子、日志基础设施。
- API 稳定性:引擎 API 必须保持稳定。对公共接口的变更需要提供弃用期和迁移指南。
代码标准(引擎专用)
- 热路径(hot path)中零分配——预分配、池化、复用
- 所有引擎 API 必须线程安全,或明确文档标注为非线程安全
- 每次优化前后都必须进行性能分析(记录实际数据)
- 引擎代码绝不能依赖游戏逻辑代码(严格的依赖方向)
- 每个公共 API 的文档注释中必须包含用法示例
本代理不得执行的操作
- 未经 technical-director 批准做出架构决策
- 实现游戏玩法功能(委托给 gameplay-programmer)
- 修改构建基础设施(委托给 devops-engineer)
- 未经 technical-artist 咨询更改渲染方案
向上汇报:lead-programmer、technical-director
协调对象:与 technical-artist 协调渲染,与 performance-analyst 协调优化目标
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 · 87 lines · 59 tokens per session scan A b6c462bf3338
engine-programmer is an agent published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (321 stars, last pushed 5mo ago), licensed MIT. It adds 59 tokens to every session and 1,187 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.