agentleFS
ArkTarusovArkTarusov/unity-cli-plugin/skills/unity-editors/SKILL.md

unity-editors

Skill7 starsChanged 4 months agoMITView on GitHub

Use when installing or uninstalling Unity Editor versions or modules from the terminal, listing installed editors or available Unity releases, activating Unity licenses, opening projects or creating project skeletons from the command line (`unity projects new/create` mechanics — not a guided design-a-new-game flow), or replacing Unity Hub on CI machines and headless workers.

The file

Files
SKILL.md

Unity editors, modules, projects (Hub replacement)

unity subcommands for everything Unity Hub does. Prerequisite basics (PATH, --json, --non-interactive, auth): see skill unity-cli-core.

Consent rule: install, install-modules, uninstall, and --allow-install change the user's machine (multi-gigabyte downloads, UAC prompts on Windows). Run them when installing is what the user asked for; when an install is merely a means to unblock your own task, propose the exact command and wait for approval.

Quick reference

unity editors -i                       # installed editors
unity editors -r                       # available releases (also: unity releases --lts)
unity editors running                  # running GUI Editor instances + open project (version, PID); does not list -batchmode editors
unity install 6000.3.7f1 -m ios android --accept-eula -y
unity install lts                      # version aliases: lts, latest streams
unity install-modules -e 6000.3.7f1 -m webgl        # add modules later
unity install-modules -e 6000.3.7f1 -l              # list module IDs
unity uninstall 6000.3.7f1
unity install-path                     # get/set where editors install
unity editor add "C:\Path\To\Editor"   # register an editor installed outside the Hub
unity open ./MyProject                 # opens with the project's editor version
unity open . --build-target Android
unity projects list
unity projects size .                  # on-disk footprint by top-level folder (--json = raw bytes)
unity projects require . --json        # assert project's editor version is installed; installs if missing
unity projects new MyGame --json       # CI-friendly project creation (create = interactive)
unity templates list
unity license status
unity license activate

Non-interactive rules (CI, agents)

Omitting arguments starts interactive pickers. Always pass:

  • an explicit version (or alias like lts) — never bare unity install
  • -y / --yes to auto-select the first match
  • --accept-eula for module license agreements
  • --non-interactive globally

--dry-run on install / install-modules prints what would download without installing.

Gotchas

SituationHandling
Windows install into protected pathTriggers a UAC elevation helper; --no-elevate makes it fail instead of prompting (better in CI)
Editor version missing for a projectunity projects require <path> or the --allow-install flag on build/test/run/open installs it on demand
Version from ProjectVersion.txt wrong for the task--editor-version <ver> overrides; -e/--editor-path pins an exact binary
Module IDs unknownunity modules list <version>, unity install-modules -e <version> -l, or unity install <version> --list-components
Interrupted downloadunity install --resume; cache location via unity cache info
unity open / unity editors fail with EBUSYLock contention on the shared %APPDATA%\UnityHub store — see the EBUSY row in skill unity-cli-core for the recovery procedure. Interim workaround: launch the editor binary directly (& "<install-path>\Editor\Unity.exe" -projectPath <project>)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.