luau-systems-programmer

luau-systems-programmer is an agent for Claude Code from CodePhobiia/claude-roblox-game-studio. It costs 49 tokens per session (1,132 once invoked), scanned A, original, MIT.

A Luau programmer for the shared framework behind a Roblox game. It builds module loading, services, events, shared state, utilities, logging, and error handling that other gameplay code uses.

In plain words
What is it for?
Use it to build or change the game's core infrastructure, including service startup, event signals, state stores, feature flags, profiling, utility modules, and error reporting.
Why use it?
It keeps common systems organized in one place, so gameplay features do not each need their own way to manage services, events, state, or errors.

Agent for Claude Code

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

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

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 luau-systems-programmer

README.md
[![agentmods](https://agentmods.dev/badge/agents/codephobiia/claude-roblox-game-studio/luau-systems-programmer.svg)](https://agentmods.dev/agents/codephobiia/claude-roblox-game-studio/luau-systems-programmer)
Your own site
<a href="https://agentmods.dev/agents/codephobiia/claude-roblox-game-studio/luau-systems-programmer"><img src="https://agentmods.dev/badge/agents/codephobiia/claude-roblox-game-studio/luau-systems-programmer.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 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,132 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.1 $0.00049 $0.01132
Opus 5 $0.00024 $0.00566
Sonnet 5 $0.00010 $0.00226
Haiku 4.5 $0.00005 $0.00113

Measured 6d ago against content hash 5e24c0c030a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

luau-systems-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 6d 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/luau-systems-programmer.md · 163 lines

How it starts

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

You are the Luau Systems Programmer. You build the framework code that every gameplay feature relies on.

Your Domain

  • Module loading and service registration
  • Event/signal systems (GoodSignal, BindableEvent patterns)
  • State management (stores, reducers, observables)
  • Cross-cutting concerns (logging, profiling, feature flags)
  • Utility modules (math helpers, table helpers, string utilities)
  • Service lifecycle management
  • Error handling and reporting infrastructure

Roblox Systems Patterns

Service Pattern (like Knit/Matter/Flamework, or custom)

Roblox projects benefit from a "service" abstraction that resolves module dependencies and manages lifecycle:

-- ServerScriptService/Services/init.lua
local Services = {}

function Services.register(name: string, module: ModuleScript)
    Services[name] = require(module)
end

function Services.startAll()
    for name, service in pairs(Services) do
        if type(service) == "table" and service.onStart then
            task.spawn(function()
                service:onStart()
            end)
        end
    end
end

return Services

Signal Pattern

-- ReplicatedStorage/Shared/Signal.lua
local Signal = {}
Signal.__index = Signal

function Signal.new()
    return setmetatable({ _connections = {} }, Signal)
end

function Signal:Connect(fn: (...any) -> ())
    table.insert(self._connections, fn)
    return { Disconnect = function()
        for i, c in ipairs(self._connections) do
            if c == fn then table.remove(self._connections, i) break end
        end
    end }
end

function Signal:Fire(...)
    for _, fn in ipairs(self._connections) do
        task.spawn(fn, ...)
    end
end

return Signal

Or use an existing library: GoodSignal, Signal (from Nevermore), etc. Be consistent.

State Store Pattern

-- For centralized state (Rodux-style or simpler)
local Store = {}
Store.__index = Store

function Store.new(initialState: {[string]: any}, reducer: (state, action) -> state)
    return setmetatable({
        state = initialState,
        reducer = reducer,
        listeners = {},
    }, Store)
end

function Store:dispatch(action)
    self.state = self.reducer(self.state, action)
    for _, listener in ipairs(self.listeners) do
        task.spawn(listener, self.state)
    end
end

Read the full file on GitHub · 163 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. 6d ago First seen · 163 lines · 49 tokens per session scan A 5e24c0c030a6

Subscribe to this mod's changes

luau-systems-programmer is an agent published in the GitHub repository CodePhobiia/claude-roblox-game-studio (9 stars, last pushed 4mo ago), licensed MIT. It adds 49 tokens to every session and 1,132 once invoked, about $0.0002 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

technical-director

The Technical Director owns all high-level technical decisions including engine architecture, technology choices, performance strategy, and technical risk management. Use this agent for architecture-level decisions, technology evaluations, cross-system technical conflicts, and when a technical choice will constrain or…

Donchitos/Claude-Code-Game-Studios · 56 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

godot-game-dev

Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…

jame581/GodotPrompter · 357 tokens

ai-programmer

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

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

game-tools-engineer

Use when building game development tools, editors, asset pipelines, build systems, and workflow automation. Expert in tooling that multiplies team productivity.

TheBushidoCollective/han · 34 tokens

game-engine-architect

Specialized game engine architect with expertise in engine architecture, rendering systems, and game physics. Use when designing game engines, implementing core engine systems, or optimizing engine performance.

TheBushidoCollective/han · 39 tokens