# create-xr

create-xr — a skill for Claude Code and Codex that prepares Unity projects for XR. Runs when requesting OpenXR setup, Quest graphics tuning, or an XR rig.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 294 installs · ★ 1306 repo stars
- Author: Unity-Technologies
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Unity-Technologies/skills/tree/HEAD/skills/create-xr/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/create-xr

## What it does

The skill configures a Unity project for virtual reality headsets. It connects to the open Unity Editor using the `com.unity.pipeline` package, adjusts graphic parameters for standalone Meta Quest hardware, sets target devices, and places a ready XR rig with controller or hand input.

Under the hood, workflow logic relies on bash helpers in `scripts/` and Editor Pipeline commands. The tool explicitly avoids touching `.unity`, `.asset`, `.prefab`, or `manifest.json` files on disk, does not generate loose C# scripts in the repository, and leaves package version resolution to Package Manager.

Using this skill requires Unity Editor version `6000.1` or higher alongside the `unity` command-line utility. Apple Vision Pro targets are explicitly unsupported; target choices focus on Meta Quest, PC VR, and Android XR.

## Requirements
- Works with: Unity

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill create-xr -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/create-xr/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/create-xr/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill create-xr -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/create-xr/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill create-xr -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/create-xr/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Unity-Technologies/skills skills/create-xr
```

2. **Manually: put the files in place**
- File: `.github/skills/create-xr/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill create-xr -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Unity-Technologies/skills --path skills/create-xr
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/create-xr/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill create-xr -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Unity-Technologies/skills/tree/HEAD/skills/create-xr/SKILL.md

## When to use it
- Prepare a Unity scene for Meta Quest or PC VR deployment
- Configure OpenXR settings without modifying raw scene files
- Add a preconfigured XR rig with controller or hand tracking
- Verify Editor Pipeline package compatibility using `pipeline_check.sh`

## Example prompts
- Set up this Unity project for OpenXR and Meta Quest 3
- Add an XR rig to the scene with controller input
- Optimize graphics settings for standalone Quest devices

## Similar
- [godot-platform-vr](https://affpapa.org/en/nevibecode/skills/godot-platform-vr.md) — skill · 323 installs
- [meta-vr](https://affpapa.org/en/nevibecode/plugins/meta-vr.md) — plugin · ★ 252 repo stars
- [ar-vr-xr](https://affpapa.org/en/nevibecode/skills/ar-vr-xr.md) — skill · 125 installs
- [unity-vrc-world-sdk-3](https://affpapa.org/en/nevibecode/skills/unity-vrc-world-sdk-3.md) — skill · 1100 installs
- [3d-spatial](https://affpapa.org/en/nevibecode/skills/3d-spatial.md) — skill · 861 installs
- [procedural-gen](https://affpapa.org/en/nevibecode/skills/procedural-gen.md) — skill · 13600 installs

From the same set: [unity-technologies/skills](https://affpapa.org/en/nevibecode/by/unity-technologies/skills.md) — 38 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
