google/xrblocks/xb-add-world-sensing

Claude Code and agent skill by google/xrblocks

Trust tier 4
  • vendor
Source check pending

Checking that the SKILL.md file is still in the repository.

Connect physical-world sensing to XR Blocks application state. Use when adding planes, scene meshes, depth, occlusion, world collision evidence, object or human recognition, face tracking, segmentation, or agent-facing scene context.

Install

npx vskill@latest install google/xrblocks/xb-add-world-sensing

SKILL.md

The same SKILL.md was published earlier as google/xrblocks/xb-add-world-sensing.

Add world sensing

Build a complete sensing behavior: evidence enters the app, becomes current state, and produces an observable reaction.

1. Write the sensor contract

Name the physical or scene signal, cadence, observable reaction, data freshness, permissions, target runtime, and behavior for unsupported, denied, warming-up, empty, stale, and failed states.

Read `references/branches.md`, select the narrowest branch that supplies the signal, and read only that branch's manual and example.

Complete this step when one named signal maps to one reaction and every absence state maps to an explicit application state.

2. Prove the selected branch

Verify each planned symbol in `../../src/xrblocks.ts` and its implementation. Inspect the linked current manual, template, or sample. Record the exact option, permission, WebXR session feature, optional dependency, simulator fidelity, and real-device check before editing application code.

Complete this step when every input has current source or executable evidence and the target runtime is explicit.

3. Connect evidence to app state

Configure the branch before xb.init(options) and keep application behavior in an xb.Script. Let XR Blocks own sensor and render update loops. For explicit detection, prevent uncontrolled concurrent requests and display pending state. For continuous detectors, use start(client) and stop(client) with the same client object.

Convert success into the requested reaction. Convert empty arrays, null, missing sensor data, denied permission, rejected session startup, and stale observations into the contract's absence state. Clear previous output when it is no longer current.

Complete this step when fresh evidence changes observable state and missing or stale evidence clears or replaces it deterministically.

4. Preserve targeting and placement ownership

Use the interaction pipeline's resolved hit for ray-based placement. A reticle displays that hit; it does not own target data. Use xb.world.placeOnHorizontalSurface() for one-time surface placement. Use the Placement manual for continuous follow/face/orbit behavior and its manipulation rebasing.

Complete this step when the sensor, interaction resolver, reticle, and placed object each have one clear responsibility.

5. Prove and hand off sensing

Build or type-check the app and start the exact simulator route when available. Confirm options, imports, permissions, detector ownership, freshness, result mapping, absence states, and cleanup. Add deterministic simulator ground truth only when the branch supports it.

Give separate simulator and device instructions when their evidence differs. Name the signal to present, expected reaction, empty result, stale clearing, permissions, and synthetic versus native evidence.

Finish when successful, empty, denied, unsupported, failed, and stale states have reproducible checks for the selected branch.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 24 Aug 2026.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
464
Repository forks
94
7-day trend score
31

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/google/xrblocks/xb-add-world-sensing/badge)](https://verified-skill.com/skills/google/xrblocks/xb-add-world-sensing)

Something wrong with this skill or its page? Tell us.