bevy-cargo-features

bevy-cargo-features is a skill for Claude Code from chrisgliddon/bevy-skills. It costs 83 tokens per session (1,261 once invoked), scanned A, original, MIT.

A Bevy 0.19 guide for choosing which Cargo features to include in a Rust game or application. Cargo features are build-time switches that select parts of a library.

In plain words
What is it for?
Use it to configure 2D or 3D apps, UI and audio, headless servers, custom renderers, API-only builds, native controllers, and browser rendering.
Why use it?
It helps avoid accidentally shipping or omitting rendering, user-interface, audio, input, browser, or server functionality when customizing Bevy's defaults.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions OpenCode.

Part of the bevy-skills plugin — 31 skills shipped together

Good fit Use it to configure 2D or 3D apps, UI and audio, headless servers, custom renderers, API-only builds, native controllers, and browser rendering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chrisgliddon/bevy-skills/bevy-cargo-features
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add chrisgliddon/bevy-skills --skill bevy-cargo-features
Clone the repo
git clone --depth 1 https://github.com/chrisgliddon/bevy-skills

Made for: Claude Code.

Or install bevy-skills, the plugin that ships this one along with the rest of its 31 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bevy-cargo-features

README.md
[![agentmods](https://agentmods.dev/badge/skills/chrisgliddon/bevy-skills/bevy-cargo-features/github.svg)](https://agentmods.dev/skills/chrisgliddon/bevy-skills/bevy-cargo-features)
Your own site
<a href="https://agentmods.dev/skills/chrisgliddon/bevy-skills/bevy-cargo-features"><img src="https://agentmods.dev/badge/skills/chrisgliddon/bevy-skills/bevy-cargo-features/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bevy-cargo-features

Your own site · 80×15
<a href="https://agentmods.dev/skills/chrisgliddon/bevy-skills/bevy-cargo-features"><img src="https://agentmods.dev/badge/skills/chrisgliddon/bevy-skills/bevy-cargo-features.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.01261
Opus 5 $0.00042 $0.00630
Sonnet 5 $0.00017 $0.00252
Haiku 4.5 $0.00008 $0.00126

Measured 11d ago against content hash c0e39def5145, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

bevy-cargo-features scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bevy-cargo-features/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bevy 0.19 — Cargo features

When to use this skill

  • Choose a supported application profile without enabling the full default set.
  • Compose a custom renderer or a headless server.
  • Enable native controller input, window/input APIs, or browser rendering.
  • Diagnose types/plugins missing after disabling default features.

Canonical profiles

Bevy's default is 2d + 3d + ui + audio. To select a profile, disabling defaults is essential:

# 3D game with Bevy UI, but no audio or 2D renderer
bevy = { version = "0.19", default-features = false, features = ["3d", "ui"] }

# 2D game with audio, but no 3D renderer or UI
# bevy = { version = "0.19", default-features = false, features = ["2d", "audio"] }

Writing features = ["3d"] while leaving default features enabled does not trim anything: Cargo unions feature sets.

Collection layers

Layer Features Meaning
Profiles 2d, 3d, ui, audio Complete app shapes
Built-in render 2d_bevy_render, 3d_bevy_render, ui_bevy_render Bevy's renderer for one domain
API only 2d_api, 3d_api, ui_api Components/assets without a render backend
Baseline default_app, default_platform Core app services vs platform/window/input services
Grouped scene, picking, dev Related feature collections

API-only features cannot draw. They are for custom/external renderers that consume Bevy's world-side types.

Headless server

bevy = { version = "0.19", default-features = false, features = [
    "default_app",
    "multi_threaded",
    "serialize",
    "bevy_world_serialization", # omit if the server never loads saved worlds
] }

Use MinimalPlugins, then add only the service plugins the server needs. bevy_scene is BSN in 0.19; classic reflected world serialization is bevy_world_serialization.

Custom renderer

bevy = { version = "0.19", default-features = false, features = [
    "default_app",
    "3d_api",
] }

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 123 lines · 83 tokens per session scan A c0e39def5145

Subscribe to this mod's changes

bevy-cargo-features is a skill published in the GitHub repository chrisgliddon/bevy-skills (12 stars, last pushed 16d ago), licensed MIT. It adds 83 tokens to every session and 1,261 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories