Agent skill

Bevy Events

by nolantait in nolantait/bevy-starter

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

MITAuto-check passed

Install Bevy Events

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

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

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

At a glance

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

  • Works in 2 steps: Message — buffered queue, consumed next… → Event / EntityEvent — immediate…
  • SKILL.md covers Two kinds of events, Messages (buffered, delayed by…, Events (immediate observers) and Event propagation, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bevy Events is an agent skill from nolantait/bevy-starter. Reference for events, messages, and observers in Bevy — Message/MessageReader/MessageWriter, Event/EntityEvent, triggers, observers, and propagation.

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-events”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Message — buffered queue, consumed next frame, good for frequent events
  2. Event / EntityEvent — immediate observers, good for infrequent events with entity scope

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 Events loads about 867 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 257 words of instructions outside code blocks.

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

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). 257 words, ~867 tokens.

Download SKILL.mdSave it as .claude/skills/bevy-events/SKILL.md (or your agent's skills folder).
name
bevy-events
description
Reference for events, messages, and observers in Bevy — Message/MessageReader/MessageWriter, Event/EntityEvent, triggers, observers, and propagation.
metadata.crate
bevy_ecs
metadata.bevy
0.19

Two kinds of events

  1. Message — buffered queue, consumed next frame, good for frequent events
  2. Event / EntityEvent — immediate observers, good for infrequent events with entity scope

Messages (buffered, delayed by 1 frame)

Defining
rust
#[derive(Message)]
struct PlayerDetected(Entity);
Registering
rust
app.add_message::<PlayerDetected>();
app.add_message::<PlayerKilled>();
Writing
rust
fn detect(mut messages: MessageWriter<PlayerDetected>) {
  messages.write(PlayerDetected(entity));
}
Reading
rust
fn react(mut messages: MessageReader<PlayerDetected>) {
  for msg in messages.read() { }
}

Messages are double-buffered — systems see messages from the current and previous frame. Unconsumed messages are cleaned up and dropped silently after two updates. To skip a system entirely when there are no new messages, use PopulatedMessageReader<T> or the on_message::<T> run condition.

Events (immediate observers)

Defining
  • Event — global event, defined with a GlobalTrigger
  • EntityEvent — entity-scoped event, defined with an EntityTrigger, or with a PropagateEntityTrigger when propagation is enabled
rust
#[derive(Event)]
struct GameStarted;

#[derive(EntityEvent)]
struct BossKilled { entity: Entity }
Broadcast observer
rust
fn on_respawn(event: On<Add, Enemy>, query: Query<(&Enemy, &Position)>) {
  let (enemy, pos) = query.get(event.entity).unwrap();
}

app.add_observer(on_respawn);
Entity observer
rust
fn on_boss_killed(event: On<BossKilled>, query: Query<&Enemy>) {
  let enemy = query.get(event.entity).unwrap();
}

let entity = commands.spawn(Enemy).observe(on_boss_killed).id();
commands.trigger(BossKilled { entity });
Triggering
rust
commands.trigger(SomeEvent);
commands.trigger(SomeEntityEvent { entity });
Built-in lifecycle events
EventTriggers when
On<Add, T>Component T is added
On<Insert, T>Component T is inserted
On<Replace, T>Component T is replaced
On<Remove, T>Component T is removed
On<Despawn, T>Component T is despawned

The second generic B in On<E, B> acts as OR filter: On<Add, (Enemy, Person)> triggers when either Enemy or Person is added.

Event propagation

Propagation is opt-in. With auto_propagate it happens automatically; otherwise an observer must call On::propagate(true). The traversal defaults to ChildOf (child to parent) and can be changed with propagate = &'static SomeRelationship.

rust
#[derive(EntityEvent)]
#[entity_event(auto_propagate, propagate = &'static ChildOf)]
struct LocationTravelled {
  #[event_target]
  entity: Entity,
}

An EntityEvent with propagation enabled bubbles up its hierarchy, stopping when the chain ends or an observer manually stops it.

Choosing messages vs events

EventsMessages
FrequencyInfrequentFrequent
LatencyImmediate with World::trigger; next sync point with Commands::triggerUp to 1 frame
ScopeWorld or EntityWorld
OrderingNo explicit orderOrdered
CouplingHighLow
PropagationBubblingNone

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

Open the folder on GitHubat commit dd6f56b

Compare with similar skills

Bevy Events 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 Events compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bevy Events this skillnolantait/bevy-starter132—~867Automated safety check: PassMIT
Messages Opsaffaan-m/ECC277k1 repos~724Automated safety check: PassMIT
Eventscoreyhaines31/marketingskills54k—~3kAutomated safety check: PassMIT
Langsmith ObservabilityOrchestra-Research/AI-Research-SKILLs13k2 repos~2.4kAutomated safety check: PassMIT
ObservabilityBuilderIO/agent-native7.1k—~7.3kAutomated safety check: PassNone
Frontend Observabilitysickn33/agentic-awesome-skills47k1 repos~5.1kAutomated safety check: PassMIT

Similar skills

  • Messages Ops

    affaan-m/ECC

    Evidence-first live messaging workflow for ECC. An agent skill from affaan-m/ECC.

    277k GitHub starsUsed in 1 repo~724 tokens
    Productivity & AutomationAuto-check passed
  • Events

    coreyhaines31/marketingskills

    When the user wants to plan, run, sponsor, speak at, or get pipeline from events — webinars, conferences, trade shows, meetups, dinners, workshops, virtual summits, or user conferences.

    54k GitHub stars~3k tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed
  • Langsmith Observability

    Orchestra-Research/AI-Research-SKILLs

    LLM observability platform for tracing, evaluation, and monitoring.

    13k GitHub starsUsed in 2 repos~2.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Observability

    BuilderIO/agent-native

    Agent observability, evals, feedback, and experiments. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~7.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Frontend Observability

    sickn33/agentic-awesome-skills

    A portable, framework-agnostic field-side observability system for any React or React Native app.

    47k GitHub starsUsed in 1 repo~5.1k tokens
    DevOps & CloudAuto-check passed
  • Ebpf Observability

    sickn33/agentic-awesome-skills

    Use eBPF for deep kernel-level observability — trace syscalls, network flows, and application behavior without code changes using Cilium, Tetragon, and bpftrace.

    47k GitHub starsUsed in 2 repos~3.3k tokens
    DevOps & CloudAuto-check: notes

More from nolantait/bevy-starter

All 24 skills in this repo
  • 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 2 days ago
    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 2 days ago
    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 2 days ago
    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 2 days ago
    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 2 days ago
    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 2 days ago
    Auto-check passed

Questions about Bevy Events

What does Bevy Events do?

Reference for events, messages, and observers in Bevy — Message/MessageReader/MessageWriter, Event/EntityEvent, triggers, observers, and propagation. Bevy Events is an agent skill from nolantait/bevy-starter. Reference for events, messages, and observers in Bevy — Message/MessageReader/MessageWriter, Event/EntityEvent, triggers, observers, and propagation.

How do I install Bevy Events in Claude Code?

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

How do I install Bevy Events in Codex?

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

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

What does Bevy Events need to run?

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

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

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

About 867 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 Events?

Skills that share tags, products or a category with Bevy Events: Messages Ops (affaan-m/ECC, 277k stars), Events (coreyhaines31/marketingskills, 54k stars), Langsmith Observability (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Observability (BuilderIO/agent-native, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bevy Events?

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.