hz-android-2d-porting
Guides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements. Use…
MANDATORY pre-flight check before answering any question or writing any code related to Meta Quest VR headsets (Quest 2, Quest 3, Quest 3S, Quest Pro) or apps that target them. Forces verification against authoritative Meta sources via the metavr CLI / metavr MCP tools BEFORE
Claude Code
$ npx -y skills add meta-quest/agentic-tools --skill hz-quest-verify-first --agent claude-code
Codex
$ npx skills add meta-quest/agentic-tools --skill hz-quest-verify-first -a codex -y
Cursor
$ npx skills add meta-quest/agentic-tools --skill hz-quest-verify-first -a cursor -y
Gemini CLI
$ npx skills add meta-quest/agentic-tools --skill hz-quest-verify-first -a gemini-cli -y
GitHub Copilot
$ npx skills add meta-quest/agentic-tools --skill hz-quest-verify-first -a github-copilot -y
OpenCode
$ npx skills add meta-quest/agentic-tools --skill hz-quest-verify-first -a opencode -y
Windsurf
$ npx skills add meta-quest/agentic-tools --skill hz-quest-verify-first -a windsurf -y
name: hz-quest-verify-first license: Apache-2.0 description: >- MANDATORY pre-flight check before answering any question or writing any code related to Meta Quest VR headsets (Quest 2, Quest 3, Quest 3S, Quest Pro) or apps that target them. Forces verification against authoritative Meta sources via the metavr CLI / metavr MCP tools BEFORE relying on training-data knowledge. Counters the failure mode where agents answer Quest-related questions from stale memory and ship deprecated APIs, broken Android manifests, and store-rejected builds. Loads automatically when the user is in a Quest project (any reference to Oculus / Meta Quest / Horizon OS, Unity OVR or Meta XR packages, com.meta.* / com.oculus.* package IDs, Quest-targeted AndroidManifest, .meta files, or developers.meta.com / developer.oculus.com URLs). Build paths: all; use this skill first whenever the path is unknown or a Quest-specific claim is involved. allowed-tools: Bash(metavr:*), Bash(npx:*)
You are about to be told to call tools you may not recognize by name. Read this section first so the rest makes sense.
(Quest 2, Quest 3, Quest 3S, Quest Pro). They run an Android-based OS.
Android, ships on every Quest headset, and Meta updates it on its own cadence (separate from upstream Android). Many APIs are Horizon-OS-specific and have no analog in stock Android.
standalone binary and as `metavr` on npm. Invoke via `metavr <args>` (or `npx -y metavr <args>` with no install; `npx` always pulls the latest published version). It wraps `adb` and Meta's developer APIs into higher-level commands for Meta VR device development: list devices, install apps, capture Perfetto traces, search Meta VR documentation, query 3D asset libraries, automate UI interactions, etc. metavr is the primary action layer for Meta VR dev work — the equivalent of what `gcloud` is for GCP or `git` is for source control.
tools to AI coding agents over the Model Context Protocol. The relevant tools for this skill are:
info, connect, reboot, battery, controllers, proximity, etc.)
uninstall, launch, stop, clear)
(perf, ovrmetrics, ui, audio, casting, window, unity, sideload, asset, config, …). Its JSON Schema is generated from clap so the available subcommands and their typed args are visible to you in the tool definition.
projects: Meta XR All-in-One SDK (Unity), Meta XR Core / Interaction / Platform / Voice / Movement SDKs, Meta Spatial SDK (Kotlin / Android panels), IWSDK (Immersive Web SDK for WebXR), MRUK (Mixed Reality Utility Kit), Presence Platform, Horizon Platform SDK. These ship on their own release cadences, separate from Quest OS. Meta Spatial SDK is the immersive Android/Kotlin path; it is not required for ordinary 2D Android panel apps.
references the `OVR` namespace and the "Oculus Integration" Unity package. Both have been deprecated in favor of the Meta XR All-in-One SDK family. Most training data still recommends the deprecated names. Verify before recommending anything in this area.
Meta Quest and Horizon OS evolve fast. Meta SDKs ship every few weeks. APIs get renamed before public release. Manifest entitlements and store policies update monthly. Entire SDK families (Meta Spatial SDK, IWSDK, Horizon OS shells) post-date most LLM training corpora.
**You almost certainly have stale knowledge about Quest specifics.** The package names you remember have been renamed. The Unity menu paths have moved. The setup steps that worked on a prior Horizon OS version silently broke on the current one. The "OVR" namespace you reach for has been split across half a dozen Meta XR packages.
If you answer a Meta Quest question or write Quest-targeted code without verifying first, you will hallucinate. The user will not notice until their build fails, their app gets rejected from the store, or their AndroidManifest doesn't publish.
**This skill is a hard gate. Treat it as a precondition, not a suggestion.**
You MUST run the verification flow below if ANY of the following is true for the current task:
MR, VR, XR, OpenXR (on Quest), Meta SDK, Meta XR, OVR, Spatial SDK, IWSDK, MRUK, Movement SDK, Voice SDK, Presence Platform, Horizon Platform SDK, hand tracking, passthrough, anchors, scene mesh, casting, eye tracking, body tracking, controllers, or platform compliance / store policy
in `manifest.json` / `Packages/manifest.json`
feature declarations
Guides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements. Use…
Upgrades Meta VR apps to newer Horizon OS SDK versions — migration guides, deprecated API replacements, changelog. Use when…
Guides design of comfortable, intuitive VR/MR experiences for Meta VR and Horizon OS — comfort guidelines, interaction patterns,…
Builds WebXR experiences for Meta VR and Horizon OS using the Immersive Web SDK (IWSDK) — ECS architecture, Three.js integration,…
Build multi-window Meta Horizon OS experiences with the MetaVrx Layout SDK in Jetpack Compose or React Native. Covers framework…
Builds app UI for Meta VR and Horizon OS with the MetaVrx UI Set, a Jetpack Compose component library and design system. Covers…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.