unity-xr
Installation
SKILL.md
Unity XR Interaction Toolkit Skills
Use this module for XR Interaction Toolkit setup and configuration. All xr_* skills are reflection-based and support XRI 2.x on Unity 2022 and XRI 3.x on Unity 6+.
Requires:
com.unity.xr.interaction.toolkit. Hard rule: Read this file before the firstxr_*call in a session. Wrong property names can fail silently because the bridge is reflection-based.
Guardrails
Operating Mode (v1.9 three-tier):
- Approval (default): query/list/info skills (
xr_check_setup,xr_get_scene_report,xr_list_interactors,xr_list_interactables) run directly. Create/modify skills are FullAuto — onMODE_RESTRICTED, run the grant protocol; a successful/permission/grantexecutes the skill server-side and returns the result in the same response. - Auto / Bypass: SemiAuto and FullAuto run directly.
- This module contains no Delete / PlayMode / Reload /
RiskLevel="high"skills, so nothing is auto-classified as forbidden — every skill is reachable via grant. - When
com.unity.xr.interaction.toolkitis missing, everyxr_*skill returns theNoXRI()install instruction instead of executing. - Reflection-sensitive: property names on XRI components must match XRI 2.x/3.x exactly. A wrong field name on
xr_configure_interactable/xr_configure_haptics/xr_configure_interaction_layersis silently ignored. LoadAPI_REFERENCE.mdbefore issuing detailed property edits.