Agent skill

Bevy Audio

by nolantait in nolantait/bevy-starter

Reference for playing and controlling audio in Bevy — AudioPlayer, AudioSink, spatial audio, volume, and playback settings.

MITAuto-check passed

Install Bevy Audio

skills CLI
$ npx skills add nolantait/bevy-starter --skill bevy-audio -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nolantait/bevy-starter bevy-audio --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nolantait/bevy-starter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/bevy-audio .claude/skills/bevy-audio && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bevy-audio
GitHub stars
132
Token cost
~713 tokens
SKILL.md length
217 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

Reference for playing and controlling audio in Bevy — AudioPlayer, AudioSink, spatial audio, volume, and playback settings.

  • SKILL.md covers Core components, Playing audio, Playback settings and Controlling playback (AudioSink), plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bevy Audio is an agent skill from nolantait/bevy-starter. Reference for playing and controlling audio in Bevy — AudioPlayer, AudioSink, spatial audio, volume, and playback settings.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A minimalist starter for bevy and rust. The licence is MIT.

Example prompts

  • “/bevy-audio”

What it can do on your machine

Read from SKILL.md and the folder at commit dd6f56b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bevy Audio loads about 713 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 217 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~713

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nolantait/bevy-starter at commit dd6f56b, republished under its MIT licence (© nolantait). 217 words, ~713 tokens.

Download SKILL.mdSave it as .claude/skills/bevy-audio/SKILL.md (or your agent's skills folder).
name
bevy-audio
description
Reference for playing and controlling audio in Bevy — AudioPlayer, AudioSink, spatial audio, volume, and playback settings.
metadata.crate
bevy_audio
metadata.bevy
0.19

Core components

  • AudioPlayer<Source> — component to play an audio source (requires PlaybackSettings)
  • AudioSink — component added automatically; controls playback on that entity
  • Pitch — asset for generating simple tones

Playing audio

rust
fn play(server: Res<AssetServer>, mut commands: Commands) {
  commands.spawn((
    AudioPlayer::new(server.load("music.ogg")),
    PlaybackSettings::LOOP,
  ));
}

Playback settings

SettingBehavior
PlaybackSettings::ONCEPlay once
PlaybackSettings::LOOPLoop continuously
PlaybackSettings::DESPAWNPlay once, then despawn entity
PlaybackSettings::REMOVEPlay once, then remove the audio components from the entity

Controlling playback (AudioSink)

rust
fn toggle(mut sink: Single<&mut AudioSink, With<MusicBox>>) {
  sink.toggle_playback();
}
MethodDescription
play / pause / stopBasic playback control. stop cannot restart.
mute / unmute / toggle_muteMute control
toggle_playbackToggle play/pause
is_paused / is_mutedPlayback state
speed / set_speedPlayback speed
positionCurrent playback position
emptyTrue if no more sounds to play
try_seekSeek to a position
volume / set_volumeVolume control

These methods come from the AudioSinkPlayback trait, implemented by both AudioSink and SpatialAudioSink.

Volume

Global volume via GlobalVolume resource:

rust
app.insert_resource(GlobalVolume::new(Volume::Linear(0.5)));

Per-sink volume:

rust
sink.set_volume(current_volume.increase_by_percentage(10.0));

Changing GlobalVolume does not affect audio that is already playing; the new value only applies when a sink is created. The same is true for changing PlaybackSettings on a playing entity.

Spatial audio

By default sounds are flat. Set spatial: true on PlaybackSettings (and give the entity a Transform) to make a sound spatial, then use a SpatialListener component to control how it is heard. Only one SpatialListener should exist at a time.

rust
app.add_plugins(DefaultPlugins.set(AudioPlugin {
  default_spatial_scale: SpatialScale::new_2d(1.0 / 100.0),
  ..default()
}));

commands.spawn((SpatialListener::new(100.), Transform::default()));

Supported formats

wav, ogg (plus oga and spx), flac, mp3 (enable the mp3 feature).

Simple tone (Pitch)

rust
commands.spawn((
  AudioPlayer(pitch_assets.add(Pitch::new(220.0, Duration::new(1, 0)))),
  PlaybackSettings::DESPAWN,
));

© nolantait, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/bevy-audio of nolantait/bevy-starter.

Open the folder on GitHubat commit dd6f56b

Compare with similar skills

Bevy Audio next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bevy Audio compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bevy Audio this skillnolantait/bevy-starter132—~713Automated safety check: PassMIT
HyperFrames Audioheygen-com/hyperframes60k1 repos~6.4kAutomated safety check: PassApache-2.0
Control UIopenclaw/openclaw392k—~1.8kAutomated safety check: PassMIT
Uloop Control Play ModeCyberAgentGameEntertainment/NovaShader1.6k1 repos~1.3kAutomated safety check: PassMIT
Bio Spatial Transcriptomics Spatial PreprocessingFreedomIntelligence/OpenClaw-Medical-Skills3.1k1 repos~2kAutomated safety check: PassNone
Bio Spatial Transcriptomics Spatial StatisticsFreedomIntelligence/OpenClaw-Medical-Skills3.1k1 repos~1.8kAutomated safety check: PassNone

Similar skills

  • HyperFrames Audio

    heygen-com/hyperframes

    Mixes audio already placed in a HyperFrames composition: fades, gain, ducking under a voiceover, effect chains, automation and shared submix buses.

    60k GitHub starsUsed in 1 repo~6.4k tokens
    Media & CreativeAuto-check passed
  • Control UI

    openclaw/openclaw

    Operate and troubleshoot the OpenClaw Control UI: navigate connected clients, organize sessions, build session dashboards, and handle direct or Tailscale-hosted Gateways.

    392k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Uloop Control Play Mode

    CyberAgentGameEntertainment/NovaShader

    Control Unity Editor Play Mode. An agent skill from CyberAgentGameEntertainment/NovaShader.

    1.6k GitHub starsUsed in 1 repo~1.3k tokens
    Game DevelopmentAuto-check passed
  • Bio Spatial Transcriptomics Spatial Preprocessing

    FreedomIntelligence/OpenClaw-Medical-Skills

    Quality control, filtering, normalization, and feature selection for spatial transcriptomics data.

    3.1k GitHub starsUsed in 1 repo~2k tokens
    Research & ScienceAuto-check passed
  • Bio Spatial Transcriptomics Spatial Statistics

    FreedomIntelligence/OpenClaw-Medical-Skills

    Compute spatial statistics for spatial transcriptomics data using Squidpy.

    3.1k GitHub starsUsed in 1 repo~1.8k tokens
    Data & AnalyticsAuto-check passed
  • Control UI Solid

    openclaw/openclaw

    Port or review OpenClaw Control UI code moving from Lit 3 and Web Awesome to Solid 2, including components, projections, lifecycle boundaries, and migration proof.

    392k GitHub stars~3.9k tokensUpdated today
    Auto-check passed

More from nolantait/bevy-starter

All 24 skills in this repo
  • Bevy Events

    nolantait/bevy-starter

    Reference for events, messages, and observers in Bevy — Message/MessageReader/MessageWriter, Event/EntityEvent, triggers, observers, and propagation.

    132 GitHub stars~867 tokensUpdated yesterday
    Auto-check passed
  • Avian

    nolantait/bevy-starter

    Reference for Avian physics engine — rigid bodies, colliders, joints, spatial queries, collision events, character controllers, and debug rendering.

    132 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Bevy Assets

    nolantait/bevy-starter

    Reference for loading, managing, and tracking assets in Bevy — AssetServer, handles, loading states, events, custom loaders, and hot reloading.

    132 GitHub stars~871 tokensUpdated yesterday
    Auto-check passed
  • Bevy Bsn

    nolantait/bevy-starter

    Reference for Bevy Scene Notation (BSN) — the bsn!. An agent skill from nolantait/bevy-starter.

    132 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Bevy Cameras

    nolantait/bevy-starter

    Reference for cameras in Bevy — Camera2d, Camera3d, viewports, projection, render layers, mouse-to-world, and free camera controllers.

    132 GitHub stars~976 tokensUpdated yesterday
    Auto-check passed
  • Bevy Commands

    nolantait/bevy-starter

    Reference for Bevy Commands — spawning/despawning entities, inserting/removing components, custom commands, trait extensions, and testing.

    132 GitHub stars~783 tokensUpdated yesterday
    Auto-check passed

Questions about Bevy Audio

What does Bevy Audio do?

Reference for playing and controlling audio in Bevy — AudioPlayer, AudioSink, spatial audio, volume, and playback settings. Bevy Audio is an agent skill from nolantait/bevy-starter. Reference for playing and controlling audio in Bevy — AudioPlayer, AudioSink, spatial audio, volume, and playback settings.

How do I install Bevy Audio in Claude Code?

Run `npx skills add nolantait/bevy-starter --skill bevy-audio -a claude-code`. Or copy the skill folder (.agents/skills/bevy-audio in nolantait/bevy-starter) into .claude/skills/bevy-audio in your project. Claude Code loads it when a task matches its description.

How do I install Bevy Audio in Codex?

Run `npx skills add nolantait/bevy-starter --skill bevy-audio -a codex`. Or copy the skill folder (.agents/skills/bevy-audio in nolantait/bevy-starter) into .agents/skills/bevy-audio in your project. Codex loads it when a task matches its description.

Can I use Bevy Audio in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nolantait/bevy-starter --skill bevy-audio -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bevy-audio, .gemini/skills/bevy-audio, .github/skills/bevy-audio and .opencode/skills/bevy-audio in your project.

What does Bevy Audio need to run?

SKILL.md names no scripts, command-line tools or credentials: Bevy Audio is instructions for the agent only.

Does Bevy Audio access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bevy Audio safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bevy Audio use?

Bevy Audio is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bevy Audio use?

About 713 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bevy Audio?

Skills that share tags, products or a category with Bevy Audio: HyperFrames Audio (heygen-com/hyperframes, 60k stars), Control UI (openclaw/openclaw, 392k stars), Uloop Control Play Mode (CyberAgentGameEntertainment/NovaShader, 1.6k stars) and Bio Spatial Transcriptomics Spatial Preprocessing (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bevy Audio?

nolantait (a GitHub user) maintains it in nolantait/bevy-starter, which has 132 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 8, 2026.

Source: nolantait/bevy-starter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.