rbx-controls
Skill0 starsChanged 3 months agoMITView on GitHub
Domain router for camera and input — triages camera rigs, cutscene cameras, shake, and keyboard/touch/gamepad bindings so control feel matches top games on every device. Use when the user says "make it first person", "over-the-shoulder camera", "lock the camera", "screen shake", "add a sprint key", "mobile buttons", "controller support", or when the camera fights the player, clips through walls, or the game is unplayable on phones. Do not use for vehicles or character physics — load `rbx-physics` — or for the visual layout of on-screen buttons — load `rbx-ui` for visuals; the bindings stay here.
In this repository253 other files it gives its agents.
- rbx-abtestSkill
- rbx-accessibilitySkill
- rbx-analytics-eventsSkill
- rbx-analytics-funnelsSkill
- rbx-analytics-readingSkill
- rbx-animationSkill
- rbx-anim-cutscenesSkill
- rbx-anim-npcSkill
- rbx-anim-proceduralSkill
- rbx-anim-rigsSkill
- rbx-anim-tweenSkill
- rbx-architectureSkill
- rbx-assets-audioSkill
- rbx-assets-id-policySkill
- rbx-assets-sanitizeSkill
- rbx-assetsSkill
- rbx-assets-toolboxSkill
- rbx-assets-webSkill
- rbx-audio-feedback-mapSkill
- rbx-audio-mixingSkill
- rbx-audio-musicSkill
- rbx-audio-sfxSkill
- rbx-audioSkill
- rbx-audio-spatialSkill
- rbx-badges-groupsSkill
- rbx-build-compositionSkill
- rbx-build-detailingSkill
- rbx-build-greyboxSkill
- rbx-buildingSkill
- rbx-build-interiorsSkill
- rbx-build-kitbashSkill
- rbx-build-landscapeSkill
- rbx-build-propsSkill
- rbx-build-scaleSkill
- rbx-build-structuresSkill
- rbx-camera-controllersSkill
- rbx-camera-cutsceneSkill
- rbx-camera-shakeSkill
- rbx-chat-moderationSkill
- rbx-ciSkill
- rbx-combat-abilitiesSkill
- rbx-combat-hitregSkill
- rbx-combat-meleeSkill
- rbx-combat-rangedSkill
- rbx-combatSkill
- rbx-combat-statusSkill
- rbx-complianceSkill
- rbx-comprehendSkill
- rbx-data-crossserverSkill
- rbx-data-profilestoreSkill
- rbx-data-recoverySkill
- rbx-data-schemaSkill
- rbx-data-sessionlockSkill
- rbx-dataSkill
- rbx-design-difficultySkill
- rbx-design-loopSkill
- rbx-design-sheetSkill
- rbx-design-socialSkill
- rbx-economy-currenciesSkill
- rbx-economy-gachaSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Distinctive: line 51
Every new action binds all three input classes on day one: keyboard, touch, gamepad.
- Very specific: line 57
All shake routes through one trauma system per rbx-camera-shake.
≈ “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.
Files
rbx-controls — domain router
Camera and input are one domain because they fail together: a custom camera without matching input remaps is unplayable, and a new action without a camera answer feels dead. Route both halves of every request.
Triage
- AI-DIRECT — the entire domain: camera rigs, shake, bindings, mobile and gamepad adaptation are pure LocalScript work, done fully in-session.
- HYBRID — none. If a request drags in a sourced asset (a vehicle body, a button sprite),
that part routes to
rbx-assetsorrbx-ui-imagery; the control code stays here. - HANDOFF — none. No dashboard or auth step lives in this domain.
Routing
| Request smells like | Load |
| First/third person, over-shoulder, top-down, locked camera | rbx-camera-controllers |
| Cutscene camera path, focus pull, letterboxing | rbx-camera-cutscene (+ rbx-anim-cutscenes when actors move — don't ask, include it) |
| Screen shake, impact kick, recoil punch | rbx-camera-shake (+ rbx-juice-screenfx — don't ask, include it) |
| Sprint key, ability hotkeys, interact prompt, rebinding | rbx-input-bindings (+ rbx-input-mobile — don't ask, include it) |
| Virtual joystick, touch buttons, gestures | rbx-input-mobile (+ rbx-ui-mobile for touch-target sizing — don't ask, include it) |
| Controller support, console, gamepad UI navigation | rbx-input-gamepad |
| Camera while driving, drift camera | rbx-vehicles-tuning — that domain owns driving feel |
| "Camera clips through walls", zoom fights the player | rbx-camera-controllers (+ rbx-script-debug after two failed hypotheses) |
A request that names a device ("on mobile it's broken") loads the device subskill plus the subskill that owns the broken feature — never the device one alone.
Defaults (ship without being asked)
- Every new action binds all three input classes on day one: keyboard, touch, gamepad. Keyboard-only bindings are a bug, not a first pass.
- ContextActionService over raw UserInputService for gameplay actions — it stacks, unbinds
cleanly, and creates mobile buttons for free;
rbx-input-mobilethen positions and sizes them. - Camera scripts set CameraType to Scriptable only for the moments they own and always hand control back — a player stuck in a dead camera is a session killer.
- All shake routes through one trauma system per
rbx-camera-shake; never stack raw CFrame offsets from multiple scripts. - Cutscene cameras and shake respect a reduced-motion setting when the game offers one —
wire the toggle via
rbx-ui-settings, rationale inrbx-accessibility.
Shared law
mcp-tools · luau-contract · quality-bars
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
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.

