xb-simulator

Simulate XR Blocks user, hands, depth, and planes in a browser.

455|91|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/google/xrblocks --skill xb-simulator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xb-simulator
Source: https://github.com/google/xrblocks/tree/main/skills/xb-simulator
Command: npx skills add https://github.com/google/xrblocks --skill xb-simulator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill allows developers to simulate the XR Blocks experience on the desktop, enabling them to develop and test XR applications without the need for a headset.

Core Features & Use Cases

  • Desktop Simulation: Simulates user, hands, depth, and planes in a browser.
  • Control Modes: Offers control modes for moving the user, posing hands, or driving controllers.
  • Optional UI: Imports on-screen settings/instruction panels for additional controls.
  • Use Case: Ideal for developing and iterating on XR applications without a device, or for testing gestures and interactions in a controlled environment.

Quick Start

Run 'npm run dev' to start the XR Blocks development server, then enter the simulator using the 'Enter Simulator' option in the XR button or by appending '?formFactor=desktop' to the URL.

Frequently Asked Questions about xb-simulator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test XR applications without a headset?

You can test XR applications without a headset by using a desktop simulator that renders user, hands, depth, and planes in a normal browser. This approach allows you to develop and iterate on XR experiences directly on your computer without a physical device.

What is the best way to simulate XR Blocks on a desktop?

The best way to simulate XR Blocks on a desktop is to use a dedicated simulator offering control modes for moving the user and posing hands. You can access it by running your development server and appending '?formFactor=desktop' to your local URL.

Can I test hand gestures and interactions in a normal browser?

Yes, you can test hand gestures and interactions in a normal browser using control modes designed for posing hands or driving controllers. This provides a controlled environment for XR application development without requiring a physical headset.

How do I enter the XR simulator from my development server?

To enter the XR simulator from your development server, run 'npm run dev' and select the 'Enter Simulator' option in the XR button, or simply append '?formFactor=desktop' to your URL. This launches the desktop XR simulation environment.

Does the XR desktop simulator support on-screen settings or instruction panels?

Yes, the XR desktop simulator supports importing optional on-screen settings and instruction panels for additional controls. These UI components help manage user movement and hand posing during your browser-based XR testing sessions.