Skip to content
Skill

Bevy diagnostics profiling

Guides an agent through profiling Bevy 0.20 games with diagnostics, tracing and render

Bevy diagnostics profiling is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
38
Last commit
License
MIT
Listing updated

Similar skills

About Bevy diagnostics profiling

This skill gives a coding agent a structured approach to measuring performance in Bevy 0.20 projects. It covers registering custom diagnostic paths with units, recording gauges and counters from ECS systems, and reading values from the diagnostics store for displays or exporters. It also explains when to use built-in plugins such as frame time, entity count, system information and render diagnostics, and how to enable the render debug overlay.

The skill separates three kinds of evidence: continuous diagnostics over time, tracing spans that show where execution time goes, and render pass measurements. It advises coarse, low-cardinality tracing spans, release-like captures, and treating missing GPU timings as unsupported rather than zero. It also notes platform limits, such as which backends expose timestamp queries and that desktop results do not establish Steam Deck or browser budgets.

The agent works with Rust Bevy code and optional tracing backends such as Tracy or Chrome traces. Reference files cover diagnostics and tracing, render and platform profiling, and budgets and telemetry for queue, task and upload metrics.

When your agent uses it

Use when profiling Bevy 0.20 with `DiagnosticPath`, `DiagnosticsStore`, `info_span!`, `RenderDiagnosticsPlugin`, or the `RenderDebugOverlay`: custom metrics, CPU/GPU pass timings, queue/task/upload telemetry, stale-result counts, and native, Steam Deck, or WebGPU budgets.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (16 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the raea plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add shinyobjectz/raea-skills
/plugin install raea@raea

Or copy only this skill to ~/.claude/skills/bevy-diagnostics-profiling:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bevy-diagnostics-profiling &&
cp -R "$tmp/skills/bevy/pack/bevy-diagnostics-profiling" ~/.claude/skills/bevy-diagnostics-profiling &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/bevy-diagnostics-profiling inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/bevy-diagnostics-profiling to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bevy-diagnostics-profiling &&
cp -R "$tmp/skills/bevy/pack/bevy-diagnostics-profiling" ~/.agents/skills/bevy-diagnostics-profiling &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/bevy-diagnostics-profiling inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/bevy-diagnostics-profiling to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bevy-diagnostics-profiling &&
cp -R "$tmp/skills/bevy/pack/bevy-diagnostics-profiling" ~/.cursor/skills/bevy-diagnostics-profiling &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/bevy-diagnostics-profiling inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/shinyobjectz/raea-skills.git --path skills/bevy/pack/bevy-diagnostics-profiling

Or copy the folder to ~/.gemini/skills/bevy-diagnostics-profiling yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bevy-diagnostics-profiling:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bevy-diagnostics-profiling &&
cp -R "$tmp/skills/bevy/pack/bevy-diagnostics-profiling" ~/.copilot/skills/bevy-diagnostics-profiling &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/bevy-diagnostics-profiling inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git

Then copy raea-skills/skills/bevy/pack/bevy-diagnostics-profiling into your agent's skills folder as bevy-diagnostics-profiling. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Custom diagnostic metrics
Registers namespaced diagnostic paths with units and records measurements from ECS systems.
Tracing spans for causality
Adds coarse info spans and explains enabling Tracy or Chrome trace backends in optimised builds.
Render pass timings
Covers RenderDiagnosticsPlugin CPU and GPU timings and backend support differences.
Render debug overlay setup
Explains enabling the Bevy 0.20 render debug overlay under the dev feature.
Platform budget guidance
Outlines native, Steam Deck and WebGPU acceptance budgets and profiling rules.
Review checklist
Provides a checklist for units, percentiles, overhead and repeatable captures.

Good for

  • Add a custom metric for a job queue depth in my Bevy game
  • Find out which render passes take the most GPU time
  • Instrument a voxel meshing pipeline with tracing spans
  • Check whether my Bevy build meets a frame budget on Steam Deck
  • Enable the render debug overlay in my Bevy 0.20 project

Bevy diagnostics profiling FAQ

What does Bevy diagnostics profiling need to run?

It targets Bevy 0.20 Rust projects. Tracing output needs the bevy trace_tracy or trace_chrome features enabled in an optimised build.

Does Bevy diagnostics profiling change my code automatically?

No scripts are included. It gives the agent patterns and guidance for adding diagnostics, spans and profiling checks.

Why is GPU time missing on some platforms?

Render timestamp queries are supported on Vulkan and DX12. Metal, WebGPU and WebGL2 expose CPU render timings only, and missing GPU values should not be read as zero cost.

Which tools does the skill reference?

It references Tracy, Chrome tracing, vendor GPU profilers and RenderDoc, noting RenderDoc is a graphics debugger rather than a performance profiler.

How do I install Bevy diagnostics profiling in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bevy-diagnostics-profiling to use it in all your projects, or to .claude/skills/bevy-diagnostics-profiling in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.

Does Bevy diagnostics profiling run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Bevy diagnostics profiling?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Bevy diagnostics profiling?

The closest alternatives to Bevy diagnostics profiling are Bevy testing, Bevy rendering, Bevy ecs components, Bevy a11y and Bevy ecs queries.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from shinyobjectz/raea-skills

  1. Check and consult a project's generated vocabulary before naming anything

    • Open source
    • 38 GitHub stars
    • Knowledge and memory
  2. Blank template for authoring new raea skills with a standard section layout

    • Open source
    • 38 GitHub stars
    • Developer tools
  3. Lets an agent write and render video, motion graphics and 3D scenes as React code

    • Open source
    • 38 GitHub stars
    • Design and media
  4. Routes Bevy 0.20 tasks to the right sibling skill and pins the engine version

    • Open source
    • 38 GitHub stars
    • Developer tools
  5. Guides an agent through accessibility design and audits for Bevy 0.20 games

    • Open source
    • 38 GitHub stars
    • Developer tools
  6. Guides an agent through Bevy 0.20 animation: graphs, blending, events and easing

    • Open source
    • 38 GitHub stars
    • Developer tools