An AI toolkit that helps you build Web Apps for Meta Ray-Ban Display glasses. It contains plugins for Claude Code, Codex, Cursor, and GitHub Copilot.
Web Apps are standard HTML/CSS/JavaScript applications rendered on Meta Ray-Ban Display (MRBD) glasses — an easy and familiar way to build experiences for the glasses, especially with AI-assisted coding tools. See the full Web Apps developer documentation on the Wearables Developer Center for capabilities, design constraints, and best practices.
Claude Code:
# Add the marketplace (one-time)
/plugin marketplace add https://github.com/facebookincubator/meta-wearables-webapp
# Install the plugin
/plugin install meta-wearables-webapp@meta-wearables
# Update plugin
/plugin marketplace update meta-wearables && /plugin update meta-wearables-webapp@meta-wearablesCodex CLI:
# Add the marketplace (one-time, run in your terminal)
codex plugin marketplace add https://github.com/facebookincubator/meta-wearables-webapp
# Install the plugin (run in your terminal)
Start Codex, and type `/plugins` → tab to **[Meta Wearables]** → install.
# Update plugin
# Refresh the marketplace source
codex plugin marketplace upgrade meta-wearables
Then inside Codex: go to `/plugins` — if a newer version is available, select the option to update.# Clone this repo and Install for your preferred tool
git clone https://github.com/facebookincubator/meta-wearables-webapp.git
./install-skills.sh claude # Claude Code
./install-skills.sh cursor # Cursor
./install-skills.sh copilot # GitHub Copilot
./install-skills.sh all # All tools + AGENTS.md
# Or remote install (no clone needed)
curl -sL https://raw.githubusercontent.com/facebookincubator/meta-wearables-webapp/main/install-skills.sh | bashOpen your project in an AI-assisted editor and describe what you want:
"Create a weather app that shows the 5-day forecast with D-pad navigation"
The AI will scaffold index.html, styles.css, and app.js following the display glasses design system.
Start your web app locally however your project requires (e.g., open index.html directly, run a dev server, npm run dev, etc.) and open it in your desktop browser. Use arrow keys to simulate D-pad input.
To test sensor data like geolocation or IMU sensors:
- Open Chrome DevTools (F12)
- Click the ⋮ (three-dot menu) in the top-right of DevTools
- Go to More tools → Sensors
- Override Location with custom latitude/longitude and change Orientation as needed
Your web app must be hosted at a publicly available HTTPS URL. This plugin supports deploying to Vercel, but Vercel is just one option — you can use any hosting provider as long as the result is a publicly accessible HTTPS URL.
Once deployed, add the web app to your glasses:
Option A — QR code (recommended):
Use the plugin's publish skill to generate a QR code. Scan it with your phone to deep link directly into the Meta AI app and add the web app to your glasses.
Option B — Manual setup:
- Open the Meta AI app on your phone
- Go to Devices → Display Glasses settings
- Navigate to App connections → Web apps
- Tap Add a web app
- Enter the app name and your deployed URL
| Constraint | Reason |
|---|---|
| 600x600px viewport | Display size |
| D-pad navigation only | EMG wristband translates gestures to arrow keys |
| Dark backgrounds | Black is transparent on the additive display |
| High contrast elements | Readability on a small transparent display |
.focusable class on interactive elements |
D-pad focus management |
| Skill | Description |
|---|---|
create-webapp |
Scaffold a new web app from scratch |
add-screen |
Add a new screen or view to an existing app |
add-button |
Add buttons and action handlers |
connect-api |
Connect to REST/WebSocket APIs |
add-sensors |
Accelerometer, gyroscope, compass |
See the examples/ directory for sample apps:
- Snake — Classic snake game with D-pad controls and high scores
Skills are authored once in plugins/meta-wearables-webapp/skills/ and distributed via:
- Claude Code — Plugin marketplace (recommended) or
install-skills.sh claude - Codex CLI — Plugin marketplace (recommended) or
install-skills.sh agents - Cursor — Cursor plugin via
install-skills.sh cursor(installs to~/.cursor/plugins/local/, single source of truth with Claude/Codex) - GitHub Copilot —
.github/copilot-instructions.mdviainstall-skills.sh copilot - Gemini CLI / Windsurf / Devin —
AGENTS.mdviainstall-skills.sh agents
This project is licensed under the BSD License — see LICENSE for details.