Makes an IWSDK WebXR app ready for Meta VR Glasses (the controller-free, eyes-and-hands Horizon OS device from Connect 2026, shipping spring 2027): picks the input plan, writes IWSDK 1.0.1 config that validates (`gazeTracking`, `dev.emulator.device: metaVRGlasses`, `dev.targetDevicePreview`; not the `fieldOfViewMask` key on Meta's hosted page), wires gaze targeting with pinch selection via RayInteractable and DistanceGrabbable, sizes targets to 3 degrees, replaces controller-only locomotion and menus, fits UI into the 70 x 66 degree view, and tests with IWER's Gaze + Hands mode, CLI gaze automation, a head-gaze preview on Quest 3 and `metavr device fov-sim`. Use when the user mentions Meta VR Glasses, VR glasses, gaze and pinch, eye tracking in WebXR, look and pinch, controller-free or hands-only play, "make it work without controllers", the Switch to Controllers dialog, a narrower field of view, `metaVRGlasses`, `gazeTracking`, `fov-sim`, or porting a Quest WebXR game to the device.
Ships in IWSDK Core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Made by Navid Mirzaaghazadeh · part of iwsdk-webxr-skills · MIT
Meta VR Glasses run Horizon OS with the same Store and SDKs as Quest, but users aim with their
eyes, select with a hand pinch, usually have no controllers, and see a 70° × 66°
view (Quest 3: 110° × 96°). Hardware ships in spring 2027; until then you build on a Quest 3/3S
and in the IWER emulator. Facts, numbers and sources: docs/meta-reference/web-vr-glasses.md
in this library.
Hand-offs: feature code → iwsdk-dev first, then iwsdk-ray / iwsdk-grab / iwsdk-ui;
headset routine → iwsdk-quest-device-testing; frame rate → iwsdk-performance;
packaging and device targeting → horizon-web-store-publish; Browser feature support →
quest-browser-webxr.
world.features.fieldOfViewMask,
gaze.suppressWhenHandPointerActive) that IWSDK 1.0.1 rejects as unknown. Check
node_modules/@iwsdk/core/dist/project/types.d.ts when unsure.npm ls @iwsdk/core). On 0.x, upgrade first
(iwsdk-project-setup; 0.4 projects go through iwsdk-migrate-0-5).metavr device fov-sim enable (it changes a headset setting until disabled or
rebooted) and before adding controller-free modes that change gameplay.examples/gaze-pinch uses
activation: "always" and injectOnBuild: true for its hosted demo; a Store build keeps the
defaults (localhost, false).| Plan | What VR Glasses users get | Work |
|---|---|---|
| Controllers required | App installs; immersive launch shows Switch to Controllers and blocks entry until controllers are active. Many users have none | None, but you lose most of the audience |
| Controllers optional (recommended for a Quest port) | Every required flow works with eyes + hands; controllers still work | Sections 2-6 |
| Hands and eyes only | Same as above, no controller code paths | Sections 2-6; still handle a controller appearing |
Meta's mapping from controller to eyes and hands: ray → eye or hand ray; trigger/grip → pinch (or poke, palm grab); hold → pinch and hold; drag → pinch and drag; thumbstick scroll → swipe or pinch-drag; thumbstick locomotion → teleport.
Merge into iwsdk.config.json (Vite restarts on save):
{
"world": {
"xr": {
"mode": "vr",
"features": {
"handTracking": { "required": true },
"gazeTracking": true
}
},
"features": {
"grabbing": { "useHandPinchForGrab": true },
"gaze": { "showDebugReticle": false }
}
},
"dev": {
"emulator": { "device": "metaVRGlasses" },
"targetDevicePreview": { "gazeSimulation": "head" }
}
}
| Key | Meaning |
|---|---|
xr.features.gazeTracking: true | Requests the 'gaze-tracking' WebXR feature as optional (IWSDK also offers 'eye-tracking') and registers GazeSystem. { "required": true } makes the whole session fail on any runtime that doesn't grant gaze (expect that on Quest 3/3S, which have no eye tracking): avoid. eyeTracking is a deprecated alias |
handTracking: { "required": true } | What IWSDK's gaze example and Meta's guide use, since pinch comes from hands. If the app also supports controller-only play, use true (optional) instead |
features.grabbing.useHandPinchForGrab | Default false: near grabs (OneHandGrabbable, TwoHandsGrabbable) wait for a squeeze button. true forwards hand pinch as squeeze (GrabSystem docs) |
dev.emulator.device: "metaVRGlasses" | Desktop IWER profile: Quest 3 capabilities, the glasses' view mask, a gaze source. Desktop only |
dev.targetDevicePreview.gazeSimulation: "head" | On a real Quest, adds a head-directed test gaze source when the app requests gaze. Dev server only; stripped from builds; needs dev.emulator.iwer left on. false turns it off |
features.gaze.* | Tuning only, never enables gaze: coneAngle 5 (half-angle, degrees), maxRayLength 30 m, dwellWindowSeconds 0.15, filterMinCutoff 1.5, filterBeta 0.05, trackingLossGraceSeconds 5, suppressWhenDirectPointerActive true, pointerTransformFollowsHand true, logDiagnostics true, showDebugReticle false |
Meta's platform gaze cone is a 2.0° half-angle; IWSDK's default is 5°. Leave the default unless on-device tests show wrong targets on a dense panel, and change one value at a time.
Then confirm the manifest loads: npx @iwsdk/cli dev status (no restart loop) and
npx @iwsdk/cli dev logs --tail 50 (no unknown property errors).
Gaze is one session-wide ray pointer. It picks the target; a pinch from either hand selects. It uses the normal ray-pointer path, so no gaze-specific components or events:
RayInteractable, react to the Hovered / Pressed tags (or Three.js
pointer events). Gaze reports pointerType === 'ray' with pointer state source: 'gaze'.DistanceGrabbable (look, pinch, move). With MoveAtSource the object
follows the pinching hand's movement without snapping to it. One grab component per entity.examples/gaze-pinch and the IWSDK gaze concept page show a pointerEventsType predicate).trackingLossGraceSeconds; a disconnected gaze source hands far targeting back to hand and
controller rays. IWSDK never silently swaps in head pose.Design rules from Meta's eyes guidance (hz-immersive-designer has general comfort rules):
| Rule | Value |
|---|---|
| Minimum target size | 3° of visual angle: 2 × d × tan(1.5°). 0.75 m → 3.9 cm, 1 m → 5.2 cm, 1.5 m → 7.9 cm, 2 m → 10.5 cm. UIKit units are centimetres, so a button at 1 m needs width and height ≥ 5.2 |
| Layout | Primary actions near the centre of the panel and of the view; buttons in one row or column, not 2D clusters; no small targets at the view edge |
| Hover | Production gaze has no cursor: give every target its own subtle hover (colour/opacity, or scale the content, not the container); never move, resize or reflow on hover; no outlines; no hover-to-reveal menus |
| Timing | Hover-on colour 300 ms, off 400 ms; motion on 475 ms after a 150 ms delay, off 625 ms; press 80 ms, release 100 ms |
| Activation | Only on pinch. Dwell must never activate |
| Dismissal | A visible close button; not "pinch empty space to close" |
2D DOM UI (overlays outside XR, React/Preact HUDs, 2D PWA pages): the page gets no gaze hover at
all, so build controls from <button> / <a href> (or focusable ARIA roles), never rely on
:hover, and size them at least 56 × 56 CSS px (Meta's 2026-10-13 guidance; an older page
says 48).
| On Quest you used | For VR Glasses | IWSDK 1.0.1 notes |
|---|---|---|
| Thumbstick slide locomotion | Teleport, or a stationary design | IWSDK teleport is controller-only by default. With the right hand as primary input, a swipe up turns on its micro-gesture mode (turn and teleport by gesture), a swipe down turns it off. Whether the glasses' browser reports those gestures: unverified; test it, and tell players the gesture |
| Snap turn on the stick | Micro-gesture turn, or physical turning | Same mode as above |
| Menu / B button for the in-app menu | A visible in-app menu target (world-space or Follower) | Left palm pinch is the system gesture and leaves the session (Meta WebXR hands page) |
| Trigger to shoot / select | Gaze + pinch on a target; or a hand ray | RayInteractable handles both |
| Squeeze to grab | Pinch (useHandPinchForGrab: true) or DistanceGrabbable | |
| Haptics | Audio and visual feedback | No controller, no haptics |
| Text entry | Focus an HTML <input> to open the system keyboard (quest-browser-webxr) | Keyboard on VR Glasses: unverified |
Build the replacement with iwsdk-dev (it owns code changes), then prove each flow with
hands only (section 7).
Follower (PivotY, small offsetPosition); avoid parenting
panels to world.playerHeadEntity. ScreenSpace is browser-only, not an XR HUD.2 × atan(w / (2 × d))), never by display pixels; let IWSDK use the
per-eye XRView projection (don't hard-code a FoV).XRQuadLayer, XRCylinderLayer) are composited separately: check them on a
headset; fov-sim only clips them on Horizon OS v209+.Meta publishes no WebXR or draw-call budget for VR Glasses. Plan from the Quest 3 numbers in
iwsdk-performance and measure. Known device facts: up to 120 Hz display; render scale 1.0 is
1728 × 1760 per eye (about 3% more pixels than Quest 3 at 1.0); steady state CPU/GPU level 4
with no GPU level 5; passthrough can lower available levels; battery saver forces 72 Hz and
FFR; heat is managed separately for glasses and puck. Read session.frameRate and
supportedFrameRates at runtime instead of assuming a rate (probe in
iwsdk-quest-device-testing §4).
Desktop (IWER, no headset)
dev.emulator.device: "metaVRGlasses", npm run dev, Enter XR.Automated (CLI, same as MCP xr_* tools)
cli() { npx @iwsdk/cli "$@"; }
cli xr enter
cli xr set-input-mode --input-json '{"mode":"hand"}'
cli xr look-at --input-json '{"device":"gaze","target":{"x":0,"y":1.2,"z":-2}}'
cli xr select --input-json '{"device":"hand-right"}' # pinch; the gaze device takes no select
# assert with ECS: the target gained Pressed / your state changed (iwsdk-testing §4)
cli xr set-connected --input-json '{"device":"gaze","connected":false}' # fallback path
Gaze is pose-only: aim it with look-at, set-transform (orientation only) or animate-to;
move its origin by moving headset. Use set-select-value for hold-move-release grabs.
On a Quest 3 / 3S (iwsdk-quest-device-testing for connection and DevTools)
targetDevicePreview.gazeSimulation: "head"; the console shows [iwsdk][gaze] lines
telling granted / missing / invalid / head-mapped gaze apart.metavr device fov-sim enable (or --perceived), relaunch or re-don
the headset, test, then metavr device fov-sim disable. Quest Pro also supports fov-sim
and has eye-tracking hardware; whether its Browser grants gaze-tracking is unverified.Only the device will prove (spring 2027): eye-tracking accuracy, puck heat and placement, optics and layer composition, Store install on the glasses.
Same PWA pipeline (horizon-web-store-publish). Device targeting decides delivery, not
compatibility: All Devices and the quest3+ specifier include VR Glasses, and Future
devices marks a build forward-compatible. Meta also requires 64-bit native code; list the APK's
lib/ folders (unzip -l app-release-signed.apk | grep '/lib/') and flag anything only under
armeabi-v7a. Bubblewrap's Quest template declares hand tracking as optional with the
HAND_TRACKING permission, which Meta reads as "controllers and hands". VRC audit:
horizon-web-vrc-checklist.
select itself (IWSDK takes select from hands only).metaVRGlasses device (its source does).docs/meta-reference/web-iwsdk-docs-on-meta.md), /concepts/spatial-ui/uikit/ (UIKit units are centimetres)0778f518 (1.0.1): docs/concepts/xr-input/gaze.md, docs/guides/02-testing-experience.md, docs/concepts/locomotion/teleport.md, docs/concepts/spatial-ui/hud.md, examples/gaze-pinch/@iwsdk/core 1.0.1: dist/project/types.d.ts, dist/project/validation.js, dist/init/xr.js, dist/grab/grab-system.d.ts, dist/locomotion/locomotion.jsiwer 2.6.0: lib/device/configs/headset/meta.jsdocs/metavr-cli-reference.md in this library (metavr device fov-sim)Last verified: 2026-10-17
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
17 skills in this plugin
/horizon-launch-roadmapPlan and sequence the launch of an IWSDK / WebXR game or 2D web app on Meta Quest: choose between hosted web, the Browser new tab page and a Horizon Store PWA; pick 2D vs immersive; list the irreversible decisions (Android package id, signing key, origin and Digital Asset Links, Early Access, pre-order and Coming Soon windows, Data Use Checkup auto-approval, age group, web IAP limits, Meta VR Glasses input and targeting); map each phase to the skill that does the work; and build a dated timeline counting back from launch day, plus post-launch growth tools. Use when the user asks "how do I publish my WebXR game", "should I ship as a PWA or just a website", "what's the release process for a Quest web app", "plan my launch", "when should I submit", "can I do early access / pre-orders", "should I support Meta VR Glasses", or starts a new IWSDK project meant for the store./horizon-store-listing-assetsPrepare and validate the Meta Horizon Store listing for a WebXR / IWSDK PWA or a 2D PWA: art specs (covers, Hero, Mini Landscape, Logo, Icon, Spatialized tile, screenshots, trailer, 360 preview), asset VRCs, metadata limits, specs (play area, input, comfort, internet), age group and IARC, privacy policy and Data Use Checkup, pricing, price A/B tests, Try Before You Buy limits, web IAP limits (WebXR PWAs only, no subscriptions), sales, keys, Early Access, pre-orders, Store analytics, and what Meta VR Glasses change. Includes an image checker. Use when the user asks for "store assets for my web app", "cover art size", "screenshots of my WebXR game", "trailer requirements", "store description", "age rating / IARC", "privacy policy for my Quest PWA", "can my PWA sell items", "set the price", "A/B test my price", "free trial", "run a sale", "generate keys", or "early access". Replaces the asset table in Meta's hz-store-submit, which has wrong dimensions and limits./horizon-web-store-publishEnd-to-end release pipeline for shipping an IWSDK / WebXR game (or a 2D web app) on the Meta Horizon Store as a PWA/TWA: production build, HTTPS hosting that can serve /.well-known/assetlinks.json, web app manifest and icons, @meta-quest/bubblewrap-cli in immersive or 2D mode (scripted, non-TTY), version codes, signed-APK verification, sideload test, ovr-platform-util or metavr upload to ALPHA, device targeting (Future devices for Meta VR Glasses, quest3+ channel suffix), promotion between release channels, web-only updates versus APK rebuilds, and CI. Ships a deploy checker, a TWA APK verifier and a guarded upload wrapper. Use when the user says "publish my WebXR app to the Quest store", "package my IWSDK game as a PWA", "bubblewrap for Quest", "my TWA won't launch / shows a URL bar", "assetlinks", "upload my web app APK", "ship my PWA to Meta VR Glasses", "promote to beta / production", or "set up CI for my Quest PWA". Builds on and corrects Meta's hz-store-pwa skill./horizon-web-vrc-checklistPre-submission audit of a WebXR / IWSDK PWA (immersive) or a 2D PWA against Meta's current Virtual Reality Checks (VRCs) for the Horizon Store, by VRC ID, using the Store and Store (2D) columns of Meta's VRC table. For each VRC it gives the web-specific check (WebXR APIs, Bubblewrap manifest output, web permissions) and how to test it in the installed TWA on a Quest with metavr, adb, chrome://inspect and OVR Metrics Tool, then produces a PASS/FAIL/RISK evidence table. Use when the user asks "will my WebXR app pass review", "VRC checklist for a PWA", "which VRCs apply to a 2D web app", "focus awareness in WebXR", "pause when the Universal Menu opens", "frame rate requirement for WebXR", "entitlement check for a PWA", "is my PWA ready for Meta VR Glasses", or "why was my web app rejected (VRC...)". Takes precedence over the generic VRC notes in Meta's hz-store-submit, which are partly out of date./hz-immersive-designerGuides design of comfortable, intuitive VR/MR experiences for Meta VR and Horizon OS — comfort guidelines, interaction patterns, spatial layout, accessibility. Use during UX design review or when evaluating comfort and accessibility. Build paths: Meta Spatial SDK, Unity, Unreal, native OpenXR, and WebXR; for 2D panel apps use hz-panel-designer if available. Use hz-quest-verify-first if the build path is unclear./hz-perfetto-debugAnalyzes Meta VR and Horizon OS VR performance using Perfetto traces — frame timing, CPU/GPU bottlenecks, render pass analysis. Use when profiling frame drops, jank, or thermal issues on Meta VR devices. Build paths: all Meta VR app stacks; use hz-quest-verify-first if the build path is unclear./iwsdk-core:iwsdk-vr-glassesfrom IWSDK Core
npx claudepluginhub mirzaaghazadeh/iwsdk-webxr-skills --plugin iwsdk-core