unity-cli-command
Installation
SKILL.md
Unity CLI Command
Run framework commands in the Unity Editor via the C# Console command protocol.
Running
cs: below,csis shorthand forpython "$HOME/.unity-cli-plugin/current/cli/cs.py"— one stable path, run verbatim without changing directory. If it's not installed yet, run the unity-cli-setup skill once first.
Command-First Principle
Always prefer cs command over cs exec when a built-in framework command exists. Only fall back to cs exec for ad-hoc C# that no existing command covers.
If no built-in or custom command matches the task, next check unity-cli-snippets (run cs snippets search <description>) before falling back to ad-hoc cs exec via unity-cli-exec-code. The decision order is: command → snippet → ad-hoc.