agentsclimarketplace

Unity cli core

Skill ArkTarusov/unity-cli-plugin/skills/unity-cli-core

Use when a task involves UnityCLI — Unity's standalone `unity` terminal command — or any terminal-driven Unity automation. Also use when `unity` returns "command not found", when unsure whether the tool exists, when scripting Unity with JSON/TSV output, or when checking Unity Editor connection status, sign-in state, or CLI diagnostics.From its SKILL.md

Install
npx -y skills add ArkTarusov/unity-cli-plugin --skill unity-cli-core

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 16 days oldThe repository was created 16 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.9 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

UnityCLI core

UnityCLI is a standalone unity binary from Unity Technologies (experimental, first public betas in 2026). It replaces the Unity Hub CLI and adds live control of a running Unity Editor. It is NOT Unity.exe (the editor binary with -batchmode flags) and NOT Unity Hub.

Two other skills cover the specialized halves:

  • unity-editors — installing editors/modules, licenses, projects (Hub replacement)
  • unity-pipeline — driving a running Editor (build, test, play mode, scene/asset commands)

Locating the binary — check before concluding it is missing

The tool is real even if you have no prior knowledge of it: it shipped after most model knowledge cutoffs. command not found almost always means a stale shell PATH, not a missing tool.

  • Windows: binary at %LOCALAPPDATA%\Unity\bin\unity.exe. The installer adds that dir to the user PATH — long-lived shells (agent harnesses, old terminals) don't see it. Fix for the current session:
    $env:Path += ";$env:LOCALAPPDATA\Unity\bin"
    
  • macOS/Linux: the install script updates the shell profile; run command -v unity in a fresh login shell or source the profile.
  • Do NOT search Unity Hub folders, Editor/ folders, or npm — the CLI lives in none of them.
  • If genuinely absent: do not install it yourself — see "Installs require user consent" below.

Verify with unity --version (e.g. 1.0.0-beta.3).

Installs require user consent

Two separate things get installed, and they solve different problems:

WhatScopeEnablesInstall
UnityCLI binaryper machineInstalling/opening editors, managing projects, licenses — no running-Editor controlscript from https://docs.unity.com/en-us/unity-cli/use-unity-cli
Unity Pipeline package (com.unity.pipeline)per Unity projectControlling a running Editor: unity command, play mode, live builds/tests (skill unity-pipeline)unity pipeline install

The CLI alone is enough for editor/project management. Editor control needs both.

Neither is yours to install on your own initiative. The binary install changes the user's machine and shell profile; unity pipeline install edits the project's Packages/manifest.json and triggers a recompile — a change that lands in version control. When either is missing, stop, tell the user what is missing and what it unblocks, propose the exact command, and continue only after the user agrees (or has already explicitly asked for the install).

Agent/CI invocation defaults

unity --json --non-interactive <command>
Flag / env varEffect
--format json|tsv|ndjson, --json (UNITY_FORMAT)Structured output — parse this, never the human tables
--non-interactive (UNITY_NON_INTERACTIVE)Disables prompts; many commands open interactive selectors when args are omitted
--no-banner, --quiet (UNITY_NO_BANNER, UNITY_QUIET)Suppress banner / info noise
--verbose (UNITY_VERBOSE)Full error details with stack traces

Exit code is 0 on success, non-zero on failure (e.g. 6 for an unknown editor command). Error messages usually include recovery hints — read them.

Auth

Cloud-backed features (Pipeline package install, cloud, some licenses) need sign-in:

unity auth status    # check first
unity auth login     # opens browser; --client-id/--client-secret for service accounts

Command map

AreaCommandsDetails
Editor installs, modules, licenses, projects, templatesinstall, install-modules, editors, releases, uninstall, install-path, editor, modules, license, open, projects, templates, hubskill unity-editors
Live Editor control & headless runsstatus, command, list, pipeline, build, test, runskill unity-pipeline
MCPunity mcp (stdio MCP server for the Editor), unity mcp configure <client>unity mcp configure --list
Diagnosticsdoctor, status, env, logs, diagnose, bugdoctor = environment check
CLI self-managementupgrade, changelog, self-uninstall, config, cache, analytics, language, completion, shellshell = warm REPL, --protocol ndjson for machine use
Cloudauth, cloud (orgs/projects)

unity --help and unity <cmd> --help are always current. The CLI is experimental — verify flags with --help before scripting against them.

Common mistakes

MistakeReality
"unity: command not found → the tool doesn't exist / isn't installed"Stale PATH. Check %LOCALAPPDATA%\Unity\bin (Windows) or a fresh login shell first.
Reaching for Unity.exe -batchmode for automationUnityCLI drives an already-running Editor without relaunching it; batch flags are the legacy path.
Parsing human-formatted table outputPass --json and parse the structured result.
Command hangs in CI/agent contextAn interactive selector opened. Pass all required args plus --non-interactive (and -y where supported).
Installing the CLI or the Pipeline package silently to unblock a taskBoth are user-consent installs — propose the command, wait for a yes.
Treating an EBUSY: resource busy or locked, rm failure as caused by your invocationObserved beta flakiness in commands that read Hub-shared data (releases, templates, projects, doctor, open); Editor-connection commands (status, command, list, pipeline list) keep working. Report it, work through the Editor-connection commands, don't retry-loop.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,851. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.