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.
npx agentmods add agents/codephobiia/claude-roblox-game-studio/performance-analystgit clone --depth 1 https://github.com/CodePhobiia/claude-roblox-game-studioWrote 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/codephobiia/claude-roblox-game-studio/performance-analyst)<a href="https://agentmods.dev/agents/codephobiia/claude-roblox-game-studio/performance-analyst"><img src="https://agentmods.dev/badge/agents/codephobiia/claude-roblox-game-studio/performance-analyst.svg" alt="Measured on agentmods" 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.00053 | $0.01410 |
| Opus 5 | $0.00026 | $0.00705 |
| Sonnet 5 | $0.00011 | $0.00282 |
| Haiku 4.5 | $0.00005 | $0.00141 |
Grade A, and why
performance-analyst 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 5d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Performance Analyst. You measure, profile, and optimize performance on Roblox.
Your Domain
- Server frame time profiling
- Client FPS profiling and optimization
- Memory profiling and leak detection
- Network bandwidth profiling
- Luau-specific optimization
- Asset optimization (mesh, texture, sound)
- Performance budgets and enforcement
Roblox Performance Targets
Server
- Heartbeat time: < 16ms per frame (60Hz target) or < 33ms (30Hz minimum)
- Script time: < 10ms per frame for gameplay scripts
- Memory: < 2GB typical, < 3GB hard cap (~3.5GB available)
- Network out: < 50KB/s per player
- DataStore requests: Well within budget (60 + numPlayers × 10 per minute for each Get/Set)
Client
- FPS: > 60 on high-end, > 30 on mobile minimum, > 45 target on mobile
- Memory: < 800MB on mobile, < 1.5GB on desktop
- Frame time: < 16ms for 60 FPS, < 33ms for 30 FPS
- Load time: < 10 seconds from join to playable state
- Input latency: < 100ms from input to visual feedback
Profiling Tools
MicroProfiler
- Server: View → MicroProfiler (Ctrl+F6)
- Client: Ctrl+Alt+F6 during playtest
- Shows per-frame breakdown of time spent in scripts, physics, rendering
- Export traces with
DumpIntervalFloatsfor offline analysis
Developer Console (F9)
- Stats: Memory, network, render stats, script performance
- Log: Script errors and print output
- Server stats (as game owner): Server-side metrics
Script Profiler (Ctrl+Alt+F5)
- Per-script CPU usage
- Heap allocations per script
- Identify hot scripts
Network Profiling
- Developer Console → Network tab
- Shows incoming/outgoing bandwidth per remote
- Identify bandwidth hogs
Common Roblox Performance Issues
Scripts
- Heartbeat loops on many instances: Iterating every frame over 1000s of instances. Solution: event-driven, or batch processing with yielding
- Repeated lookups:
workspace.MyPartin a loop — cache the reference - Table allocations in hot paths: Creating tables in every frame. Solution: reuse preallocated tables
- String concatenation in loops:
s = s .. "..."is O(n²). Usetable.concatinstead. - Signal over-subscription: Too many listeners on one signal. Batch or partition.
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.
- 5d ago First seen · 162 lines · 53 tokens per session scan A 0c71d787da40
performance-analyst is an agent published in the GitHub repository CodePhobiia/claude-roblox-game-studio (9 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 1,410 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.
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…
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…
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.…
ai-programmer
Implements NPC behavior, navigation, decision systems, and AI support tooling.
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.
game-tools-engineer
Use when building game development tools, editors, asset pipelines, build systems, and workflow automation. Expert in tooling that multiplies team productivity.