/aria-ark:web-app-creatorfrom aria-ark
Build webapps that stream live sensor data from Meta Aria Gen2 (Nebula) smart glasses via WebSocket and the nebulaDataUpdate event bridge. Covers real-time VIO, hand tracking, eye gaze, IMU, PPG, audio, camera, and a bidirectional voice pipeline (VAD, Whisper STT, LLM, TTS). macOS only.
Ships in aria-ark. 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.
Build webapps that stream live data from Meta Aria Gen2 smart glasses. This skill is agent-agnostic — it works inside Manus, Claude Code, or any agent runtime that loads skills from a folder. A few sections below are flagged as Manus-only because they describe constraints or APIs unique to that host; ignore them when running under another agent.
[!IMPORTANT] Supported host OS: macOS only (for now). The bundled backend launcher (
start-web-app-creator-backend.command) and the auto-openbrowser hooks are written for macOS. Windows and Linux are not yet supported — running the launcher on those platforms will fail at the Gatekeeper/openstep, and the Python venv bootstrap has not been tested against non-mac toolchains. If the user is not on macOS, tell them up front that this skill can't run end-to-end on their machine yet, rather than walking them down a path that will dead-end later.
The Aria backend runs locally and exposes two interfaces:
ws://localhost:17300 — push-based JSON text + binary image frames, server → clientCustomEvents so generated HTML components can consume data without managing their own WebSocket connectionWhich pattern to use:
| Use Case | Pattern |
|---|---|
| Standalone webapp / new project | Raw WebSocket (ws://localhost:17300) |
| Component generated inside Web App Creator iframe | nebulaDataUpdate event listener |
| Full voice pipeline (STT + LLM + TTS) | Requires full-stack project (web-db-user) |
The Web App Creator backend is what serves ws://localhost:17300 and what every template in this skill connects to. Nothing in the skill works until this is running.
Tell the user to:
skills/web-app-creator/), then into the web-app-creator-backend/ subfolderstart-web-app-creator-backend.commandWebSocket listening on ws://localhost:17300 once the device is streamingCtrl+C in that window (or just close it)Do NOT instruct the user to run
bash start-web-app-creator-backend.commandfrom a terminal. That path looks equivalent but on many setups it does not behave the same (Terminal.app vs raw bash differs in TTY, environment, and how the launcher's foreground/keep-alive loop interacts with Ctrl+C). Always direct the user to the Finder double-click. The rawpython backend/websocket_bridge.pyentrypoint is for backend developers only — do not surface it to end users.
The launcher is an unsigned .command file, so on first run macOS Gatekeeper may show a dialog saying "start-web-app-creator-backend.command was not opened because Apple cannot verify it is free of malware" or similar. Guide the user through this one-time unblock:
start-web-app-creator-backend.command being blocked.start-web-app-creator-backend.command again. This time it will run.This unblock only has to be done once per machine.
pip install -r skills/web-app-creator/web-app-creator-backend/requirements.txt already done (the launcher will guide the user through any missing deps)Once the banner shows WebSocket listening on ws://localhost:17300, the templates below will start receiving live data the moment they open in a browser.
Rule of thumb: copy + trim a template > write from scratch. The two HTML templates below already cover ~90% of what generated components need. Copy one into your project, delete what you don't use, then customize. Only fall back to the raw
WebSocket/nebulaDataUpdatepatterns below if neither template fits.
| What you're building | Start from | Where it lives |
|---|---|---|
| 3D scene — glasses pose, hand skeleton, AR overlay, head/hand-tracked game | DevicePoseAndHands.html | templates/device-pose-and-hands/ |
| Any sensor visualization — RGB / SLAM / ET cameras, VIO, IMU, audio, PPG, gestures, TTS UI, multi-sensor dashboard | StreamPanel.html | templates/stream-panels/ |
| Voice loop (mic → STT → LLM → TTS) | voice-pipeline/ (React hooks + server functions) | templates/voice-pipeline/ |
| None of the above (rare) | Pattern 1 — raw WebSocket | see below |
Both HTML templates are single self-contained files (no React, no build step) and auto-connect to ws://localhost:17300. Drop them into generated_components/<id>/component.html and they just work.
| Don't write your own | The template already has it |
|---|---|
Binary frame parser (0x01 / 0x02 / 0x03 header decode → Blob → URL.createObjectURL) | StreamPanel.html (handleBinaryFrame + blob URL revocation) |
| WebSocket auto-reconnect with exponential backoff | Both HTML templates |
| 21-joint hand skeleton renderer (bone connections + joint spheres) | StreamPanel.html drawHand() and DevicePoseAndHands.html |
Audio ring buffer + Web Audio playback (ScriptProcessorNode, underrun handling) | StreamPanel.html writeAudioSamples() |
| IMU 2D arrow / waveform renderer | StreamPanel.html drawIMU() + drawArrow() |
| Eye-gaze crosshair canvas | StreamPanel.html drawGaze() |
| PPG min/max-normalized waveform | StreamPanel.html drawPpgWaveform() |
| TTS textarea + quick-send chips + status badge | StreamPanel.html TTS section |
| 3D glasses model loader (OBJ + JSON wireframe) | DevicePoseAndHands.html |
| Orbit camera (drag-rotate + scroll-zoom) | DevicePoseAndHands.html |
| VAD state machine, hallucination filter, TTS echo suppression | voice-pipeline/ (see its README.md) |
If you find yourself re-implementing any of the rows above, stop and copy the template instead.
Due to a recent change in Manus, the side-preview can no longer access local WebSocket services (ws://localhost). To use the webapp with live Aria data, publish the project and open it in a new browser tab.
Not running under Manus (e.g. Claude Code, local dev)? Skip this section —
ws://localhostworks in normal browser tabs.
If a user is working on a project created with an older version of the Web App Creator skill, three things need updating. (Quick check: does the WebSocket URL use port 8080? If yes, it's an old project and needs migration.)
ws://localhost:8080ws://localhost:173008080 → 17300 in WebSocket connection URLs.subscribe message.ws.onopen sends {"type": "subscribe", "streams": ["vio", "hand_tracking", ...]} with the streams the project actually needs.data.image field, rendered via data:image/jpeg;base64,... data URI.ws.binaryType = 'arraybuffer' after creating WebSocketonmessage: check event.data instanceof ArrayBuffer — if true, parse the binary header, create a Blob, use URL.createObjectURL() for <img> srcJSON.parse() as before for non-image dataURL.revokeObjectURL() old URLs to avoid memory leaks0x01=RGB, 0x02=SLAM, 0x03=ET), byte 1 = camera_id length, bytes 2..N = camera_id string, rest = JPEG bytesReference only. For any browser visualization, copy
templates/stream-panels/StreamPanel.htmland trim — it already implements everything below plus binary frame decoding, auto-reconnect, FPS tracking, and per-stream rendering. Use this raw pattern only when neither HTML template fits: non-browser clients, Node.js servers, or deeply custom data flows.
class AriaClient {
constructor(url = 'ws://localhost:17300') {
this.ws = null;
this.url = url;
this.handlers = {};
}
connect() {
this.ws = new WebSocket(this.url);
this.ws.binaryType = 'arraybuffer';
this.ws.onopen = () => {
// Must subscribe to receive data
this.ws.send(JSON.stringify({ type: 'subscribe', streams: Object.keys(this.handlers) }));
this.onConnect?.();
};
this.ws.onmessage = (e) => {
if (e.data instanceof ArrayBuffer) {
// Binary image frame
const view = new Uint8Array(e.data);
const frameType = view[0]; // 0x01=RGB, 0x02=SLAM, 0x03=ET
const camIdLen = view[1];
const camId = camIdLen > 0 ? new TextDecoder().decode(view.slice(2, 2+camIdLen)) : '';
const jpegBytes = view.slice(2+camIdLen);
const blob = new Blob([jpegBytes], { type: 'image/jpeg' });
const url = URL.createObjectURL(blob);
const type = frameType === 0x01 ? 'rgb_frame' : frameType === 0x02 ? 'slam_frame' : 'et_frame';
this.handlers[type]?.({ image: url, camera_id: camId });
} else {
const msg = JSON.parse(e.data);
this.handlers[msg.type]?.(msg.data, msg.timestamp);
}
};
this.ws.onclose = () => {
this.onDisconnect?.();
setTimeout(() => this.connect(), 3000); // auto-reconnect
};
}
on(type, fn) { this.handlers[type] = fn; return this; }
sendTTS(text) { this.ws?.send(JSON.stringify({ type: 'tts', text })); }
}
const aria = new AriaClient();
aria
.on('vio', (data) => { /* head pose */ })
.on('hand_tracking', (data) => { /* hands */ })
.on('eye_gaze', (data) => { /* gaze */ })
.on('imu', (data) => { /* motion */ })
.on('ppg', (data) => { /* heart rate */ })
.on('rgb_frame', (data) => { /* camera */ });
aria.connect();
HTTPS/WSS note: Browsers block
ws://(insecure) fromhttps://pages. For deployed sites, users must run Chrome with--allow-insecure-localhostor access the site viahttp://.
IMPORTANT: Always subscribe to only the streams your app needs. This dramatically reduces bandwidth and CPU usage — the backend skips expensive processing (image encoding, base64 conversion) for streams nobody is watching.
Send a subscribe message immediately after connecting:
ws.onopen = () => {
ws.send(JSON.stringify({
type: 'subscribe',
streams: ['vio', 'hand_tracking'] // Only what you need
}));
};
Valid stream types: vio, hand_tracking, eye_gaze, imu, rgb_frame, slam_frame, et_frame, audio, ppg
Always received (no subscription needed): calibration, device_status
Default (no subscribe sent): No streams are delivered — clients must subscribe.
// Subscribe at mount time
const { streamData, subscribe } = useNebulaStream({
subscribeTo: ['vio', 'hand_tracking', 'eye_gaze']
});
// Or subscribe dynamically later
subscribe(['vio', 'hand_tracking', 'audio']);
const { vioRef, handTrackingRef, subscribe } = useAriaStream(
'ws://localhost:17300',
['vio', 'hand_tracking'] // subscribe on connect
);
| App Type | Recommended Streams |
|---|---|
| 3D visualization (hands + head) | vio, hand_tracking |
| Eye tracking heatmap | vio, eye_gaze |
| Voice assistant | audio, vio |
| Heart rate monitor | ppg |
| Camera feed overlay | rgb_frame, vio |
| Full dashboard / debug | Subscribe to all: ['vio','hand_tracking','eye_gaze','imu','rgb_frame','slam_frame','et_frame','audio','ppg'] |
Components generated inside Web App Creator receive data via a DOM event. The host app dispatches it; components only need to listen:
window.addEventListener('nebulaDataUpdate', (e) => {
const data = e.detail;
const vio = data.vio; // head pose
const hands = data.handTracking; // hand joints + gestures
const eyeGaze = data.eyeGaze; // gaze direction
const imu = data.imu; // accelerometer + gyro
const ppg = data.ppg; // heart rate
const rgbFrame = data.rgbFrame; // camera (base64 JPEG)
const audio = data.audio; // audio level/samples
});
See references/sensor_schemas.md for full TypeScript interfaces and examples for all 9 message types.
See references/visual_style_guide.md for the optional Project Aria visual style guide (colors, typography, spacing, etc.).
Quick reference — key fields:
| Type | Key Fields | Frequency |
|---|---|---|
vio | position{x,y,z}, euler{yaw,pitch,roll}, quaternion_full | ~100 Hz |
hand_tracking | left/right.joints[21], .gestures.pinch/thumbsUp/pointing | ~30 Hz |
eye_gaze | yaw, pitch, depth | ~30 Hz |
imu | accel{x,y,z}, gyro{x,y,z} | ~10 Hz |
ppg | heart_rate (BPM), value (raw) | ~25 Hz |
rgb_frame | Binary WebSocket frame (blob URL) | ~10 Hz |
audio | samples (base64 float32), level, peak, sample_rate | ~50 Hz |
slam_frame | Binary WebSocket frame (blob URL), camera_id | ~10 Hz |
et_frame | Binary WebSocket frame (blob URL), camera_id | ~10 Hz |
// RGB frames arrive as binary WebSocket frames (blob URLs from useNebulaStream)
// If using the AriaClient class:
aria.on('rgb_frame', (data) => {
// data.image is already a blob URL from URL.createObjectURL()
const oldSrc = document.getElementById('cam').src;
document.getElementById('cam').src = data.image;
if (oldSrc.startsWith('blob:')) URL.revokeObjectURL(oldSrc);
});
aria.on('hand_tracking', (data) => {
if (data.right?.gestures.pinch.detected) triggerAction();
});
aria.on('eye_gaze', (data) => {
const x = Math.tan(data.yaw * Math.PI / 180) * 100;
const y = -Math.tan(data.pitch * Math.PI / 180) * 100;
cursor.style.transform = `translate(${x}px, ${y}px)`;
});
// Hand positions are already in world coordinates (X-mirrored by backend)
// Simply use them directly with VIO position offset
function toWorld(jointPos, vio) {
return new THREE.Vector3(jointPos.x, jointPos.y, jointPos.z)
.add(new THREE.Vector3(vio.position.x, vio.position.y, vio.position.z));
}
aria.on('audio', (data) => {
const bytes = Uint8Array.from(atob(data.samples), c => c.charCodeAt(0));
const float32 = new Float32Array(bytes.buffer);
// float32 = PCM mono at data.sample_rate Hz
});
aria.sendTTS('Hello from the webapp!');
// Or via raw WebSocket:
ws.send(JSON.stringify({ type: 'tts', text: 'Hello!' }));
The full bidirectional voice pipeline turns Aria glasses into a conversational AI device. It requires a full-stack project (web-db-user) because Whisper, LLM, and S3 are server-side only.
Aria mic → ws://localhost:17300 (audio frames at 50Hz)
→ useAriaAudio hook (frame reception, ref-based callback)
→ useVAD hook (3-state machine: idle → listening → processing)
→ WAV encoding (Float32 → 16-bit PCM)
→ trpc.voice.transcribe (Base64 → S3 → Whisper API)
→ Hallucination filter (80+ phrases, 4 strategies)
→ trpc.voice.chat (LLM with last 10 messages context)
→ sendTTS(responseText) → ws://localhost:17300
→ Aria glasses speaker plays response
→ VAD paused for estimated TTS duration (echo suppression)
const DEFAULT_VAD_CONFIG = {
speechStartThreshold: 0.040, // RMS to trigger speech detection
silenceThreshold: 0.012, // RMS below which counts as silence
minSpeechDuration: 0.35, // Minimum clip length (seconds)
baseSilenceDuration: 1.0, // Silence timeout (seconds)
maxSilenceDuration: 2.0, // Max silence timeout for long speech
longSpeechThreshold: 5.0, // Speech duration before timeout scales up
preSpeechBuffer: 0.3, // Pre-speech ring buffer (seconds)
maxUtteranceDuration: 30, // Hard cap (seconds)
};
// Pause VAD for estimated TTS duration to prevent feedback loop
function estimateTTSDuration(text: string): number {
const words = text.trim().split(/\s+/).length;
return Math.max(2, words / 2.5 + 1.5); // ~150 WPM + 1.5s buffer
}
const SYSTEM_PROMPT = `You are a helpful voice assistant on Meta Aria smart glasses.
Keep responses concise — 1-3 sentences, no markdown or bullet points.
Always respond in English regardless of the user's language.
(Aria TTS is English-only.)`;
Default (platform-agnostic, OpenAI key only):
client/useAriaAudio.ts and client/useVAD.ts into your React project's src/hooks/server/ folder into your backend (any Node 18+ runtime)OPENAI_API_KEY in your environment (or see .env.example for other providers)transcribeAudio() and llmChat() into HTTP routes — see examples/express-server.tsuseAriaAudio for the WebSocket connection and useVAD for speech detection/api/voice/transcribe, then POST messages to /api/voice/chatsendTTS(responseText)Manus / Forge (legacy): copy examples/manus-trpc-router.ts verbatim into your tRPC tree — it still works against the original Manus framework files.
| Pitfall | Consequence | Fix |
|---|---|---|
| Auto-generated Whisper prompts | Whisper hallucinates the prompt text verbatim on silent audio | Only pass prompt if user explicitly provides one |
| Smoothed RMS in VAD | Silence threshold never reached; VAD stuck in "listening" | Use raw per-frame RMS, no EMA smoothing |
| No TTS echo suppression | Infinite loop: TTS → mic → VAD → STT → LLM → TTS → ... | Pause VAD for estimated TTS duration after every sendTTS call |
| React state for audio frames | Frames dropped at 50 Hz | Use ref-based callback via registerAudioCallback() |
| Non-English TTS text | Garbled or silent playback | Enforce English-only in LLM system prompt |
The new server/transcribeAudio.ts and server/llmChat.ts auto-detect any of these schemes — set whichever applies:
| Scheme | STT | LLM | Notes |
|---|---|---|---|
| OpenAI only | OPENAI_API_KEY | (same key) | Simplest. GPT-4o-mini default. |
| Claude + Whisper | STT_API_KEY (OpenAI) | ANTHROPIC_API_KEY | Best quality chat. Claude Sonnet 4 default. |
| Local (free) | STT_BASE_URL=http://localhost:8080 (whisper.cpp) | LLM_BASE_URL=http://localhost:11434/v1 (Ollama) | Zero cost. |
| Manus | BUILT_IN_FORGE_API_KEY + BUILT_IN_FORGE_API_URL | (same) | Auto-fallback for legacy. |
See templates/voice-pipeline/.env.example for full configuration recipes and templates/voice-pipeline/README.md for the provider matrix, VAD configuration, hallucination filter, TTS echo suppression, and pitfalls.
| Template | Description |
|---|---|
templates/device-pose-and-hands/DevicePoseAndHands.html | 🎯 PRIMARY TEMPLATE for 3D visualization — Use this as your starting point for any project requiring device pose, hand tracking, or 3D glasses rendering. Features: WebSocket + nebulaDataUpdate dual data sources, interactive 3D glasses model, hand skeleton with gestures, multiple view modes (Toon/Wireframe/Hologram/X-Ray/Normal), orbit camera controls. Loads geometry from sibling templates/resources/. |
templates/device-pose-and-hands/README.md | One-paragraph overview + "when to use" guidance for the 3D template. |
templates/stream-panels/StreamPanel.html | Multi-sensor sandbox dashboard — single self-contained HTML file (no React, no build step) that subscribes to every Aria stream type and renders 11 sections: Device Status, RGB, SLAM, Eye Tracking, Hand Tracking, Statistics, VIO, IMU, Audio (with ring-buffer playback), TTS, PPG. Use as a starting point for any sensor-dashboard component. |
templates/stream-panels/README.md | One-paragraph overview + section list + "when to use" guidance for the sensor-dashboard template. |
templates/voice-pipeline/client/useAriaAudio.ts | React hook: WebSocket connection with auto-reconnect, audio frame reception, and TTS send |
templates/voice-pipeline/client/useVAD.ts | React hook: browser-side VAD — 3-state machine, raw RMS, pre-speech buffer, dynamic silence timeout |
templates/voice-pipeline/server/transcribeAudio.ts | Platform-agnostic Whisper client — Blob/Buffer/URL inputs, hallucination filter built-in |
templates/voice-pipeline/server/llmChat.ts | Dual-provider chat — OpenAI + Anthropic Claude, native fetch (no SDK) |
templates/voice-pipeline/server/hallucinationFilter.ts | Pure function: classify Whisper output as legitimate vs hallucination |
templates/voice-pipeline/server/types.ts | Shared types — no framework or ORM dependency |
templates/voice-pipeline/examples/express-server.ts | Universal Express HTTP wiring — recommended starting point |
templates/voice-pipeline/examples/manus-trpc-router.ts | Legacy original Manus / Forge tRPC router (only works inside Manus) |
templates/voice-pipeline/.env.example | All supported configuration recipes |
templates/voice-pipeline/README.md | Layout, provider matrix, migration notes |
templates/resources/aria-glasses.obj | Aria Gen2 glasses 3D mesh (OBJ format, 2.9MB) |
templates/resources/glasses.json | Glasses geometry in JSON format for Three.js direct loading |
templates/resources/glasses_wireframe.json | Wireframe geometry for the hologram/wireframe view modes |
templates/resources/aria-icon-dark.png | Aria glasses icon (dark variant) for UI use |
templates/resources/aria-specs.png | Aria glasses specs/profile image (used as the StreamPanel device-status thumbnail) |
When to use DevicePoseAndHands.html:
What's included:
ws://localhost:17300 (auto-reconnect)How to use as starting point:
templates/device-pose-and-hands/DevicePoseAndHands.html to your project (and copy the sibling templates/resources/ folder, or update the asset paths inside the file)Key code sections to customize:
// Animation loop — add your logic here
function animate(time) {
// vioData contains: position, quaternion, euler
// handData contains: left/right hands with joints and gestures
// Your custom logic goes here
if (handData?.right?.gestures.pinch.detected) {
// React to pinch gesture
}
}
When to use StreamPanel.html:
What's included:
ws://localhost:17300 with auto-reconnect (exponential backoff, 20 attempts)rgb_frame, slam_frame, et_frame, vio, hand_tracking, eye_gaze, imu, audio, ppg, device_status)0x01 / 0x02 / 0x03 headers → Blob → URL.createObjectURL) with blob-URL revocationdrawHand() (21-joint skeleton), drawGaze() (crosshair), drawIMU() + drawArrow(), drawAudioWaveform(), drawPpgWaveform()ScriptProcessorNode for live mic playback{type:'tts', text} over the same socketHow to use as starting point:
templates/stream-panels/StreamPanel.html into your project (e.g. generated_components/<id>/component.html).ws://localhost:17300. Verify the live data flows.<div class="grid"> is structurally independent, and dropping a section also lets you remove its CSS rules and its update*() handler in the script block.update*() handlers in the inline <script>.Key code sections to customize:
// Sensor data handlers — add your logic here
function updateVio(d) { /* head pose: position, euler, quaternion */ }
function updateHands(d) { /* d.left / d.right hand joints + gestures */ }
function updateGaze(d) { /* d.yaw, d.pitch, d.depth */ }
function updateImu(d) { /* d.accel, d.gyro */ }
function updateAudio(d) { /* d.level + d.samples (base64 float32) */ }
function updatePpg(d) { /* d.value, d.heart_rate */ }
The inline WebSocket logic (binary frame parser + auto-reconnect + FPS counter + ring-buffer audio playback) lives in the <script> block at the bottom of the file. Reuse it as-is — do not write your own.
For Three.js projects, load glasses.json directly:
fetch('/glasses.json')
.then(r => r.json())
.then(json => {
const geometry = new THREE.BufferGeometry();
geometry.setAttribute('position',
new THREE.Float32BufferAttribute(json.vertices, 3));
geometry.setIndex(json.faces);
geometry.computeVertexNormals();
const mesh = new THREE.Mesh(geometry,
new THREE.MeshStandardMaterial({ color: 0x00d4ff }));
scene.add(mesh);
});
For the .obj file, use Three.js OBJLoader from three/examples/jsm/loaders/OBJLoader.js.
All spatial data uses Y-up coordinates with X-axis mirrored for intuitive "mirror view" display:
(w, x, y, z) or Euler degreesImportant: Backend data is "what you see is what you get" — no CSS transforms or coordinate negation needed on frontend.
When building 3D scenes with both device (glasses) and hands, you must use the correct quaternion field:
// ✅ CORRECT: Use `quaternion` (relative rotation in odometry frame)
const q = vio.quaternion;
glassesModel.quaternion.set(q.x, q.y, q.z, q.w);
glassesModel.position.set(vio.position.x, vio.position.y, vio.position.z);
// ✅ CORRECT: Use joint positions directly (already in world coordinates)
handData.joints.forEach(joint => {
const pos = new THREE.Vector3(joint.position.x, joint.position.y, joint.position.z);
// Use pos directly — no transformation needed
});
// ❌ WRONG: Using quaternion_full for device causes mismatch with hands
const q = vio.quaternion_full; // DON'T use this for device pose in 3D scenes
glassesModel.quaternion.set(q.x, q.y, q.z, q.w);
// Result: Hands appear in wrong positions relative to glasses!
| Field | Description | Use For |
|---|---|---|
quaternion | Relative rotation (odometry frame) | Device/glasses model in 3D scenes |
quaternion_full | Absolute rotation (gravity-aligned) | Standalone orientation display, compass, etc. |
hand.joints[].position | World coordinates (pre-computed by backend) | Hand skeleton rendering |
Why this matters: The backend pre-computes hand joint positions in world coordinates that match the device's quaternion frame. Using quaternion_full for the device will cause a coordinate frame mismatch — hands will appear in wrong positions relative to the glasses.
| Symptom | Fix |
|---|---|
| Connection refused | Start the backend: double-click skills/web-app-creator/web-app-creator-backend/start-web-app-creator-backend.command. See the "Starting the Backend" section above — including the macOS security-alert workaround if it's the first launch on this machine. |
| Backend connects but no data flows | Open the Aria Companion App on your phone, go to the paired glasses' settings, and turn on "Enable USB Network" toggle. |
Launcher fails with auth/cert errors ("not paired", "couldn't read cert file", "silent-success pairing", or it hangs after auth pair succeeds) | The Aria SDK keeps device-pair credentials and streaming TLS certs in ~/.aria/. These can get into a stale or corrupted state — e.g. after switching glasses, after a partial pairing, or after the SDK was upgraded. Reset it: back up the folder (mv ~/.aria ~/.aria.backup.$(date +%Y%m%d-%H%M%S)), then re-run the launcher. It will re-pair from scratch (approve the prompt in the Aria Companion App when it appears) and regenerate fresh certs. |
| No data | Glasses must be connected (USB) and streaming |
heart_rate is null | Wait 5+ seconds for PPG buffer |
| Hand tracking absent | Hands must be in camera FOV |
ws:// blocked by browser | Use http:// origin or enable --allow-insecure-localhost |
| VAD stuck in "listening" | Check RMS thresholds; ensure raw (not smoothed) RMS is used |
| Whisper returns hallucinations | Check hallucination filter is active; never pass auto-generated prompts |
| TTS feedback loop | Ensure sendTTSWithSuppression is used, not raw sendTTS |
references/sensor_schemas.md (opens in a new tab)references/visual_style_guide.md (opens in a new tab)references/whisper_hallucinations_notes.txt (opens in a new tab)templates/device-pose-and-hands/DevicePoseAndHands.html (opens in a new tab)templates/device-pose-and-hands/README.md (opens in a new tab)templates/device-pose-and-hands/aria-icon-dark.png (opens in a new tab)templates/resources/aria-icon-dark.png (opens in a new tab)templates/resources/aria-specs.png (opens in a new tab)templates/resources/glasses.json (opens in a new tab)templates/resources/glasses_wireframe.json (opens in a new tab)templates/stream-panels/README.md (opens in a new tab)templates/stream-panels/StreamPanel.html (opens in a new tab)templates/voice-pipeline/README.md (opens in a new tab)templates/voice-pipeline/client/useAriaAudio.ts (opens in a new tab)templates/voice-pipeline/client/useVAD.ts (opens in a new tab)templates/voice-pipeline/examples/express-server.ts (opens in a new tab)templates/voice-pipeline/examples/manus-trpc-router.ts (opens in a new tab)templates/voice-pipeline/server/hallucinationFilter.ts (opens in a new tab)templates/voice-pipeline/server/index.ts (opens in a new tab)templates/voice-pipeline/server/llmChat.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
aria-glasses, nebula, smart-glasses, websocket, voice-pipeline, real-time-sensors
npx claudepluginhub facebookresearch/projectaria-plugins --plugin aria-ark12 skills in this plugin
/aria-knowledgeEncoded knowledge for Project Aria Gen 2 and the Aria Research Kit (ARK) — hardware, profiles, calibration, coordinate systems, VRS format, time domains, on-device perception, MPS outputs (SLAM, point cloud, hand tracking), plus pointers to the source-of-truth docs for specifics. Use whenever the user asks ANY conceptual question about Aria Gen 2 / ARK and you need to either answer from encoded knowledge or know where to look next. This skill is the single index that tells an agent how to fetch official Aria knowledge — encoded stable concepts for what does not drift, explicit public-doc pointers for hardware specs / schemas / numerical values that do, and "go read the code" or "run --help" for things owned by source. Pair with the domain skills in this plugin (`projectaria-tools`, `client-sdk`, `mps`, `vrs-health-check`, `pilot-dataset`, `web-app-creator`, `custom-profile`, `vrs-cli`, `client-sdk-ros2-integration`, `cloud-streaming`, `timecode-bridge`) for hands-on work./client-sdkUse when working with the Aria Client SDK — device pairing, recording, streaming, CLI commands (aria_gen2), Python SDK (aria.sdk_gen2), streaming visualization, multi-device time domain mapping, and device management. Use whenever the user mentions aria_gen2 CLI, aria.sdk_gen2, device pairing, recording start/stop, streaming from Aria glasses, or asks about controlling Aria Gen2 devices programmatically.Other plugins' skills for the same job