inputsystem-binding-set

Update binding path, groups, interactions, and processors on a Unity InputAction by index.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/PMK95/GridSquad --skill inputsystem-binding-set-pmk95
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: inputsystem-binding-set
Source: https://github.com/PMK95/GridSquad/tree/main/GridSquadUnity/.agents/skills/inputsystem-binding-set
Command: npx skills add https://github.com/PMK95/GridSquad --skill inputsystem-binding-set-pmk95

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Editing individual bindings inside a Unity .inputactions asset by hand is slow and error-prone, especially when you only need to change one field like the control path or interactions. This Skill updates a specific binding on an InputAction by index, changing only the fields you supply and leaving everything else untouched. ## Core Features & Use Cases - Targeted Binding Updates: Modify the path, groups, interactions, or processors of a single binding identified by its zero-based index on an Action. - Partial Field Application: Only the parameters you provide are applied via the ChangeBinding syntax (WithPath / WithGroups / WithInteractions / WithProcessors); all other fields remain unchanged. - Automatic Save and Re-import: The asset is saved and re-imported on the Unity main thread after the update. - Use Case: You need to rebind the Jump action's second binding from <Keyboard>/space to <Gamepad>/buttonSouth and add a press interaction. Call the tool with the asset path, map name, action name, binding index, and the new path and interactions. ## Quick Start Ask the AI to update binding index 1 on the Jump action in Assets/Input/Player.inputactions with a new path of <Gamepad>/buttonSouth using the inputsystem-binding-set tool.

Frequently Asked Questions about inputsystem-binding-set

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I change a binding path on a Unity InputAction?▼

Use the inputsystem-binding-set tool with the asset path, map name, action name, and the binding's zero-based index, then supply the new path value. Only the fields you provide are changed; the asset is saved and re-imported automatically.

How do I find the binding index before updating it?▼

Use the inputsystem-get skill to inspect the Action and list its bindings with their indices. The binding index is zero-based, and the update fails if the index is out of range.

Can I update only interactions without changing the binding path?▼

Yes. All fields except assetPath, mapName, actionName, and bindingIndex are optional. Supply only the interactions parameter and the path, groups, and processors remain unchanged.

What happens if the binding index is out of range?▼

The operation fails when the binding index does not exist on the resolved Action. Verify the index first with inputsystem-get, and confirm the mapName and actionName match the asset contents.

What should I do if unity-mcp-cli is not found?▼

Install it globally with npm install -g unity-mcp-cli or run it via npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation instructions.