/meta-wearables-webapp:ai-glasses-webapp-ui [app-directory] [new|existing]from meta-wearables-webapp
Installs and configures the Meta Ray-Ban Display UI Toolkit for React web apps. Scaffolds new apps or migrates existing ones, managing npm packages and skill integration.
Ships in meta-wearables-webapp. 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.
Read when SKILL.md points to them; scripts run unread.
Use this skill with ai-glasses-webapp-build. The public Toolkit repository is
https://github.com/meta/meta-ray-ban-display-ui-toolkit-web/. It contains
the current documentation, examples, and llm-skills guidance.
Before writing Toolkit UI, check whether the wearables-ui-toolkit-web skill is
already available to the current coding agent. Reuse it when present; do not
reinstall it for every app. If absent, use the official repository's Node
installer once at account scope. This plugin provides a temporary-checkout
wrapper for the currently supported clients:
node <this-skill>/scripts/install-ui-toolkit-skills.mjs \
--client <claude-code|codex|muse-code> --account
The wrapper first checks the client's standard skill location, uses a temporary
GitHub checkout only when installation is needed, runs the repository's
tools/install-skills.mjs, and removes the checkout. Read
wearables-ui-toolkit-web/SKILL.md first, then only the production pattern or
direct references it selects. GitHub guidance governs components and layout;
the npm names and setup rules in this host skill override stale acquisition or
package-scope text in an older Toolkit skill installation.
After any Toolkit verifier succeeds, continue with the host sequence:
ai-glasses-webapp-test, the performance pass before release, and the local
preview required by ai-glasses-webapp-build. This is the integration exception
to Toolkit guidance that says to stop after its focused verifier.
The application dependencies are:
npm install @wearables-ui-toolkit/mrbd
npm install @wearables-ui-toolkit/icons
For an empty destination run:
node <this-skill>/scripts/init-webapp.mjs <app-dir>
For an existing React application run:
node <this-skill>/scripts/install-ui-toolkit.mjs <app-dir>
Both commands are idempotent. They first check the app's manifest and installed modules and skip npm when both packages are already usable. Otherwise they check the global npm installation and attempt the one-time shared install:
npm install --global @wearables-ui-toolkit/mrbd
npm install --global @wearables-ui-toolkit/icons
Every app still records both registry packages in its own package.json and
lockfile, and materializes local node_modules, because Node, Vite, CI, and
Vercel do not resolve global packages as application dependencies. npm's shared
cache reuses downloaded content across apps. Never add a fixed checkout path,
file: dependency, source alias, or silent local-source fallback. Registry or
repository access failures are blocking setup errors.
Only an explicit user opt-out permits --no-ui-toolkit during initialization.
Import components from @wearables-ui-toolkit/mrbd and filled icon assets from
public @wearables-ui-toolkit/icons exports. Never use the legacy
@meta/wearables-ui-toolkit-* scope or import package implementation source.
For an early structure-only check, run:
node <this-skill>/scripts/validate-ui-toolkit.mjs <app-dir>
The wrapper runs the licensed validator bundled with this plugin, so validation
does not depend on a machine-specific checkout or mutable network clone. Fix
every finding. Before handoff, run ai-glasses-webapp-test; its complete gate
invokes the same validation again.
assets/app-shell/index.html (opens in a new tab)assets/app-shell/src/App.no-wui.tsx (opens in a new tab)assets/app-shell/src/App.wui.tsx (opens in a new tab)assets/app-shell/src/main.tsx (opens in a new tab)assets/app-shell/src/styles.no-wui.css (opens in a new tab)assets/app-shell/src/styles.wui.css (opens in a new tab)assets/app-shell/tsconfig.json (opens in a new tab)assets/app-shell/vercel.json (opens in a new tab)assets/app-shell/vite.config.ts (opens in a new tab)scripts/init-webapp.mjs (opens in a new tab)scripts/install-ui-toolkit-skills.mjs (opens in a new tab)scripts/install-ui-toolkit.mjs (opens in a new tab)scripts/lib/wui-packages.mjs (opens in a new tab)scripts/validate-ui-toolkit.mjs (opens in a new tab)scripts/vendor/ui-toolkit/LICENSE (opens in a new tab)scripts/vendor/ui-toolkit/NOTICE (opens in a new tab)scripts/vendor/ui-toolkit/validate-app-structure.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub meta/meta-wearables-webapp --plugin meta-wearables-webapp7 skills in this plugin
/ai-glasses-webapp-buildCreate, redesign, or extend a web app for Meta Ray-Ban Display glasses. Use for application architecture, screens, routes, state, API-backed UI, persistence, offline behavior, or any product change; pair with ai-glasses-webapp-ui for toolkit setup and component composition. A complete initial app build includes a running local production preview and its URL./ai-glasses-webapp-deviceAdd Meta Ray-Ban Display glasses-specific sensors and input behavior: motion, orientation, compass, step detection, geolocation, neural-band activation/drag, D-pad game controls, or handwriting/voice text composition./ai-glasses-webapp-Other plugins' skills for the same job