agentleFS
TabooHarmonyTabooHarmony/roblox-brain/skills/tools/roblox-studio-mcp/SKILL.md

roblox-studio-mcp

Skill71 starsChanged 2 months agoMITView on GitHub

Use when working with Roblox Studio through built-in MCP for scripts, scenes, generated assets, input, or playtesting.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read before write; read back after every script, asset, or geometry mutation.

    line 40
  2. Very specific:

    Call wait_job_finished before edits that depend on a generation job.

    line 42
  3. Distinctive:

    If MCP is absent, provide offline Luau and state what was not verified.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Roblox Studio MCP

When to Load

Load for Studio MCP work: scripts, scenes, assets, debugging, or playtesting. Skip for standalone code generation.

Quick Reference

Route by capability first. Two Studio MCP bridges exist: the official (built into Studio, closed-source) and chrrxs's (MIT). Route on tools/list (get_connected_instances/eval_*/multiplayer_* → chrrxs; list_roblox_studios + per-call studio_id → official) BEFORE bridge-specific bootstrap.

Bootstrap before mutation

  1. Identify the target via list_roblox_studios (official) or get_connected_instances (chrrxs).
  2. Pass the target's studio_id (official) or instance_id (chrrxs) on every tool call.
  3. get_studio_state and confirm Edit/Client/Server availability.
  4. Inspect the target tree and scripts before changing them.

Execution contract

discover → select Studio/context → inspect → mutate in bounded batches
→ read back → start play → evaluate live → evidence → clean up

Edit-time injection (multi_edit, Edit-context execute_luau) writes scripts; it never targets a running playtest. Live evaluation targets a running VM: start play, wait for the intended Client/Server VM, then evaluate there. A stopped VM is never a live-evaluation target. Pass datamodel_type only where the tool requires it; do not guess from a previous session.

Capabilities

Inspect (search_game_tree, inspect_instance, script_read, script_grep), edit/execute (multi_edit, execute_luau), assets (search_asset/insert_asset, generate_* with wait_job_finished, store_image/upload_image), play/evidence (start_stop_play, get_console_output, screen_capture, input simulation, subagent).

Reliability rules

  • execute_luau is stateless: re-acquire references every call.
  • Read before write; read back after every script, asset, or geometry mutation.
  • Choose reuse vs generation vs native fallback before asset work.
  • Call wait_job_finished before edits that depend on a generation job.
  • Command-size limits are bridge-specific. Split large scripts into separate bounded multi_edit/execute_luau writes (or supported multi-edit operations), then read back the full payload to verify.
  • If MCP is absent, provide offline Luau and state what was not verified.

Full tool mappings, live schemas, asset workflows, and recovery rules: references/full.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.