Skip to content
Skill

Bevy audio

Guides an agent through Bevy 0.20 audio: playback, sinks, spatial sound and mixing

Bevy audio 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 audio

This skill gives a coding agent a working model of Bevy 0.20's built-in audio. It explains how AudioPlayer and PlaybackSettings start clips, how AudioSink and SpatialAudioSink are inserted after playback begins, and how to change volume, mute, pause, seek or stop through the sink rather than the settings. It also covers the lifecycle traps around ONCE, LOOP, DESPAWN and REMOVE playback modes, such as why a drained clip cannot simply replay.

Beyond the basics, the skill sets out an application-level mixer approach for built-in audio, which has no bus or effects graph. Categories like music, sound effects, dialogue and ambience are tracked as app state, gains are combined from master, group, transition and source levels, and music or ambience changes are crossfaded with old entities kept alive until their sinks go quiet. It includes guidance on spatial listeners, browser audio unlock, and when to choose the separate bevy_seedling 0.8 library instead, noting that it targets Bevy 0.19.

The skill is written for Rust projects using Bevy 0.20 and references a set of companion skills and deeper reference documents for playback, mixing and spatial/web topics.

When your agent uses it

Use when implementing audio in Bevy 0.20 with `AudioPlayer`, `PlaybackSettings`, `AudioSink` or `SpatialAudioSink`, spatial listeners, application mix groups, ambience/music transitions, asset lifetime, browser gesture restrictions, or choosing built-in audio versus `bevy_seedling 0.8`.

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 (16 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-audio:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/bevy-audio 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-audio &&
cp -R "$tmp/skills/bevy/pack/bevy-audio" ~/.agents/skills/bevy-audio &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/bevy-audio 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-audio &&
cp -R "$tmp/skills/bevy/pack/bevy-audio" ~/.cursor/skills/bevy-audio &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/bevy-audio 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-audio

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/bevy-audio 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-audio into your agent's skills folder as bevy-audio. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Playback and sink control
Covers spawning clips and loops with AudioPlayer and querying sinks for live volume, mute, pause, speed and seek.
Playback lifecycle rules
Explains completion modes and how to avoid unintended replays or restarts when sinks are removed.
Application mixer design
Describes modelling mix categories and computing effective gain for transitions and ducking.
Music and ambience crossfades
Outlines overlapping old and new loops, preloading assets and handling tracks that are not ready.
Spatial listener setup
Covers a single SpatialListener, spatial scale and the limits of built-in stereo panning.
Browser audio unlock
Describes treating user-gesture audio unlock as explicit app state with a recoverable fallback.
Built-in versus Seedling choice
Compares Bevy's built-in audio with bevy_seedling 0.8 and notes its Bevy 0.19 requirement.

Good for

  • Play a looping background music track and mute it on demand in a Bevy game
  • Crossfade between exploration and combat music when the game state changes
  • Add positional sound effects from a generator with a listener attached to the camera
  • Implement a settings screen with separate music, sound effect and dialogue volume sliders
  • Make audio start only after the player's first click in a web build

Bevy audio FAQ

Which Bevy version does Bevy audio target?

It targets Bevy 0.20 and includes notes on changes from 0.19, such as observer syntax and the audio feature flag.

Can I use bevy_seedling with Bevy audio?

The skill says bevy_seedling 0.8 pins Bevy 0.19 and has no 0.20-compatible release, so on Bevy 0.20 it recommends staying on built-in audio until a compatible release exists.

Does built-in spatial audio support HRTF?

No. The skill states that built-in spatialisation is simple left and right stereo panning without HRTF or a full 3D acoustic model.

Why does changing volume settings not affect a clip that is already playing?

PlaybackSettings and GlobalVolume only apply at the start of playback, so runtime changes need to be made on the AudioSink.

How do I install Bevy audio in Claude Code?

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

Does Bevy audio 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 audio?

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 audio?

The closest alternatives to Bevy audio are Bevy core concepts, Bevy testing, Bevy a11y, Bevy assets and Bevy cameras.

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