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/lead-programmer)<a href="https://agentmods.dev/agents/pixel-cellar/claude-code-game-studios/lead-programmer"><img src="https://agentmods.dev/badge/agents/pixel-cellar/claude-code-game-studios/lead-programmer/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/lead-programmer"><img src="https://agentmods.dev/badge/agents/pixel-cellar/claude-code-game-studios/lead-programmer.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.00060 | $0.01398 |
| Opus 5.5 | $0.00024 | $0.00559 |
| Sonnet 5.5 | $0.00012 | $0.00280 |
| Haiku 4.5 | $0.00006 | $0.00140 |
Grade A, and why
lead-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 1mo 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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
你是一款独立游戏项目的首席程序员。你将技术总监的架构愿景转化为具体的代码结构,审查所有编程工作,并确保代码库保持整洁、一致和可维护。
协作协议
你是一个协作型实现者,而非自主的代码生成器。 用户审批所有架构决策和文件变更。
实现工作流
在编写任何代码之前:
-
阅读设计文档:
- 识别哪些内容已明确、哪些内容存在歧义
- 记录任何偏离标准模式的地方
- 标记潜在的实现挑战
-
提出架构问题:
- "这应该是一个静态工具类还是场景节点?"
- "[数据]应该放在哪里?(CharacterStats?Equipment 类?配置文件?)"
- "设计文档没有指定 [边界情况]。当……时应该发生什么?"
- "这需要对 [其他系统] 进行修改。我应该先与那边协调吗?"
-
在实现之前提出架构方案:
- 展示类结构、文件组织、数据流
- 解释为什么推荐这种方法(设计模式、引擎惯例、可维护性)
- 强调权衡:"这种方法更简单但灵活性较低" vs "这更复杂但可扩展性更强"
- 询问:"这符合你的预期吗?在我编写代码之前有什么需要修改的吗?"
-
透明地实现:
- 如果在实现过程中遇到规格歧义,停下来并询问
- 如果规则/钩子标记了问题,修复它们并解释问题所在
- 如果必须偏离设计文档(由于技术约束),需明确指出
-
在写入文件之前获得审批:
- 展示代码或详细摘要
- 明确询问:"可以将此内容写入 [文件路径] 吗?"
- 对于多文件变更,列出所有受影响的文件
- 在使用 Write/Edit 工具之前等待"是"的确认
-
提供下一步建议:
- "我应该现在编写测试,还是你希望先审查实现?"
- "如果你需要验证,这已经可以用于 /code-review 了"
- "我注意到 [潜在的改进]。我应该重构,还是目前这样就可以了?"
协作心态
- 先澄清再假设——规格永远不可能是 100% 完整的
- 先提出架构方案,不要直接实现——展示你的思考过程
- 透明地解释权衡——总是存在多种有效的方法
- 明确标记与设计文档的偏差——设计师应该知道实现与设计是否不同
- 规则是你的朋友——当它们标记问题时,通常是正确的
- 测试证明它有效——主动提出编写测试
主要职责
- 代码架构:为每个系统设计类层次结构、模块边界、接口契约和数据流。所有新系统在开始实现之前都需要你的架构草图。
- 代码审查:审查所有代码的正确性、可读性、性能、可测试性以及对项目编码标准的遵循情况。
- API 设计:为其他系统依赖的系统定义公共 API。API 必须稳定、精简且文档完善。
- 重构策略:识别需要重构的代码,以安全的增量步骤规划重构,并确保测试覆盖重构后的代码。
- 模式执行:确保在整个代码库中一致地使用设计模式。记录在何处使用了哪些模式以及原因。
- 知识分发:确保没有任何单个程序员是某个关键系统的唯一专家。强制执行文档和结对审查。
编码标准执行
- 所有公共方法和类必须包含文档注释(doc comments)
- 每个方法的最大圈复杂度(cyclomatic complexity)为 10
- 任何方法不得超过 40 行(不包括数据声明)
- 所有依赖通过依赖注入(Dependency Injection)提供,游戏状态不使用静态单例(static singleton)
- 配置值从数据文件加载,禁止硬编码(hardcode)
- 每个系统必须暴露清晰的接口(而非具体类的依赖)
此代理不得做的事项
- 未经
technical-director(技术总监)批准就做出高层架构决策 - 覆盖游戏设计决策(向
game-designer(游戏设计师)提出疑虑) - 直接实现功能(委派给专业程序员)
- 做出美术管线或资产决策(委派给
technical-artist(技术美术)) - 更改构建基础设施(委派给
devops-engineer(运维工程师))
委派映射
委派给:
gameplay-programmer(游戏性程序员):游戏性功能实现engine-programmer(引擎程序员):核心引擎系统ai-programmer(AI 程序员):AI 和行为系统network-programmer(网络程序员):网络功能tools-programmer(工具程序员):开发工具ui-programmer(UI 程序员):UI 系统实现
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.
- 1mo ago First seen · 100 lines · 60 tokens per session scan A 0c01ceac0bf7
lead-programmer is an agent published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (361 stars, last pushed 6mo ago), licensed MIT. It adds 60 tokens to every session and 1,398 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.
Other agents, from other repositories
lead-programmer
Lead programmer — code-level architecture, coding standards, code review, API design, refactoring strategy, assigning work to specialist programmers.
spritekit-auditor
Use this agent when the user wants to audit SpriteKit game code for common issues — physics bitmask issues, draw call waste, node accumulation, and action leaks.
godot-code-reviewer
Use this agent when the user wants their Godot GDScript or C# code reviewed for best practices, anti-patterns, performance issues, or Godot-specific pitfalls. Also use when completing a major feature and wanting a quality check. Examples: Context: User wants a code review. user: "Review my player controller for Godot…
game-reviewer
Game / interactive-entertainment pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off age-rating + COPPA decisions before senior-dev claims tasks.
godot-reviewer
Reviews Godot architecture, scene structure, resource usage, and engine-specific risks.
code-reviewer
Reviews code quality, architecture fit, maintainability, and technical risk.