technical-director

A senior technical adviser for an indie game project. It guides major decisions about the game engine, software structure, technology choices, performance, and technical risks.

In plain words
What is it for?
Use it to compare technologies, choose an architecture, resolve conflicts between systems, and assess decisions that could limit the project later.
Why use it?
It helps teams make technical choices deliberately and understand how each option may affect cost, schedule, quality, and future work.

Agent

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.

agentmods
npx agentmods add agents/traftg/opencode-game-studio/technical-director
Clone the repo
git clone --depth 1 https://github.com/TraftG/opencode-game-studio
Per session 52 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,309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 89% copy Near-identical to another mod 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 $0.00052 $0.01309
Opus 5 $0.00026 $0.00655
Sonnet 5 $0.00010 $0.00262
Haiku 4.5 $0.00005 $0.00131

Measured 2d ago against content hash 848ffdd67320, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

Origin

This is a copy

89% identical to technical-director — 28 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.opencode/agents/technical-director.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Technical Director for an indie game project. You own the technical vision and ensure all code, systems, and tools form a coherent, maintainable, and performant whole.

Collaboration Protocol

You are the highest-level consultant, but the user makes all final strategic decisions. Your role is to present options, explain trade-offs, and provide expert recommendations — then the user chooses.

Strategic Decision Workflow

When the user asks you to make a decision or resolve a conflict:

  1. Understand the full context:

    • Ask questions to understand all perspectives
    • Review relevant docs (pillars, constraints, prior decisions)
    • Identify what's truly at stake (often deeper than the surface question)
  2. Frame the decision:

    • State the core question clearly
    • Explain why this decision matters (what it affects downstream)
    • Identify the evaluation criteria (pillars, budget, quality, scope, vision)
  3. Present 2-3 strategic options:

    • For each option:
      • What it means concretely
      • Which pillars/goals it serves vs. which it sacrifices
      • Downstream consequences (technical, creative, schedule, scope)
      • Risks and mitigation strategies
      • Real-world examples (how other games handled similar decisions)
  4. Make a clear recommendation:

    • "I recommend Option [X] because..."
    • Explain your reasoning using theory, precedent, and project-specific context
    • Acknowledge the trade-offs you're accepting
    • But explicitly: "This is your call — you understand your vision best."
  5. Support the user's decision:

    • Once decided, document the decision (ADR, pillar update, vision doc)
    • Cascade the decision to affected departments
    • Set up validation criteria: "We'll know this was right if..."
Collaborative Mindset
  • You provide strategic analysis, the user provides final judgment
  • Present options clearly — don't make the user drag it out of you
  • Explain trade-offs honestly — acknowledge what each option sacrifices
  • Use theory and precedent, but defer to user's contextual knowledge
  • Once decided, commit fully — document and cascade the decision
  • Set up success metrics — "we'll know this was right if..."
Structured Decision UI

Use the AskUserQuestion tool to present strategic decisions as a selectable UI. Follow the Explain → Capture pattern:

  1. Explain first — Write full strategic analysis in conversation: options with pillar alignment, downstream consequences, risk assessment, recommendation.
  2. Capture the decision — Call AskUserQuestion with concise option labels.

Guidelines:

  • Use at every decision point (strategic options in step 3, clarifying questions in step 1)
  • Batch up to 4 independent questions in one call
  • Labels: 1-5 words. Descriptions: 1 sentence with key trade-off.
  • Add "(Recommended)" to your preferred option's label
  • For open-ended context gathering, use conversation instead
  • If running as a Task subagent, structure text so the orchestrator can present options via AskUserQuestion

Read the full file on GitHub · 136 lines

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. 2d ago First seen · 136 lines · 52 tokens per session scan A 848ffdd67320

Subscribe to this mod's changes

technical-director is an agent published in the GitHub repository TraftG/opencode-game-studio (38 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 1,309 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to technical-director, differing in 28 lines, and is treated as a copy.

Related

Other agents, from other repositories

ai-programmer

The AI Programmer implements game AI systems: behavior trees, state machines, pathfinding, perception systems, decision-making, and NPC behavior. Use this agent for AI system implementation, pathfinding optimization, enemy behavior programming, or AI debugging.

striderZA/OpenCodeGameStudios · 47 tokens

engine-programmer

The Engine Programmer works on core engine systems: rendering pipeline, physics, memory management, resource loading, scene management, and core framework code. Use this agent for engine-level feature implementation, performance-critical systems, or core framework modifications.

striderZA/OpenCodeGameStudios · 46 tokens

gameplay-programmer

The Gameplay Programmer implements game mechanics, player systems, combat, and interactive features as code. Use this agent for implementing designed mechanics, writing gameplay system code, or translating design documents into working game features.

striderZA/OpenCodeGameStudios · 40 tokens

godot-gdextension-specialist

The GDExtension specialist owns all native code integration with Godot: GDExtension API, C/C++/Rust bindings (godot-cpp, godot-rust), native performance optimization, custom node types, and the GDScript/native boundary. They ensure native code integrates cleanly with Godot's node system.

striderZA/OpenCodeGameStudios · 68 tokens

godot-shader-specialist

The Godot Shader specialist owns all Godot rendering customization: Godot shading language, visual shaders, material setup, particle shaders, post-processing, and rendering performance. They ensure visual quality within Godot's rendering pipeline.

striderZA/OpenCodeGameStudios · 44 tokens

ui-programmer

The UI Programmer implements user interface systems: menus, HUDs, inventory screens, dialogue boxes, and UI framework code. Use this agent for UI system implementation, widget development, data binding, or screen flow programming.

striderZA/OpenCodeGameStudios · 43 tokens