/aria-ark:projectaria-toolsfrom aria-ark
Navigation map for the projectaria_tools (PAT) library, covering VRS data loading, sensor access, calibration, MPS results (eye gaze, hand tracking, SLAM), and time domain mapping. Points to source files for exact API signatures.
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.
PAT is the foundational open-source library for accessing and processing data recorded by Project Aria glasses. It provides Python and C++ interfaces for loading VRS files, accessing calibration, processing sensor data, loading MPS results, and visualizing Aria data.
This skill is a navigation map — it tells you where the key APIs and source files are, what the gotchas are, and where to find the truth. Never guess API names from this skill alone. Read the source file it points to before writing any API call.
--help instead of guessing from this skill.GitHub: https://github.com/facebookresearch/projectaria_tools
Docs: https://facebookresearch.github.io/projectaria_tools/gen2/research-tools/projectariatools/overview
Install (pip in a virtual environment):
python3 -m venv $HOME/projectaria_gen2_python_env
source $HOME/projectaria_gen2_python_env/bin/activate
python3 -m pip install 'projectaria-tools[all]'
Supported: Linux x64 (Ubuntu/Fedora), macOS Apple Silicon (M1+). Python 3.9–3.12.
Build from source: See CMakeLists.txt at repo root and the Advanced Installation docs.
After cloning the repo, these are the source-of-truth files for API details:
| What | Path |
|---|---|
| C++ pybind: VrsDataProvider API | core/python/VrsDataProviderPyBind.h |
| C++ pybind: SensorData accessors | core/python/SensorDataPyBind.h |
| C++ pybind: Calibration | core/python/DeviceCalibrationPyBind.h |
| C++ pybind: MPS data | core/python/MpsPyBind.h |
| C++ pybind: SE3/Sophus | core/python/sophus/ |
| MPS types (eye gaze, hand, trajectory) | core/mps/ |
| TimeDomain enum | core/data_provider/TimeTypes.h |
| Python package (pip-installed API) | projectaria_tools/core/ |
| Visualization tools | projectaria_tools/tools/ |
| Gen2 tutorials | examples/Gen2/python_notebooks/ |
The Python package (projectaria_tools/core/) exposes the compiled C++ modules. The C++ pybind headers (core/python/) are the definitive API reference — read them when you need exact method signatures, return types, or parameter semantics.
from projectaria_tools.core import data_provider
from projectaria_tools.core.sensor_data import SensorDataType
provider = data_provider.create_vrs_data_provider("recording.vrs")
Key constraint: create_vrs_data_provider requires a local file path. Does NOT accept URLs or remote URIs.
VrsDataProvider offers methods for stream discovery, indexed and time-based data access, calibration, and image configuration. Read core/python/VrsDataProviderPyBind.h for the complete typed API.
Access sensor data by index or by timestamp. Time-based queries take a TimeDomain and TimeQueryOptions.
Each SensorData object has typed accessors for: image, IMU, magnetometer, barometer, GPS, audio, eye tracking, WiFi, Bluetooth. Read core/python/SensorDataPyBind.h for all accessors and return types.
Gotchas:
MotionData type with IMU — check validity flags to distinguish.TimeDomain argument.Each VRS stream is identified by a StreamId = RecordableTypeId-InstanceId (e.g. 214-1). PAT maps these to human-readable labels. Docs: https://facebookresearch.github.io/projectaria_tools/gen2/technical-specs/vrs/streamid-label-mapper
| StreamId | Label | Sensor |
|---|---|---|
1201-1 / 1201-2 | camera-slam-left / camera-slam-right | SLAM cameras (grayscale) |
1201-3 / 1201-4 | SLAM cameras 3/4 | Additional SLAM cameras |
214-1 | camera-rgb | RGB camera (12MP) |
211-1 / 211-2 | camera-et-left / camera-et-right | Eye tracking cameras |
1202-1 / 1202-2 | imu-left / imu-right | IMUs |
1203-1 | mag0 | Magnetometer |
247-1 | baro0 | Barometer |
281-2 | gps | GPS sensor |
281-1 | gps-app | GPS from companion app |
231-1 | mic | 7-channel microphone |
246-1 | temperature | Temperature sensor |
500-1 | als | Ambient light sensor |
248-1 | ppg | Photoplethysmography |
373-1 | eyegaze | On-device eye gaze |
282-1 | wps | Wi-Fi |
283-1 | bluetooth | Bluetooth |
Dynamic StreamIds: handtracking, vio, and vio_high_frequency streams have runtime-determined IDs that depend on whether hand tracking is present in the recording.
Each data record contains sensor readout values, timestamps, and acquisition parameters (e.g. exposure/gain for cameras). Image records store one frame + metadata per record; audio records group 4096 samples per chunk. VRS data format docs: https://facebookresearch.github.io/projectaria_tools/gen2/technical-specs/vrs/data-format
from projectaria_tools.core.sensor_data import TimeDomain
| Value | Description |
|---|---|
RECORD_TIME | VRS file order |
DEVICE_TIME | Hardware clock — use for single-device workflows |
HOST_TIME | Wall clock on companion host |
TIME_CODE | External sync signal (Gen1) |
SUBGHZ | Broadcaster's device time — use for multi-device alignment (Gen2) |
TimeQueryOptions: BEFORE (latest sample ≤ query time), AFTER (earliest sample ≥ query time), CLOSEST (nearest by absolute difference).
Device and per-sensor calibration — focal length, principal point, distortion models, image undistortion. Read core/python/DeviceCalibrationPyBind.h for the full API and core/calibration/ for camera model details.
6-DOF rigid body transforms (rotation + translation):
from projectaria_tools.core.sophus import SE3
Supports translation, rotation, matrix conversion, inversion, composition, point transformation. Read core/python/sophus/ for the full API.
Gen1 vs Gen2 can be distinguished from the device_type field in the image configuration. Read core/python/VrsDataProviderPyBind.h for how to access it.
Load cloud MPS results alongside VRS data:
from projectaria_tools.core import mps
Read core/python/MpsPyBind.h for all reader functions and return types.
Key concepts:
T_world_device)uid.from projectaria_tools.core.mps import hand_tracking.csv.gz files are auto-detected from file extension.Eye gaze gotcha: There is no .gaze_direction attribute. Always use the helper functions from MpsPyBind.h to convert yaw/pitch to unit vectors and 3D points.
PAT provides time domain mapping to temporally align data across multiple Aria Gen2 devices. The underlying mechanism uses sub-GHz radio hardware for sub-millisecond accuracy.
DEVICE_TIME IS the reference.(broadcaster_time, local_time) pairs into a SubGHz stream in its VRS. PAT uses these to map between device clocks.DEVICE_TIMETimeDomain.SUBGHZ — PAT handles the clock mapping automaticallyTutorial_4 demonstrates the complete multi-device time domain mapping workflow with Rerun visualization.
| Protocol | Generation | Accuracy | Notes |
|---|---|---|---|
| SubGHz time domain mapping | Gen2 | Sub-millisecond | Hardware radio, broadcaster/receiver setup |
| TICSync | Gen1 | Moderate | Software-based, client/server over network |
| TimeCode | Gen1 | Varies | External timecode signal (SMPTE) |
Path: examples/Gen2/python_notebooks/
| Tutorial | Content |
|---|---|
| Tutorial_1 | VrsDataProvider basics — read multimodal sensor data |
| Tutorial_2 | Device calibration |
| Tutorial_3 | Sequential multi-sensor access (queued data streaming) |
| Tutorial_4 | Timestamp alignment (multi-device SubGHz) |
| Tutorial_5 | MPS basics — output layout, MpsDataPathsProvider, MpsDataProvider |
| Tutorial_6 | VIO and trajectory — on-device VIO + MPS SLAM, point cloud |
| Tutorial_7 | Hand tracking — on-device stream + MPS result |
| Tutorial_8 | Eye tracking — on-device geometric, on-device ML, MPS |
| Tutorial_9 | Neural Band sEMG |
Tutorials 6-8 each cover one algorithm across every source that produces it, so the on-device and MPS variants are compared side by side rather than split across tutorials.
Tools shipped with PAT — installed with pip install 'projectaria-tools[all]', except aria_viewer which needs a CMake source build.
Always run <tool> --help for the current flag set. Do not assume flag names from memory or from this skill — they drift across releases, and the --help output is the only authoritative reference.
aria_rerun_viewer (Python, Rerun)Rerun-based interactive viewer for any VRS file. Works on Gen 1 and Gen 2. Renders camera frames alongside IMU / audio / barometer / magnetometer time series, and overlays on-device perception (VIO trajectory, eye gaze, hand tracking) in a 3D scene.
Use when: you want a quick interactive look at a VRS file — one tool covers most sensor streams. Default first choice for "just show me what's in this recording".
viewer_mps (Python, Rerun)Rerun-based viewer specialized for MPS output overlays — trajectories, semi-dense point clouds, eye gaze, hand tracking. Auto-detects MPS data under <vrs_file>/mps/, or accepts individual file paths. Supports both a desktop window and a web-browser mode.
Use when: you need to validate or visually inspect MPS results against the source VRS — see how trajectory + point cloud + sensor frames align in 3D.
Source: https://github.com/facebookresearch/projectaria_tools/tree/main/projectaria_tools/tools/viewer_mps
aria_viewer (C++ / Pangolin)Native-performance VRS viewer built with Pangolin. Not in the pip package — requires a CMake source build (see Advanced Installation in the repo README). If Pangolin isn't found during the build, the viewer simply isn't compiled.
Use when: you need native playback performance, or you're already in a C++ build environment.
Known issue: high-frequency Gen 2 playback can show asynchronous camera updates (CPU image-decode limits). Workarounds: fall back to aria_rerun_viewer, slow down via the speed slider, or use the timestamp slider for random access (always works correctly).
Source: https://github.com/facebookresearch/projectaria_tools/tree/main/tools/visualization
vrs_to_mp4Converts camera streams from a VRS file into a standard MP4 video.
Use when: you need a shareable / previewable video file — for presentations, web embedding, or sharing with non-Aria users who don't have PAT.
Do NOT use for CV / AI pipelines. Output is lossy compressed video — feed those pipelines decoded frames from VrsDataProvider instead.
Source: https://github.com/facebookresearch/projectaria_tools/tree/main/projectaria_tools/tools/vrs_to_mp4
gen2_mp_csv_exporterExports on-device machine-perception streams (VIO, eye gaze, hand tracking, online calibration) from a Gen 2 VRS into CSV / JSONL files in the same format as cloud MPS outputs.
Use when:
Gen 2 only. Streams not present in the recording are skipped silently.
aria_dataset_downloaderDownloads Aria open datasets in bulk from a CDN URL manifest file. You first obtain the manifest from the dataset's download page, then this tool fetches the full dataset — or a selected subset of sequences and data groups — into a local folder, with resumable downloads.
Use when: you're working with any Aria open dataset and want to pull it locally for offline processing, rather than streaming or sequence-by-sequence manual download.
dtc_object_downloaderDownloads 3D object assets from the Digital Twin Catalog (DTC) — the object library used by Aria Digital Twin and related dataset projects.
Use when: you're working with DTC-based projects and need the underlying 3D object models locally.
| Acronym | Meaning |
|---|---|
| PAT | ProjectAriaTools — this library |
| VRS | Vision Record Stream — file format for timestamped multi-stream sensor data |
| MPS | Machine Perception Services — cloud processing for SLAM, eye gaze, hand tracking |
| VIO | Visual-Inertial Odometry — real-time 6DoF pose from cameras + IMU |
| SLAM | Simultaneous Localization and Mapping — trajectory in MPS |
| CPF | Central Pupil Frame — reference coordinate frame for eye gaze |
| SE3 | Special Euclidean group in 3D — 6DoF rigid body transforms |
| SubGHz | Sub-GHz radio hardware used for time domain mapping across Gen2 devices |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./client-sdk-ros2-integrationUse when integrating Aria Gen 2 sensor streams with ROS2 — publishing raw Aria sensor data through ROS2 topics, decoding it in subscriber nodes, sharing device calibration across nodes. The integration uses a custom `AriaRaw` message (a thin FlatBuffer wrapper) and a required `aria_data_types` package name. Use whenever the user asks about Aria + ROS2, publishing Aria data to topics, or building ROS2 nodes around Aria sensors./cloud-streamingUse when configuring Aria Gen 2 glasses to stream sensor data directly to an internet-accessible HTTPS endpoint — instead of the default local USB / same-network WiFi streaming to a nearby PC. For field deployments, centralized multi-device collection, and cloud processing pipelines. Use whenever the user asks about remote streaming, streaming over the internet, cloud collection servers, or streaming without a laptop on hand./custom-profileUse when authoring or editing a custom profile JSON for Aria Gen 2. A profile fixes which sensors are enabled and at what rate, resolution, and encoding — **the same profile works for both recording and streaming**, despite the historical "recording profile" name. Gives the legal value for every field, the rules that make the device reject a profile or fail to start a session, and the changes the device makes silently. Use whenever the user asks how to write a custom profile, modify a profile, pull an existing profile off the device, define sensor rates, deploy a profile to the device, or asks what a specific profile field means./mpsUse when working with Aria Machine Perception Services (MPS) — cloud-based processing of Aria VRS recordings for SLAM trajectories, hand tracking, semi-dense point clouds, and online calibration. Covers the aria_mps CLI, single and multi-sequence processing, output formats, data lifecycle, and loading MPS results with ProjectAriaTools. Use whenever the user mentions MPS, aria_mps, SLAM processing, cloud hand tracking, trajectory generation, or submitting VRS files for processing.Other plugins' skills for the same job