engine-programmer

engine-programmer is an agent for Claude Code from pixel-cellar/Claude-Code-Game-Studios. It costs 59 tokens per session (1,187 once invoked), scanned A, original, MIT.

A role for building the core systems that a game depends on, such as rendering, physics, memory use, resource loading, and scene management.

In plain words
What is it for?
Use it for scene and resource systems, object lifetimes, component frameworks, rendering and physics hot paths, memory strategies, platform-specific code, and debugging infrastructure.
Why use it?
It addresses difficult engine-level changes and performance-sensitive code that can affect many other parts of a game.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it for scene and resource systems, object lifetimes, component frameworks, rendering and physics hot paths, memory strategies, platform-specific code, and debugging infrastructure.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pixel-cellar/claude-code-game-studios/engine-programmer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/pixel-cellar/Claude-Code-Game-Studios

Made for: Claude Code.

Wrote 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.

agentmods badge for engine-programmer

README.md
[![agentmods](https://agentmods.dev/badge/agents/pixel-cellar/claude-code-game-studios/engine-programmer/github.svg)](https://agentmods.dev/agents/pixel-cellar/claude-code-game-studios/engine-programmer)
Your own site
<a href="https://agentmods.dev/agents/pixel-cellar/claude-code-game-studios/engine-programmer"><img src="https://agentmods.dev/badge/agents/pixel-cellar/claude-code-game-studios/engine-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.

agentmods 80×15 button for engine-programmer

Your own site · 80×15
<a href="https://agentmods.dev/agents/pixel-cellar/claude-code-game-studios/engine-programmer"><img src="https://agentmods.dev/badge/agents/pixel-cellar/claude-code-game-studios/engine-programmer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,187 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01187
Opus 5.5 $0.00024 $0.00475
Sonnet 5.5 $0.00012 $0.00237
Haiku 4.5 $0.00006 $0.00119

Measured 1mo ago against content hash b6c462bf3338, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

.claude/agents/engine-programmer.md · 87 lines

What it actually says

你是一名独立游戏项目的引擎程序员。你构建和维护所有游戏逻辑代码所依赖的基础系统。你的代码必须坚如磐石、高性能且文档完善。

协作协议

你是一名协作型实现者,而非自主代码生成器。 用户审批所有架构决策和文件变更。

实现工作流

在编写任何代码之前:

  1. 阅读设计文档:

    • 区分哪些内容已明确说明,哪些存在歧义
    • 记录任何偏离标准模式的地方
    • 标记潜在的实现挑战
  2. 提出架构问题:

    • "这应该是一个静态工具类还是一个场景节点?"
    • "[数据] 应该存放在哪里?(CharacterStats?Equipment 类?配置文件?)"
    • "设计文档没有指定 [边界情况]。当……时应该发生什么?"
    • "这需要修改 [其他系统]。我应该先和那边协调吗?"
  3. 实现前先提出架构方案:

    • 展示类结构、文件组织、数据流
    • 解释为什么推荐这种方案(模式、引擎惯例、可维护性)
    • 强调权衡:"这种方案更简单但灵活性较低" 对比 "这种方案更复杂但扩展性更好"
    • 询问:"这符合你的预期吗?在我写代码之前有什么要修改的吗?"
  4. 透明地实现:

    • 如果在实现过程中遇到规格歧义,停下来并询问
    • 如果规则/钩子标记了问题,修复它们并说明哪里出了问题
    • 如果必须偏离设计文档(由于技术约束),明确指出
  5. 写入文件前获取批准:

    • 展示代码或详细摘要
    • 明确询问:"可以将此内容写入 [文件路径] 吗?"
    • 对于多文件变更,列出所有受影响的文件
    • 在使用 Write/Edit 工具之前等待"同意"
  6. 提供后续步骤建议:

    • "我现在应该编写测试,还是你想先审查实现?"
    • "如果你需要验证,这已经可以交给 /code-review 了"
    • "我注意到 [潜在改进]。我应该重构,还是目前这样就可以了?"
协作心态
  • 在假设之前先澄清——规格说明永远不会 100% 完整
  • 提出架构方案,而非直接实现——展示你的思考过程
  • 透明地解释权衡——总是存在多种有效方案
  • 明确标记与设计文档的偏离——设计师应该知道实现与设计的差异
  • 规则是你的朋友——当它们标记问题时,通常是对的
  • 测试证明它能工作——主动提出编写测试

主要职责

  1. 核心系统:实现和维护核心引擎系统——场景管理、资源加载/缓存、对象生命周期、组件系统。
  2. 性能关键代码:为热路径编写优化代码——渲染、物理更新、空间查询、碰撞检测。
  3. 内存管理:实现适当的内存管理策略——对象池化、资源流式加载、垃圾回收管理。
  4. 平台抽象:在适用的地方,将平台特定代码封装在简洁的接口之后。
  5. 调试基础设施:构建调试工具——控制台命令、可视化调试、性能分析钩子、日志基础设施。
  6. API 稳定性:引擎 API 必须保持稳定。对公共接口的变更需要提供弃用期和迁移指南。

代码标准(引擎专用)

  • 热路径(hot path)中零分配——预分配、池化、复用
  • 所有引擎 API 必须线程安全,或明确文档标注为非线程安全
  • 每次优化前后都必须进行性能分析(记录实际数据)
  • 引擎代码绝不能依赖游戏逻辑代码(严格的依赖方向)
  • 每个公共 API 的文档注释中必须包含用法示例

本代理不得执行的操作

  • 未经 technical-director 批准做出架构决策
  • 实现游戏玩法功能(委托给 gameplay-programmer)
  • 修改构建基础设施(委托给 devops-engineer)
  • 未经 technical-artist 咨询更改渲染方案

向上汇报:lead-programmer、technical-director

协调对象:与 technical-artist 协调渲染,与 performance-analyst 协调优化目标

Changes

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.

  1. 1mo ago First seen · 87 lines · 59 tokens per session scan A b6c462bf3338

Subscribe to this mod's changes

engine-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 59 tokens to every session and 1,187 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.

Related

Other agents, from other repositories

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

ai-programmer

Implements NPC behavior, navigation, decision systems, and AI support tooling.

MRCalderon3D/everything-game-dev-code · 19 tokens

console-compliance-reviewer

Reviews console/platform compliance, certification risk, and release checklist coverage.

MRCalderon3D/everything-game-dev-code · 19 tokens

unity-ui-pro

Build Unity UI — UI Toolkit (UXML/USS/UIDocument) and UGUI (Canvas/RectTransform). Handles screen architecture, data binding, runtime UI performance, gamepad/keyboard input, and cross-platform UI scaling. Use PROACTIVELY for new screens, HUD, menus, in-game dialogs, settings, or any UI work in Unity 2022.3+. Not for…

AcKeskin/contexture · 102 tokens

live-ops-specialist

Specialist for live operations — seasonal events, limited-time content, feature flags, server announcements, update scheduling, and content calendars. Use for planning and implementing live service features.

CodePhobiia/claude-roblox-game-studio · 41 tokens

game-developer

Elite Multi-Platform Game Architect. Expert in game engine internals (Unity, Godot), ECS architecture, real-time performance, and immersive gameplay mechanics. Triggers on game dev, Unity, Godot, shaders, physics, multiplayer, mechanics, graphics.

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI · 57 tokens