unitylisted
Install: claude install-skill ManageXR/claude-unity-bridge
# Unity Bridge Skill
Control Unity Editor operations from Claude Code using a reliable file-based communication protocol.
## Overview
The Unity Bridge enables Claude Code to trigger operations in a running Unity Editor instance without network configuration or port conflicts. It uses a simple file-based protocol where commands are written to `.unity-bridge/command.json` and responses are read from `.unity-bridge/response-{id}.json`.
**Key Features:**
- Execute EditMode and PlayMode tests
- Trigger script compilation
- Refresh asset database
- Check editor status (compilation, play mode, etc.)
- Retrieve Unity console logs
- Control Play Mode (play, pause, step)
**Multi-Project Support:** Each Unity project has its own `.unity-bridge/` directory, allowing multiple projects to be worked on simultaneously.
## Requirements
1. **Unity Package:** Install `com.mxr.claude-bridge` in your Unity project
- Via Package Manager: `https://github.com/ManageXR/claude-unity-bridge.git?path=package`
- See main package README for installation instructions
2. **Unity Editor:** Must be open with your project loaded
3. **Python 3:** The skill uses a Python script for reliable command execution
## How It Works
The skill uses a CLI tool (`unity-bridge`) that handles:
- UUID generation for command tracking
- Atomic file writes to prevent corruption
- Exponential backoff polling for responses
- File locking handling
- Automatic cleanup of old response files
- Formatted, human-readable