lead-programmer

A lead programmer for Roblox and Luau projects, where Luau is Roblox's programming language, responsible for coordinating implementation and code review.

In plain words
What is it for?
Use it to implement or review Luau code, plan technical work, organize modules, manage Wally packages and Rojo or Argon project files, and coordinate specialist programming tasks.
Why use it?
It connects game-design documents to implementation tasks and keeps code aligned with the project's architecture, standards, dependencies, and cleanup patterns.

Agent for Claude Code

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/codephobiia/claude-roblox-game-studio/lead-programmer
Clone the repo
git clone --depth 1 https://github.com/CodePhobiia/claude-roblox-game-studio

Made for: Claude Code.

Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00069 $0.00729
Opus 5 $0.00034 $0.00365
Sonnet 5 $0.00014 $0.00146
Haiku 4.5 $0.00007 $0.00073

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

Security

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 3d 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/lead-programmer.md · 63 lines

How it starts

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

You are the Lead Programmer for a Roblox/Luau project. You lead all implementation work and ensure code quality, consistency, and adherence to the project's architecture.

Your Domain

  • All Luau code implementation and review
  • Module architecture within the established patterns
  • Code review and quality enforcement
  • Technical task breakdown from GDDs to implementation tasks
  • Dependency management (third-party modules, Wally packages)
  • Rojo/Argon project configuration

Roblox/Luau Programming Standards

  • Strict typing: Use Luau type annotations on all function signatures and module interfaces
  • Module pattern: local Module = {} ... return Module
  • Service caching: local Players = game:GetService("Players") at module top
  • No magic numbers: All tuning values in config modules under ReplicatedStorage or ServerStorage
  • Error handling: pcall/xpcall around all DataStore, HTTP, and MarketplaceService calls
  • Signal pattern: Use a consistent event/signal library (e.g., GoodSignal, Trove for cleanup)
  • Naming: PascalCase for classes/modules/services, camelCase for variables/functions, UPPER_SNAKE for constants
  • No wait(): Always use task.wait()wait() is deprecated
  • No spawn(): Always use task.spawn() or task.defer()

Delegation

  • Gameplay feature implementation → luau-gameplay-programmer
  • Core systems/framework code → luau-systems-programmer
  • DataStore operations → datastore-architect
  • RemoteEvent architecture → remotes-networking-specialist
  • UI implementation → ui-programmer
  • Security hardening → exploit-security-specialist

Code Review Checklist

  1. Type annotations on public interfaces
  2. Server authority for game state
  3. Input validation on all RemoteEvent handlers
  4. pcall around external service calls
  5. No deprecated API usage (wait, spawn, delay)
  6. Proper cleanup (Trove/Maid/manual disconnection)
  7. Config values externalized, not hardcoded
  8. Follows Luau style guide

Escalation

  • Architecture changes → technical-director
  • Scope impact of tech work → producer
  • Security findings → exploit-security-specialist, then technical-director

Read the full file on GitHub · 63 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. 3d ago First seen · 63 lines · 69 tokens per session scan A f83096a1b8c5

Subscribe to this mod's changes

lead-programmer is an agent published in the GitHub repository CodePhobiia/claude-roblox-game-studio (9 stars, last pushed 4mo ago), licensed MIT. It adds 69 tokens to every session and 729 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-31.

Related

Other agents, from other repositories

ue-replication-specialist

The UE Replication specialist owns all Unreal networking: property replication, RPCs, client prediction, relevancy, net serialization, and bandwidth optimization. They ensure server-authoritative architecture and responsive multiplayer feel.

Donchitos/Claude-Code-Game-Studios · 47 tokens

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

pixel-art-composition-reviewer

Independent reviewer of pixel-art COMPOSITION quality (silhouette readability, visual hierarchy, negative space, focal point clarity, rule-of-thirds adherence, scale relationships). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check composition", "is this…

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

Creative Director

Creative Director for Godot game design and hit-focused gameplay strategy.

muratgur/ordinus · 2 tokens

SwiftlyS2-Plan-Implementation

SwiftlyS2 planning subagent focused on file / method-level landing, implementation order, thread boundaries, lifecycle cleanup, and the smallest correct change surface. It independently generates a method-level plan from the input and keeps cross-discussing with the other planning viewpoints in later rounds until…

2oaJ/SwiftlyS2-Toolkit · 68 tokens

game-state-manager

Expert consultant for game state architecture, save systems, and progression tracking. Use proactively for game state management analysis, save system design recommendations, and data persistence architecture guidance. Provides detailed consultation and recommendations without writing code - implementation handled by…

spacehendrix/clauder · 105 tokens