Agent skill

Bevy Timers

by nolantait in nolantait/bevy-starter

Reference for Bevy timers — Timer as resource, component, or Local; tick, isfinished/justfinished, TimerMode::Once vs Repeating.

MITAuto-check passed

Install Bevy Timers

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

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

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

At a glance

Reference for Bevy timers — Timer as resource, component, or Local; tick, isfinished/justfinished, TimerMode::Once vs Repeating.

  • SKILL.md covers Timer modes, Timer as resource, Timer as component and Local timer, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bevy Timers is an agent skill from nolantait/bevy-starter. Reference for Bevy timers — Timer as resource, component, or Local; tick, isfinished/justfinished, TimerMode::Once vs Repeating.

Its SKILL.md is about 800 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-timers”

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 Timers loads about 804 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 229 words of instructions outside code blocks.

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

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). 229 words, ~804 tokens.

Download SKILL.mdSave it as .claude/skills/bevy-timers/SKILL.md (or your agent's skills folder).
name
bevy-timers
description
Reference for Bevy timers — Timer as resource, component, or Local; tick, is_finished/just_finished, TimerMode::Once vs Repeating.
metadata.crate
bevy_time
metadata.bevy
0.19

Timer modes

  • TimerMode::Once — stays finished after reaching the end until reset manually
  • TimerMode::Repeating — auto-resets when it reaches the end

Timers tick up from zero to their Duration.

is_finished stays true after the tick that finished a Once timer, while just_finished is only true on that tick. For a Repeating timer the two are equivalent. A repeating timer can finish more than once per tick, so use times_finished_this_tick to know how many times it finished.

Timer as resource

rust
#[derive(Resource)]
struct MatchTime(Timer);

impl Default for MatchTime {
  fn default() -> Self { Self(Timer::from_seconds(60.0, TimerMode::Once)) }
}

fn countdown(time: Res<Time>, mut match_time: ResMut<MatchTime>) {
  match_time.0.tick(time.delta());
}

fn end_match(match_time: Res<MatchTime>) {
  if match_time.0.is_finished() { /* game over */ }
}

Implement Default by hand for this kind of wrapper: a derived Default would create a zero-length timer, since that is what Timer::default returns.

Timer as component

rust
#[derive(Component)]
struct Cooldown(Timer);

fn tick_cooldowns(mut commands: Commands, mut cooldowns: Query<(Entity, &mut Cooldown)>, time: Res<Time>) {
  for (entity, mut cd) in &mut cooldowns {
    cd.0.tick(time.delta());
    if cd.0.is_finished() {
      commands.entity(entity).remove::<Cooldown>();
    }
  }
}

Local timer

Local values are initialized from Default, and a default Timer has a zero-length duration, so wrap it in a type that builds a real timer through FromWorld:

rust
struct LocalTimer(Timer);

impl FromWorld for LocalTimer {
  fn from_world(_world: &mut World) -> Self {
    Self(Timer::from_seconds(5.0, TimerMode::Once))
  }
}

fn local_timer(time: Res<Time>, mut timer: Local<LocalTimer>) {
  timer.0.tick(time.delta());
  if timer.0.just_finished() {
    info!("Timer finished");
  }
}

Key methods

MethodDescription
tick(delta)Advance the timer
is_finished()True if timer has reached duration
just_finished()True if finished on the last tick
times_finished_this_tick()How often a repeating timer finished this tick
fraction() / fraction_remaining()Progress / remaining as f32 (0.0 to 1.0)
pause() / unpause()Pause or resume
reset() / finish()Reset to zero / snap to finished
duration() / set_duration()Get/set duration
elapsed() / remaining()Elapsed or remaining time

Prefer the run conditions on_timer, on_real_timer, once_after_delay, and repeating_after_delay to run a system on an interval.

Time resource

Res<Time> is Time<Virtual> (affected by pause/speed). Use Time<Real> for unscaled time and Time<Fixed> inside FixedUpdate.

rust
fn time_info(time: Res<Time>) {
  info!("delta: {:?}", time.delta());
  info!("seconds: {:?}", time.delta_secs_f64());
  info!("elapsed: {:?}", time.elapsed());
}

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

Open the folder on GitHubat commit dd6f56b

Compare with similar skills

Bevy Timers 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 Timers compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bevy Timers this skillnolantait/bevy-starter132—~804Automated safety check: PassMIT
Agent Resource Allocatorruvnet/ruflo74k2 repos~4.9kAutomated safety check: PassMIT
Resourceswindmill-labs/windmill18k—~1.7kAutomated safety check: PassCustom licence
Resource Hintsthedaviddias/Front-End-Checklist74k—~430Automated safety check: PassMIT
Get Available ResourcesK-Dense-AI/scientific-agent-skills48k1 repos~2.9kAutomated safety check: PassMIT
Free Design Resourcessickn33/agentic-awesome-skills47k1 repos~6.5kAutomated safety check: PassMIT

Similar skills

  • Agent skill for resource-allocator - invoke with $agent-resource-allocator

    74k GitHub starsUsed in 2 repos~4.9k tokens
    Auto-check passed
  • Resources

    windmill-labs/windmill

    MUST use when managing resources.

    18k GitHub stars~1.7k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Resource Hints

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Use resource hints for faster loading.

    74k GitHub stars~430 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Get Available Resources

    K-Dense-AI/scientific-agent-skills

    Detects host inventory and effective CPU, memory, disk, scheduler, container, and accelerator limits when a user asks for resource-aware planning or before a clearly resource-sensitive local workload.

    48k GitHub starsUsed in 1 repo~2.9k tokens
    Testing & QAAuto-check passed
  • Free Design Resources

    sickn33/agentic-awesome-skills

    Design resource register: resource and provider, licence type, commercial-use and attribution rules, export format, lock-in risk, free tier limit and accessibility notes.

    47k GitHub starsUsed in 1 repo~6.5k tokens
    Frontend & DesignAuto-check passed
  • Azure Resource Visualizer

    github/awesome-copilot

    Official

    Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources.

    40k GitHub starsUsed in 1 repo~2.4k tokens
    DevelopmentAuto-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 2 days ago
    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 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

Questions about Bevy Timers

What does Bevy Timers do?

Reference for Bevy timers — Timer as resource, component, or Local; tick, isfinished/justfinished, TimerMode::Once vs Repeating. Bevy Timers is an agent skill from nolantait/bevy-starter. Reference for Bevy timers — Timer as resource, component, or Local; tick, isfinished/justfinished, TimerMode::Once vs Repeating.

How do I install Bevy Timers in Claude Code?

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

How do I install Bevy Timers in Codex?

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

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

What does Bevy Timers need to run?

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

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

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

About 804 tokens (SKILL.md is roughly 3.2k 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 Timers?

Skills that share tags, products or a category with Bevy Timers: Agent Resource Allocator (ruvnet/ruflo, 74k stars), Resources (windmill-labs/windmill, 18k stars), Resource Hints (thedaviddias/Front-End-Checklist, 74k stars) and Get Available Resources (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bevy Timers?

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.