unity-cli-snippets
Installation
SKILL.md
Unity CLI Snippets
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.
Decision Order (strict)
Before writing ad-hoc cs exec for any non-trivial Unity automation:
cs list-commands [--type custom]— built-in or custom command available?cs snippets search <description>— matching snippet?- Only if neither match: ad-hoc
cs exec.
"Non-trivial" = >3 lines, or uses LINQ / reflection / AssetDatabase / multi-step.