
Bevy capture
Lets an agent wire Bevy cameras to record MP4, GIF or PNG frame sequences
Bevy capture 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 capture
This skill guides an agent through adding the bevy_capture crate to a Bevy app so a Camera2d or Camera3d renders off-screen and its frames are written to video or image files. It covers the CapturePlugin and CaptureBundle setup, starting and stopping a recording, and pausing and resuming it mid-run.
The skill compares the available encoders: an in-process OpenH264 MP4 encoder, ffmpeg-based encoders that either collect frames or pipe them to a child process, a GIF encoder and a per-frame PNG writer. It explains which Cargo features each one needs and which ones require ffmpeg on the system path. It also includes a canonical Rust example and notes on deterministic offline rendering.
The guidance is tied to the crate's 0.6.0 API, which pins Bevy 0.19, so the skill includes a porting note for using the crate with Bevy 0.20 through a Cargo patch. Users should expect to read the referenced encoder and porting documents for details beyond the main file.
When your agent uses it
Use when adding `CapturePlugin` to record a `Camera3d` or `Camera2d` to video, spawning `CaptureBundle` with `RenderTarget::target_headless`, calling `Capture::start` with `Mp4Openh264Encoder`, `Mp4FfmpegCliEncoder`, `Mp4FfmpegCliPipeEncoder`, `GifEncoder` or `FramesEncoder`, pausing with `Capture::pause`, or hitting "failed to select a version for bevy_capture" because the crate still pins Bevy 0.19 while your app is on Bevy 0.20.
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 (17 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@raeaOr copy only this skill to ~/.claude/skills/bevy-capture:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bevy-capture &&
cp -R "$tmp/skills/bevy/pack/bevy-capture" ~/.claude/skills/bevy-capture &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/bevy-capture inside it instead.
Copy the skill folder to ~/.agents/skills/bevy-capture 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-capture &&
cp -R "$tmp/skills/bevy/pack/bevy-capture" ~/.agents/skills/bevy-capture &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/bevy-capture inside it instead.
Copy the skill folder to ~/.cursor/skills/bevy-capture 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-capture &&
cp -R "$tmp/skills/bevy/pack/bevy-capture" ~/.cursor/skills/bevy-capture &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/bevy-capture inside it instead.
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-captureOr copy the folder to ~/.gemini/skills/bevy-capture yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bevy-capture:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bevy-capture &&
cp -R "$tmp/skills/bevy/pack/bevy-capture" ~/.copilot/skills/bevy-capture &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/bevy-capture inside it instead.
Get the folder:
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.gitThen copy raea-skills/skills/bevy/pack/bevy-capture into your agent's skills folder as bevy-capture. Agents that support SKILL.md read one folder per skill.
What it does
- Camera recording setup
- Shows how to attach CapturePlugin and CaptureBundle to a 2D or 3D camera rendering to an off-screen target.
- Multiple encoder options
- Covers in-process H.264, ffmpeg CLI, GIF and PNG-per-frame encoders with their feature flags.
- Pause and resume control
- Explains pausing, resuming and stopping a capture so encoders finish cleanly.
- Deterministic offline rendering
- Describes a fixed-timestep, windowless setup for reproducible frame output.
- Bevy 0.20 porting notes
- Documents the version mismatch with the published crate and a Cargo patch workaround.
- Common gotcha troubleshooting
- Lists frequent errors such as missing encoder features, first-frame readiness and WASM limits.
Good for
- Record a gameplay clip from a Bevy camera to MP4
- Export a short looping GIF of a Bevy scene for a README
- Save a PNG sequence of frames for offline compositing
- Set up headless frame capture for automated visual regression tests
- Pause and resume a recording during a Bevy cinematic
Bevy capture FAQ
Does Bevy capture work with the released bevy_capture crate on Bevy 0.20?
Not directly. The published 0.6.0 crate pins Bevy 0.19, so the skill recommends a Cargo patch pointing to a fork that bumps the Bevy requirement until upstream publishes a 0.20 build.
Which encoders need ffmpeg installed?
The two ffmpeg-based encoders, Mp4FfmpegCliEncoder and Mp4FfmpegCliPipeEncoder, need ffmpeg on the system path. The OpenH264, GIF and frames encoders do not.
Are there licensing concerns with the H.264 encoder?
The skill notes that the OpenH264 binary is Cisco-licensed and suggests an ffmpeg encoder if a project's policy forbids it.
Can the capture run in a browser build?
The skill says only the frames and GIF encoders avoid native dependencies, and neither can write files without JavaScript interop.
How do I install Bevy capture in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/bevy-capture to use it in all your projects, or to .claude/skills/bevy-capture in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.
Does Bevy capture 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 capture?
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 capture?
The closest alternatives to Bevy capture are Bevy cameras, Bevy rendering, Bevy animation, Bevy audio and Bevy testing.
Where this comes from
- Description: from the skill's own SKILL.md.
More from shinyobjectz/raea-skills

Check and consult a project's generated vocabulary before naming anything
- Open source
- 38 GitHub stars
- Knowledge and memory

Blank template for authoring new raea skills with a standard section layout
- Open source
- 38 GitHub stars
- Developer tools

Lets an agent write and render video, motion graphics and 3D scenes as React code
- Open source
- 38 GitHub stars
- Design and media

Routes Bevy 0.20 tasks to the right sibling skill and pins the engine version
- Open source
- 38 GitHub stars
- Developer tools

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

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

