Skip to content
Skill

Bevy input actions

Guides Bevy 0.20 games through rebindable input actions, gamepads and fixed-step input

Bevy input actions is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
38
Last commit
License
MIT
Listing updated

Similar skills

About Bevy input actions

This skill gives an AI coding agent a structured approach to input handling in Bevy 0.20 games. It describes translating raw keyboard, mouse and gamepad state, run after Bevy's InputSystems set in PreUpdate, into stable logical action IDs that gameplay, menus and prompts consume instead of hard-coded keys or controller entities.

The guidance covers the entity-based Gamepad model, connection messages, per-device GamepadSettings for deadzones and calibration, and how to keep active-player assignment separate from bindings. It also explains bridging frame-scoped input into FixedUpdate so presses, releases and accumulated mouse motion are delivered once and in order, even when a frame runs zero or several fixed ticks.

The skill includes a review checklist and pointers to deeper reference files on action models and rebinding, gamepads and platforms, and fixed-step buffering. It targets Bevy 0.20 specifically and lists version-specific API changes to watch for.

When your agent uses it

Use when building Bevy 0.20 input with `InputSystems`, entity-based `Gamepad`/`GamepadSettings`, `AccumulatedMouseMotion`, or `CursorOptions`: rebindable actions, hot-plugging, deadzones, Steam Deck, accessibility controllers, and correct transfer into `FixedUpdate`.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (18 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the raea plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add shinyobjectz/raea-skills
/plugin install raea@raea

Or copy only this skill to ~/.claude/skills/bevy-input-actions:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bevy-input-actions &&
cp -R "$tmp/skills/bevy/pack/bevy-input-actions" ~/.claude/skills/bevy-input-actions &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/bevy-input-actions inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/bevy-input-actions to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bevy-input-actions &&
cp -R "$tmp/skills/bevy/pack/bevy-input-actions" ~/.agents/skills/bevy-input-actions &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/bevy-input-actions inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/bevy-input-actions to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bevy-input-actions &&
cp -R "$tmp/skills/bevy/pack/bevy-input-actions" ~/.cursor/skills/bevy-input-actions &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/bevy-input-actions inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/shinyobjectz/raea-skills.git --path skills/bevy/pack/bevy-input-actions

Or copy the folder to ~/.gemini/skills/bevy-input-actions yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bevy-input-actions:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bevy-input-actions &&
cp -R "$tmp/skills/bevy/pack/bevy-input-actions" ~/.copilot/skills/bevy-input-actions &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/bevy-input-actions inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git

Then copy raea-skills/skills/bevy/pack/bevy-input-actions into your agent's skills folder as bevy-input-actions. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Stable action identifiers
Explains naming actions with persistent IDs so bindings, prompts and save data survive code reordering.
Gamepad entity handling
Covers querying Gamepad components, connection messages and keeping player assignment apart from device identity.
Deadzone and calibration rules
Describes applying a single filtering pipeline through GamepadSettings rather than stacking deadzones in gameplay code.
Fixed-tick input bridge
Shows how to queue transitions and mouse motion so each fixed simulation tick receives them exactly once.
Mouse capture and focus policy
Covers cursor locking through CursorOptions and releasing held actions when the window loses focus.
Bevy 0.20 migration notes
Lists API changes such as the GamepadButton::Other type, cursor module moves and flat pointer events.

Good for

  • Make jump and attack bindable so players can rebind them in settings
  • Handle a controller disconnecting mid-game without moving its player to another pad
  • Stop mouse look from getting stuck when the window loses focus
  • Feed button presses into FixedUpdate without losing quick taps
  • Show button prompts that match the player's active binding and device

Bevy input actions FAQ

What Bevy version does Bevy input actions target?

It targets Bevy 0.20, and its notes also call out changes from 0.18 and 0.19 that affect input code.

Why are gamepads treated as entities here?

In Bevy 0.20 each gamepad is an entity with a Gamepad component, so the skill says to use the entity as a live device handle only and store stable assignments separately.

How are input presses kept correct when fixed ticks vary?

Press and release transitions are kept in an ordered queue and drained once on the first fixed tick, while held buttons and axes are copied to every tick.

Does the skill include scripts?

No, the skill folder contains instructions and reference documents only, with no scripts.

How do I install Bevy input actions in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bevy-input-actions to use it in all your projects, or to .claude/skills/bevy-input-actions in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.

Does Bevy input actions run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Bevy input actions?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Bevy input actions?

The closest alternatives to Bevy input actions are Bevy a11y, Bevy porting, Bevy ecs components, Bevy core concepts and Bevy testing.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from shinyobjectz/raea-skills

  1. Check and consult a project's generated vocabulary before naming anything

    • Open source
    • 38 GitHub stars
    • Knowledge and memory
  2. Blank template for authoring new raea skills with a standard section layout

    • Open source
    • 38 GitHub stars
    • Developer tools
  3. Lets an agent write and render video, motion graphics and 3D scenes as React code

    • Open source
    • 38 GitHub stars
    • Design and media
  4. Routes Bevy 0.20 tasks to the right sibling skill and pins the engine version

    • Open source
    • 38 GitHub stars
    • Developer tools
  5. Guides an agent through accessibility design and audits for Bevy 0.20 games

    • Open source
    • 38 GitHub stars
    • Developer tools
  6. Guides an agent through Bevy 0.20 animation: graphs, blending, events and easing

    • Open source
    • 38 GitHub stars
    • Developer tools