Agent skill

Bevy Assets

by nolantait in nolantait/bevy-starter

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

MITAuto-check passed

Install Bevy Assets

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

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

GitHub CLI
$ gh skill install nolantait/bevy-starter bevy-assets --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-assets .claude/skills/bevy-assets && 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-assets
GitHub stars
132
Token cost
~871 tokens
SKILL.md length
153 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

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

  • SKILL.md covers Core resources, Creating assets procedurally, Handle types by extension and Loading 3D models, plus 7 more sections
  • Calls cargo

What it does

Bevy Assets is an agent skill from nolantait/bevy-starter. Reference for loading, managing, and tracking assets in Bevy — AssetServer, handles, loading states, events, custom loaders, and hot reloading.

Its SKILL.md is about 870 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-assets”

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

    Shell commands in SKILL.md call:

    • cargo

    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 Assets loads about 871 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 153 words of instructions outside code blocks.

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

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). 153 words, ~871 tokens.

Download SKILL.mdSave it as .claude/skills/bevy-assets/SKILL.md (or your agent's skills folder).
name
bevy-assets
description
Reference for loading, managing, and tracking assets in Bevy — AssetServer, handles, loading states, events, custom loaders, and hot reloading.
metadata.crate
bevy_asset
metadata.bevy
0.19

Core resources

  • Assets<T> — stores loaded assets of each type
  • AssetServer — loads assets from files asynchronously
rust
fn load(mut image: ResMut<MyImage>, server: Res<AssetServer>) {
  image.0 = server.load("images/foo.png");
}

By default Bevy looks in the assets folder. The base directory depends on how the app is run: cargo run sets CARGO_MANIFEST_DIR to the crate root, while a standalone executable falls back to the directory containing the executable. Override with the file_path field on AssetPlugin, or the BEVY_ASSET_ROOT / CARGO_MANIFEST_DIR environment variables.

Creating assets procedurally

rust
fn spawn(mut meshes: ResMut<Assets<Mesh>>, mut materials: ResMut<Assets<ColorMaterial>>) {
  let mesh = meshes.add(Circle::new(50.));
  let material = materials.add(Color::BLACK);
  commands.spawn((Mesh2d(mesh), MeshMaterial2d(material)));
}

Handle types by extension

ExtensionHandle
ttf, otfFont
png, jpg, webp, ktx2, bmp, gif, tga, tiffImage
mp3, flac, ogg, wavAudioSource
gltf, glbGltf (use GltfAssetLabel::Scene(0) for a scene)
scn, scn.ronDynamicWorld

Loading 3D models

rust
let scene: Handle<Scene> = server.load(GltfAssetLabel::Scene(0).from_asset("models/car.glb"));
commands.spawn((SceneRoot(scene), Transform::default()));

Loading state

rust
use bevy::asset::LoadState;
match server.get_load_state(&handle) {
  Some(LoadState::Loaded) => {},
  Some(LoadState::Loading) => {},
  Some(LoadState::Failed(_)) => {},
  _ => {}
}

Asset events

rust
use bevy::asset::AssetEvent;
fn react(mut events: MessageReader<AssetEvent<Image>>) {
  for event in events.read() {
    match event {
      AssetEvent::Added { id } => {},
      AssetEvent::LoadedWithDependencies { id } => {},
      AssetEvent::Modified { id } => {},
      AssetEvent::Removed { id } => {},
      AssetEvent::Unused { id } => {},
    }
  }
}

Loading a folder

rust
use bevy::asset::LoadedFolder;
let _folder: Handle<LoadedFolder> = server.load_folder("models/monkey");

Custom asset source

rust
app.register_asset_source("custom", AssetSourceBuilder::platform_default("assets/custom", None));
// Then: server.load("custom://file.png")

Custom asset loader

rust
#[derive(Asset, TypePath)]
struct TextFile { content: String }

impl AssetLoader for TextFile {
  type Asset = TextFile; type Settings = (); type Error = std::io::Error;
  async fn load(&self, reader: &mut dyn Reader, _settings: &(), _ctx: &mut LoadContext<'_>) -> Result<Self::Asset, Self::Error> {
    let mut content = String::new();
    reader.read_to_string(&mut content).await?;
    Ok(TextFile { content })
  }
  fn extensions(&self) -> &[&str] { &["txt"] }
}
// Then: app.init_asset::<TextFile>()

Hot reloading

Enable via feature file_watcher in Cargo.toml, or:

rust
app.add_plugins(DefaultPlugins.set(AssetPlugin {
  watch_for_changes_override: Some(true),
  ..default()
}));

Handle lifecycle

  • Cloning a Handle<T> creates a strong reference
  • Assets are unloaded when all strong handles are dropped
  • Handle::Weak does not keep the asset alive

© 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-assets of nolantait/bevy-starter.

Open the folder on GitHubat commit dd6f56b

Compare with similar skills

Bevy Assets 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 Assets compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bevy Assets this skillnolantait/bevy-starter132—~871Automated safety check: PassMIT
Conductor Track Managementwshobson/agents40k9 repos~420Automated safety check: PassMIT
Error Handlingaffaan-m/ECC276k1 repos~2.7kAutomated safety check: PassMIT
Logistics Exception Managementaffaan-m/ECC276k4 repos~4.2kAutomated safety check: PassApache-2.0
Horizon Trackruvnet/ruflo74k—~744Automated safety check: NotesMIT
Error Handlingthedaviddias/Front-End-Checklist74k—~416Automated safety check: PassMIT

Similar skills

  • Use this skill when creating, managing, or working with Conductor tracks - the logical work units for features, bugs, and refactors. Applies to spec.md…

    40k GitHub starsUsed in 9 repos~420 tokens
    DevelopmentAuto-check passed
  • Error Handling

    affaan-m/ECC

    Patterns for robust error handling across TypeScript, Python, and Go.

    276k GitHub starsUsed in 1 repo~2.7k tokens
    DevelopmentAuto-check passed
  • Codified freight-exception handling expertise for shipment delays, damages, losses, shortages, and carrier disputes, with escalation protocols, carrier-specific behaviors by mode, claims procedures…

    276k GitHub starsUsed in 4 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Horizon Track

    ruvnet/ruflo

    Track long-horizon objectives across multiple sessions with milestone checkpoints, progress persistence, and drift detection

    74k GitHub stars~744 tokensUpdated today
    Product & Project ManagementAuto-check: notes
  • Error Handling

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing scripts, client components, bundles, or runtime behavior related to Implement proper error handling.

    74k GitHub stars~416 tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Secrets Management

    davila7/claude-code-templates

    Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets Manager, and other tools.

    33k GitHub starsUsed in 12 repos~2k tokens
    DevOps & CloudAuto-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 Audio

    nolantait/bevy-starter

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

    132 GitHub stars~713 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 Assets

What does Bevy Assets do?

Reference for loading, managing, and tracking assets in Bevy — AssetServer, handles, loading states, events, custom loaders, and hot reloading. Bevy Assets is an agent skill from nolantait/bevy-starter. Reference for loading, managing, and tracking assets in Bevy — AssetServer, handles, loading states, events, custom loaders, and hot reloading.

How do I install Bevy Assets in Claude Code?

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

How do I install Bevy Assets in Codex?

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

Can I use Bevy Assets 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-assets -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-assets, .gemini/skills/bevy-assets, .github/skills/bevy-assets and .opencode/skills/bevy-assets in your project.

What does Bevy Assets need to run?

Going by SKILL.md and its folder, Bevy Assets needs the command-line tools its instructions call (cargo).

Does Bevy Assets 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 Assets 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 Assets use?

Bevy Assets 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 Assets use?

About 871 tokens (SKILL.md is roughly 3.5k 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 Assets?

Skills that share tags, products or a category with Bevy Assets: Conductor Track Management (wshobson/agents, 40k stars), Error Handling (affaan-m/ECC, 276k stars), Logistics Exception Management (affaan-m/ECC, 276k stars) and Horizon Track (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bevy Assets?

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.