A Claude Code / Claude skill that teaches Claude how to drive Unity from the command line using Unity's official unity CLI.
With this skill installed, Claude can:
- Inspect installed Unity editors, Hub-registered projects, and live Editor instances (
unity editors -i,unity projects list,unity status) - Create and open Unity projects (
unity projects new/create/open) - Run headless CI builds for any platform (Android, iOS, WebGL, Standalone, etc.) via
unity build - Run EditMode/PlayMode tests and summarize the resulting NUnit report
- Run arbitrary batch-mode Editor commands via
unity run - Install Unity editors and modules (with dry-run/confirmation guardrails before large downloads)
- Talk to an already-running Unity Editor live, through the Unity Pipeline package (
unity list/unity command/unity status) or via MCP (unity mcp configure) — note that this live surface commonly includes arbitrary-code-execution (aneval-style command), not just narrow scene/GameObject accessors. SKILL.md has the details on scope, argument conventions, and when to confirm with the user before running a mutating command.
Copy this repository into your Claude skills directory (or git clone it there directly).
macOS/Linux (bash/zsh):
git clone https://github.com/digital8150/UnityCLI-Skill.git ~/.claude/skills/unity-cli
Windows (PowerShell or cmd): ~ is not expanded by git.exe outside of a POSIX shell — passing it literally creates a folder named ~ instead of resolving to your home directory. Use the full path instead:
git clone https://github.com/digital8150/UnityCLI-Skill.git "$env:USERPROFILE\.claude\skills\unity-cli"
Requires the unity CLI to already be installed and on PATH.
SKILL.md— core workflows, quick-reference command table, and safety guardrailsreferences/commands-reference.md— full flag reference for everyunitysubcommand