Scenario Roblox Performanceのロゴ

Scenario Roblox Performance

組織人気
scenario-labs
scenario-roblox-performance

Use when a Roblox experience is slow, laggy, stuttering, crashing or out of memory, or before shipping or updating one: my game lags on mobile, low FPS, frame spikes, server lag or low heartbeat, physics lag, network lag or high KB/s, memory leaks or memory that keeps growing, crashes on phones, long join or load times, too many parts, instances, draw calls or triangles, MicroProfiler, Script Profiler, Luau heap, Developer Console memory, Scene Analysis, StreamingEnabled tuning, performance budgets, and publishing, releasing an update, restarting servers or rolling back a version.

概要

公開者scenario-labs
リポジトリskills
スキル名scenario-roblox-performance
スター
1.2K
フォーク
144
同梱ファイル
14
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 14個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    scenario-labsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Scenario Roblox Performance」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/scenario-labs/skills/tree/main/skills/game-engines/roblox/scenario-roblox-performance
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/game-engines/roblox/scenario-roblox-performance .claude/skills/scenario-roblox-performance
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでScenario Roblox Performanceを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にScenario Roblox Performanceを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Scenario Roblox Performanceは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Roblox Performance and Release

Target: Roblox Studio (October 2026 build) on macOS, driven through the scenario-roblox-expert toolkit.

Expert level here means every claim is a number from the side that hurts, taken before and after one change, and every fix removes work instead of hiding it. Budgets come from the low-end phone, and Studio numbers are labeled as Studio numbers. Release is part of performance: ship with a restart plan and a rollback path, and never publish without the owner.

If a sibling skill named here is missing from your available skills, load it with skill_get (Scenario MCP) or ask the user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-roblox-expert (channels, review loop, toolkit, current-Roblox traps).

Stance (the expert delta)

  1. Budget for the low-end phone; label Studio numbers as Studio numbers. McNeill's budget card targets a 2 GB phone: 500 draw calls, 500,000 triangles, 1.3 GB, 150,000 instances, 50 KB/s down (RDC 2024). Phones run CPU work about 4 times slower than a desktop. Studio memory "is incorrect in Studio, you need to test live" (McNeill). Studio runs the playtest Server and Client in one process, so server work shows in client frames [added, measured].
  2. Name the cause before the fix. Label every per-frame system with debug.profilebegin and fix the longest lowest-level label (Roblox Learn, MicroProfiler). Studio's execute_luau reaches the Script Profiler, so an agent gets the same answer by code: BasePart.CFrame [C] and the scan label led the lab's server time (measured).
  3. Gate on frame consistency, compared per frame. Fifty-nine 10 ms frames plus one 410 ms frame stutter at "60 fps" (Roblox Learn). Use the lead gate: p95 at most 1.2 times the budget, worst at most 2 times; healthy places read p95 17.2 to 17.4 ms at 60 fps. Compare script time per frame: per-frame work runs more often once a fix raises the frame rate [added, measured].
  4. Remove server work players never see. "Never tween on the server" (Crusherfire). Resizing a welded server part re-replicates the whole assembly (McNeill and Lynn, RDC 2025). Anchoring idle zombies halved one game's server CPU (same talk). Anchoring is not enough when the server still moves the parts: anchored coins spun by the server sent 7.6 to 10 MB/s in Studio, and 12 KB/s once clients spun them (measured; DataSendKbps is in kilobytes per second).
  5. A leak is a rising floor, named by its owner. Healthy memory is a sawtooth (Roblox Learn). Snapshot 3 or 4 times in the same state and trust only rows that keep rising (Crusherfire). Server leaks matter most, because a server outlives hundreds of players (Crusherfire). Destroy does not release a part's connections to other signals: each orb stayed in memory, unparented, held by its Heartbeat closure (measured).
  6. Replication is memory, bandwidth and join time. Tags and attributes on every part replicate to every client: one game's crash rate rose from 3 to 4 percent to 45 percent (McNeill and Lynn). Each server-owned moving assembly costs about 1 KB/s, and a join replicates about 10,000 instances per second (McNeill). Keep server-only data in Luau tables and heavy folders in ServerStorage; tune streaming instead of turning it off (Roblox Learn).
  7. Release is part of performance, and a person ships. Handle ServerRestartScheduled, restart only outdated servers, and investigate a client crash rate above 2 to 3 percent after an update (docs). A rollback is restore, publish, restart: restoring alone publishes nothing (docs). Agents prepare and dry-run; the owner publishes.

Establish first

  • Symptom and side: low client frame rate, server lag (heartbeat under 60, rubber-banding for everyone), crashes or memory, join time, or bandwidth. One owner per symptom.
  • Target devices: the lowest phone you support. Default: a 2 GB phone, 60 fps, budgets in critique.md.
  • Live data: Performance dashboard numbers (crash rate, server memory by age, frame rate by device) if the game is live.
  • Repro: a place or a scripted scenario that shows the problem in a playtest, with a debug spawner for load (N players, N NPCs, N items).
  • Release state: unreleased, live with players, or mid-update; who may publish and restart (always a person).
  • Defaults when unanswered: measure the Server and the Client, change one thing per playtest, no publish.

Procedure

  1. Reproduce under load. Goal: the slow case in a playtest, with numbers on both sides. How: a debug spawner driven by Workspace attributes (N players, N NPCs, N items; McNeill and Lynn), then rbx_perf.measure(pt, 6) on Server and Client at the same server time() (P2). GATE: baseline saved for both sides; the side that fails the frame gate is named.
  2. Audit statically. Goal: costly patterns and counts before playtesting. How: rbx_perf.audit_place(path) in Lune; PerfAudit.all(game) in Edit (P1). GATE: every warn fixed or justified in one line; counts inside the Numbers table.
  3. Name the cause. Goal: the function, label or asset that owns the cost. How: rbx_perf.script_profile(s, side) in the playtest; MicroProf.capture for labels in Edit; SceneScan.all() for triangles, instances and script memory (P3, P6). GATE: the top function or label is named with its ms per frame.
  4. Fix one thing per playtest. Goal: a proven gain, nothing else changed. How: flip one attribute, measure at the same offset, rbx_perf.compare(before, after) with its 5 percent noise floor. Patterns in P4. GATE: the metric the fix touches improves past the noise floor; no other metric gets worse; the frame gate holds on the side that hurts.
  5. Soak for leaks. Goal: memory that never comes down, with its owner. How: PerfProbe.soak, HeapProf.diff and SceneScan UnparentedInstances on the Server over 20 s or more, leak path on and off (P5). GATE: memory category growth and unparented instances stay flat; tracked objects stay bounded.
  6. Check scene, draws and streaming. Goal: the worst view fits the phone budget. How: Client Stats.SceneDrawcallCount and SceneTriangleCount, the batching probe (P7), streaming radii in the project file (P8). GATE: draw calls, triangles and instances inside the Numbers table at the worst view.
  7. Hand the phone list to the owner. Goal: device numbers Studio cannot give. How: the list in P9 and the GUI paths in gui-paths.md. GATE: memory and frame rate from a real phone, or the report says "Studio only".
  8. Release. Goal: an update players survive, with a way back. How: the restart handler (P10), saves from scenario-roblox-data, ShipCheck from scenario-roblox-tooling; the owner publishes and restarts outdated servers. GATE: handler tested in a playtest; the owner's go recorded; the agent never publishes.

Numbers

ValueNumberRelative to
Scene draw calls500 or fewer, UI includedlow-end phone, worst view (McNeill)
Scene triangles500,000 or fewersame
Shadow draw callsup to 3 times the scene drawssame
Client memoryunder 1.3 GB; ejections start past about 66 percent of 2 GB2 GB phone, on device (McNeill)
Instancesunder 150,000; about 10,000 per second on joinjoin time (McNeill)
Replication downunder 50 KB/sper client (McNeill; Crusherfire)
Server-owned moving assemblyabout 1 KB/s eachMcNeill
Phone CPUabout 4 times a desktop10 ms desktop is about 40 ms
Frame gatep95 at most 1.2 x budget (20 ms), worst at most 2 x (33.3 ms); healthy places read p95 17.2 to 17.4 ms60 fps (lead gate)
Server memory6.25 GiB plus 100 MiB per player; keep under halfdocs
Client crash rateinvestigate above 2 to 3 percentdocs
BulkMoveTo0.255 ms against 0.49 ms of per-part writesCrusherfire's spinner
Lab, all fixesServer script 12.0 to 0.36 ms per frame; server sends 6,526 to 11 KB/s; HUD instances 6,002 to 302Studio 0.743, desktop, one process

Quality gates

Measurable:

  • Frame gate on the side that hurts, from PerfProbe.window(...).gate or the lead Stats.frames.
  • rbx_perf.compare rows past the noise floor for the metric each fix touches, with one result file per variant.
  • PerfAudit 0 warn findings, or each one justified.
  • Soak: memory category growth and unparented instances flat; tracked objects bounded.
  • SceneScan and Client Stats: draw calls, triangles and instances inside the Numbers table.
  • Every per-frame system carries a debug.profilebegin label; long-lived threads set debug.setmemorycategory.
  • Restart handler connected in a playtest; P9 phone numbers reported by the owner or marked "Studio only".

Visual: a playtest capture through rbx_review of the worst view before and after (rbx_review.contact_sheet), and the MicroProfiler or Script Profiler capture taken by hand when a claim cites it (gui-paths.md). The full rubric is in critique.md.

Common mistakes

MistakeSymptomFix
Gating on fps or Studio memoryNumbers that phones never showFrame-time p95 and worst; the P9 phone list
Comparing ms per second after a fixPer-frame work looks worse once fps risesCompare ms per frame
Gating on Stats.HeartbeatTime, Client DataReceiveKbps or FrameTime in StudioSwings of 8 to 100 ms; 0 KB/s; 323 ms framesHeartbeat dt, Server DataSendKbps, physics counts, Script Profiler
Two changes in one playtestNo change can be creditedOne attribute per run
Windows taken at different timesLeaks make later runs heavierWait for the same server time()
Anchoring but still moving parts on the serverMB/s of replicationMove cosmetics on clients
Destroy without releasing outside connectionsUnparented parts and table entries climbDisconnect in Destroying:Once
Reading gcinfo() from execute_luauAbout 0.9 MB: the injected chunk's heapHeapProf memory categories
Server tweens or resizing welded partsReplication spikesClient-side tweens and resizes
Tags or attributes on every partMemory and crash rate riseServer data in Luau tables
Reading render stats from a covered Studio windowCounters frozen at one valuePut parts in view and check the counters move first
Grid cells keyed by Vector2Every lookup missesVector3 or number keys
Publishing to test a fixPlayers get an unproven buildOwner publishes; Version History restore, publish, restart

Handoffs

  • Receives from scenario-roblox-environment: EnvAudit counts and per-model streaming modes (environment owns per-model modes; streaming settings are decided here).
  • Receives from scenario-roblox-luau: Bench and Parallel results, native candidates and leak slopes.
  • Receives from scenario-roblox-gameplay: NPC bench numbers; from scenario-roblox-vfx-audio: emitter, beam and flipbook counts; from scenario-roblox-networking: payload sizes and send rates.
  • Delivers to scenario-roblox-luau: the leaking function or hot loop. Cleanup code (Leak, class template), native code and Actors live there.
  • Delivers to scenario-roblox-tooling: the go for a release. ShipCheck, Saved versions, Open Cloud publishing and :restartServers automation live there; agents run dry runs only.
  • Delivers to scenario-roblox-data: the restart plan, so BindToClose and session saves fit the 30 s shutdown budget.
  • Delivers to scenario-roblox-ui, scenario-roblox-assets and scenario-roblox-animation: UI draw calls, texture or mesh budgets and rig timers (updateInvalidatedFastClusters) that failed a gate.

Current Roblox notes

  • ScriptProfilerService and HeapProfilerService are PluginSecurity. Studio's execute_luau reaches both on the playtest Server and Client; a game Script gets "lacking capability Plugin" (measured, P3).
  • SceneAnalysisService exposes the Scene Analysis window as six queries. It answered in Edit, on the playtest Server and on the Client, and a game Script can call it (measured).
  • Draw calls and triangles are script-readable on the Client through Stats.SceneDrawcallCount and SceneTriangleCount. They froze when the Studio window stopped drawing 3D (measured).
  • Streaming is on for new places. Its Workspace settings are NotScriptable for game scripts and absent from the type definitions. From execute_luau only StreamingEnabled reads and writes; the radii fail with "is not a valid member of Workspace" (measured). Set them in the Properties panel or the Rojo project.
  • RunService.PreRender replaces RenderStepped. Lighting.LightingStyle replaces Technology (Future is Realistic plus PrioritizeLightingQuality). 4K textures are live since 2026-01-30.
  • Publishing needs the Maturity and Compliance questionnaire, and the place publishing API cannot update SurfaceAppearance, unions, EditableImage, EditableMesh or BaseWrap content.
  • require("@rbx/LibMP") exposes the MicroProfiler to execute_luau and the command bar (MCP skill rbx-perf-profiling). Edit snapshots hold full frames; playtest snapshots held 0 to 128 frames, fewer on heavy scenes (measured).

References

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Scenario Roblox Performance」では何ができますか?

Use when a Roblox experience is slow, laggy, stuttering, crashing or out of memory, or before shipping or updating one: my game lags on mobile, low FPS, frame spikes, server lag or low heartbeat, physics lag, network lag or high KB/s, memory leaks or memory that keeps growing, crashes on phones, long join or load times, too many parts, instances, draw calls or triangles, MicroProfiler, Script Profiler, Luau heap, Developer Console memory, Scene Analysis, StreamingEnabled tuning, performance budgets, and publishing, releasing an update, restarting servers or rolling back a version.

TypingMindでScenario Roblox Performanceを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Scenario Roblox Performanceはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにScenario Roblox Performanceをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/scenario-labs/skills/tree/main/skills/game-engines/roblox/scenario-roblox-performanceを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Scenario Roblox Performanceを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Scenario Roblox Performanceで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもScenario Roblox Performanceを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Scenario Roblox Performance」は無料ですか?

はい。scenario-labsがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇