/meta-webxr-skills:webxr-pwa-questfrom meta-webxr-skills
PWA manifest for Meta Quest Browser, service worker, installability requirements, Quest-specific manifest extensions (ovr_*), Bubblewrap TWA packaging for Horizon Store. Use when building installable WebXR PWAs for Quest or packaging for the Horizon Store.
Ships in meta-webxr-skills. 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.
// manifest.json — minimum viable Quest PWA
{
"name": "My XR Experience",
"short_name": "My XR",
"description": "A WebXR experience for Meta Quest",
"start_url": "/",
"display": "standalone",
"background_color": "#000000",
"theme_color": "#000000",
"icons": [
{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png" }
],
"ovr_package_name": "com.example.myxrapp"
}
<!-- index.html -->
<link rel="manifest" href="/manifest.json">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#000000">
// service-worker.js — register in main JS
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js');
}
| Field | Requirement | Notes |
|---|---|---|
name | Required | LTR language only (no RTL) |
display | "standalone" or "minimal-ui" | "fullscreen" NOT supported on Quest |
icons | Min 192×192 | PNG or WebP |
| Field | Default | Notes |
|---|---|---|
start_url | Current page | Optional on Quest; required in Chrome |
short_name | — | Used in Horizon app library |
description | — | Shown on Horizon Store |
background_color | #000000 | Splash screen |
theme_color | — | System UI accent |
orientation | — | "landscape" or "portrait" |
lang | — | BCP 47 language tag |
ovr_*)These are Meta proprietary fields — ignored by other browsers.
{
"ovr_package_name": "in.walkinto.vr",
"ovr_multi_tab_enabled": true,
"ovr_scope_extensions": [
{ "origin": "https://cdn.walkinto.in" }
]
}
| Field | Type | Purpose |
|---|---|---|
ovr_package_name | string (reverse-domain) | Stable identity for Horizon Store TWA. Format: in.walkinto.vr. Required for store packaging; optional for browser-only install. |
ovr_multi_tab_enabled | boolean | Allow multiple tabs of the app in the Horizon browser. Default false. |
ovr_scope_extensions | array of {origin} | Extend the PWA scope to additional origins (e.g. CDN). |
For a PWA that should enter XR immediately on launch (not show a 2D UI first):
// Call requestSession immediately after DOMContentLoaded — no button required
// This works because PWA launch from Horizon counts as a user gesture
window.addEventListener('DOMContentLoaded', () => {
if (navigator.xr) {
navigator.xr.requestSession('immersive-vr', {
requiredFeatures: ['local-floor'],
}).then(onSessionStarted);
}
});
// manifest.json — indicate XR capability to the browser
{
"display": "standalone",
"xr_compatible": true
}
Minimal service worker for offline XR asset caching:
// sw.js
const CACHE_NAME = 'xr-app-v1';
const PRECACHE_ASSETS = [
'/',
'/index.html',
'/manifest.json',
'/app.js',
'/assets/scene.glb',
'/assets/environment.hdr',
];
self.addEventListener('install', (event) => {
event.waitUntil(
caches.open(CACHE_NAME).then((cache) => cache.addAll(PRECACHE_ASSETS))
);
self.skipWaiting();
});
self.addEventListener('activate', (event) => {
event.waitUntil(
caches.keys().then((keys) =>
Promise.all(keys.filter((k) => k !== CACHE_NAME).map((k) => caches.delete(k)))
)
);
self.clients.claim();
});
self.addEventListener('fetch', (event) => {
event.respondWith(
caches.match(event.request).then((cached) => cached || fetch(event.request))
);
});
| Behaviour | Chrome | Quest Browser |
|---|---|---|
start_url | Required | Optional |
display: fullscreen | Supported | NOT supported — use standalone |
display: standalone | Supported | Supported (recommended) |
| Install prompt | beforeinstallprompt event | Triggered by long-press → "Add to Library" |
RTL name/short_name | Supported | NOT supported |
| Splash screen | Generated from manifest | Shown during app load |
To distribute as a native-feeling app via Meta Horizon Store, package the PWA as a TWA (Trusted Web Activity):
# Install meta-quest/bubblewrap
npm install -g @meta-quest/bubblewrap
# Init from manifest URL
bubblewrap init --manifest https://yourdomain.com/manifest.json
# Build APK
bubblewrap build
# Output: app-release-signed.apk → submit to Horizon Store
Requirements for TWA validation:
ovr_package_name in manifest must match the TWA package name/.well-known/assetlinks.json:[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "in.walkinto.vr",
"sha256_cert_fingerprints": ["AA:BB:CC:..."]
}
}]
Distribution paths:
| Path | Method | Notes |
|---|---|---|
| Browser install | User adds via Quest Browser "Add to Library" | No store approval needed |
| Sideload | ADB install APK | Dev/test only |
| Horizon Store | Bubblewrap APK → store submission | Full distribution |
display: fullscreen breaks installability. Quest Browser does not support fullscreen display mode for PWA installation. Always use "standalone".
ovr_package_name format. Must be reverse-domain notation: com.company.appname or in.walkinto.vr. Inconsistent naming between manifest and Bubblewrap config causes TWA validation to fail.
HTTPS is mandatory. WebXR and service workers both require a secure context. Use a real certificate (not self-signed) in production; mkcert for local dev.
PWA launch from Horizon Home counts as a user gesture. When a user opens your PWA from the Quest home library, the initial page load is treated as a user interaction, allowing requestSession to be called without an explicit button click.
Large GLB/HDR assets. Pre-cache key XR assets in the service worker. Quest has limited storage; keep total cache under ~500 MB. Use Draco compression for GLB files.
webxr-session — requestSession from PWA launchwebxr-rendering — renderer setup for immersive-vr/arWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub entelligentsia/skillforge --plugin meta-webxr-skills8 skills in this plugin
/webxr-anchorsWebXR spatial anchors, hit-testing, anchor creation and persistence on Meta Quest. Use when placing virtual objects on real-world surfaces, persisting object positions across sessions, or implementing hit-testing for object placement./webxr-inputWebXR input sources on Meta Quest — controllers, hand tracking, input poses, gamepad buttons/axes, select/squeeze events, Three.js XRControllerModelFactory. Use when handling controller input, hand tracking, raycasting from controllers, or rendering controller models./webxr-layersWebXR Layers API — XRWebGLBinding, Projection, Quad, Cylinder, Cube, and Equirect layers on Meta Quest. Use when adding compositor-native UI panels, 360 backgrounds, or curved screens in WebXR, or when sharp text/image quality is needed without reprojection distortion.Other plugins' skills for the same job