All posts
·Rebind

RebindGPT: Write Hardware Macro Scripts with AI

RebindGPT understands the full Rebind SDK and generates working Luau scripts from plain English descriptions. Describe what you want — get a script you can paste and run.

rebind scriptrebind luahardware macrosairebind device

Writing scripts for Rebind doesn't require you to know Luau. RebindGPT is an AI assistant trained on the complete Rebind SDK — every namespace, every hook, every modeline option — that generates working scripts from plain English descriptions.

You describe what you want. It writes the script. You paste it into the Rebind UI and run it.

What you can ask for

RebindGPT understands the full scope of what Rebind can do, so you can describe things at any level:

Simple remaps:

"Remap CapsLock to Escape"

Sequences:

"When I press F9, select all, copy, move to end of document, and paste"

Game-specific:

"SOCD handler for WASD — last key pressed wins when I hold opposing directions"

Per-application:

"Make my mouse side buttons navigate browser tabs in Chrome and Firefox, and undo/redo in Photoshop"

Advanced:

"Create a complete IPC system using shared memory so a Python script can send commands to Rebind and trigger keyboard output"

That last one is a real example — a user asked RebindGPT for a low-latency IPC system connecting an external Python process to Rebind's HID output, and got a complete working implementation covering both the Luau script and the Python side.

How to use it

RebindGPT is available as a custom GPT. Open it, describe the script you want, and it will:

  1. Ask any clarifying questions it needs (which key triggers it, what app it targets, etc.)
  2. Generate a complete Luau script with proper modeline, UI schema, and all required hooks
  3. Explain what the script does and any configuration options

Copy the output, go to Modules in the Rebind UI, create a new script, paste, and run.

What it knows

RebindGPT is trained on the complete SDK reference, all example scripts, the scripting guide, and the key reference. It knows:

  • Every hook (OnDown, OnUp, OnMove, OnScroll, OnTick, OnFocus, OnBlur, and more)
  • The full HID namespace including combo syntax (HID.Press("LCtrl+LShift+T"))
  • Run(), Sleep(), Async(), After(), Bind() — the full async model
  • UI.Schema and all widget types for generating settings panels
  • Net, File, Config, Clipboard, Audio, Screen, Window, Regex, Pipe, Macro, Timer, System
  • Modeline options (process=, window=, tick_rate=, z_index=, mouse_block=, etc.)
  • All key names and aliases from the key reference

If you ask for something that needs a permission (like Net calls or System.Exec), it adds the correct -- rebind: permission= line automatically.

Examples of what users have built

SnapTap / SOCD — last-input-wins for WASD, hardware-level, no detection footprint. One of the most-requested scripts. RebindGPT generates a complete implementation with a UI toggle.

Twitch Streamer Toolkit — hotkeys for clip creation, ad breaks, slow mode toggle, and stream markers, all via the Twitch API. Complete with credentials UI, cooldown handling, and session logging. RebindGPT generated the full 100+ line script including Net.Post calls, Async handlers, and File.Append logging.

Tremor smoothing — exponential mouse smoothing with a configurable threshold, for users with limited motor control. RebindGPT generated it with a UI.Slider for the smoothing factor and a UI.Slider for the jitter filter threshold.

Workflow hub — a single script that makes Mouse4 and Mouse5 do different things depending on what app is focused: undo/redo in Photoshop, tab navigation in browsers, folder navigation in Explorer. Described in two sentences, generated as a complete script.

When to write it yourself

RebindGPT is fast for getting a first version. If you're building something truly custom — a unique timing pattern for a specific game mechanic, a macro that needs precise tuning — you'll likely end up editing the generated script. The output is clean Luau with comments, so it's easy to modify.

The getting started guide and SDK documentation are useful companions when you want to understand what the generated code is doing or extend it further.

Try it

RebindGPT is at rebind.gg — look for the AI link in the navigation. Describe what you want to automate and it will generate a script you can run in minutes.

Back to all posts