/aria-ark:cloud-streamingfrom aria-ark
Configures Aria Gen 2 glasses to stream sensor data via HTTPS to an internet-accessible server for remote field deployments and cloud processing pipelines. Use instead of local USB/WiFi streaming when centralized collection is needed.
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.
None: SKILL.md is the whole skill.
Remote (cloud) streaming sends Aria Gen 2 data straight to your internet-reachable HTTPS server, bypassing the default local USB / same-network WiFi streaming. The glasses POST data over HTTPS to whatever URL you supply.
Reference: https://facebookresearch.github.io/projectaria_tools/gen2/ark/client-sdk/remote-streaming For local USB / same-network streaming: use the
client-sdkskill.
If your collection point is on the same WiFi as the glasses, plain local streaming via the Client SDK is simpler — use that.
Aria Glasses ──(WiFi → internet)──► Your HTTPS Server :6768
HTTPS POST (decode / store / forward)
The glasses open an HTTPS connection to a URL you provide and POST sensor data chunks. The server uses Aria's streaming TLS certificates so the connection is mutually trusted.
aria_gen2 auth pair) — see the client-sdk skill.The certificates were generated when the SDK was first set up. They live on the PC where the SDK was installed at:
~/.aria/streaming-certs/persistent/
├── subscriber.pem # server cert (PEM)
├── subscriber-key.pem # server private key
└── root_ca.pem
Copy subscriber.pem and subscriber-key.pem to a secure path on the cloud server (e.g. /etc/aria-certs/, with chmod 600).
Open TCP port 6768 in the server's firewall and any cloud-provider security group. Restrict the source to known IP ranges if you can; otherwise allow 0.0.0.0/0.
Use any HTTP framework that supports custom TLS — the cert chain is loaded via:
ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
ctx.load_cert_chain("/path/to/subscriber.pem", "/path/to/subscriber-key.pem")
server.socket = ctx.wrap_socket(server.socket, server_side=True)
A complete minimal Python server (HTTPServer + BaseHTTPRequestHandler) is shown in the reference page. The handler reads metadata from request headers, reads the binary body, and responds with 200 OK.
Both the CLI and Python SDK accept a custom endpoint URL. Run aria_gen2 streaming start --help for current flag names, or see the reference page for the Python SDK equivalents (HttpStreamingConfig.advanced_config.endpoint.url, verify_server_certificates).
Headers carry session and device metadata:
| Header | Value |
|---|---|
session-id | UUID for this streaming session |
device-serial | Device serial number |
device-build | Firmware version |
oatmeal-calibration | JSON with camera + IMU + barometer calibration |
Transfer-Encoding | chunked |
Body carries binary streaming data: IMU samples, camera frames, audio, eye / hand tracking, VIO poses, etc.
Respond with 200 OK and any small JSON body (e.g. {"status":"ok"}).
Remote streaming over WiFi generates heat. The single most important setting is --batch-period-ms (CLI) / batch_period_ms (Python config). It batches messages on-device before sending; longer periods = less radio activity = less heat.
| Environment | Suggested batch period |
|---|---|
| Cool (< 25 °C) | 100–200 ms |
| Normal room | 200–400 ms (start here) |
| Warm (> 28 °C) | 400–800 ms |
Without batching, the device will hit its thermal shutdown threshold (~44 °C) — typically within ~20 min of continuous streaming.
Aria glasses cannot use VPNs. If your collection server is behind a corporate VPN, the glasses cannot reach it directly.
Workaround: deploy a public relay — a small VM with a public IP that the glasses POST to — and forward via SSH / WireGuard tunnel into your internal server:
Aria Glasses ──► Public Relay (VM, public IP) ─tunnel─► Your Internal Server
HTTPS POST :6768 SSH / (behind VPN)
WireGuard
Treat the streaming certificates like secrets:
chmod 600).| Symptom | Likely cause | Fix |
|---|---|---|
| No data reaches server | Glasses not on internet WiFi, server unreachable, or wrong URL | Verify WiFi connection from the Companion App or aria_gen2 device wifi …; test the URL from another machine with curl -k https://your-server:6768; double-check the URL is HTTPS and includes the port |
| SSL / TLS handshake error | Wrong cert paths, file permissions, or missing --no-verify-server-certs on the client | Verify cert paths on server, chmod 600, add the flag (or set the equivalent Python config field) |
| Connection timeouts | High-latency network, profile too heavy for the link | Use a lighter profile (profile9), increase batch period |
| Device overheating | Batch period too short, profile too heavy | Increase --batch-period-ms, drop to a lighter profile, allow cooling breaks |
| Firewall blocks 6768 | Port not open inbound on server / security group | Open inbound TCP 6768 |
client-sdk — local streaming, authentication, recording, multi-device basics.aria-knowledge — Aria platform concepts including streaming certificate model.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 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.npx claudepluginhub facebookresearch/projectaria-plugins --plugin aria-arkOther plugins' skills for the same job