From unity-cli
Builds Unity scenes via CLI: inspect hierarchy, create/modify/delete gameobjects, add/edit components, prefab assets, save scenes. For scene construction workflows.
npx claudepluginhub bigdra50/unity-cli --plugin unity-cliThis skill uses the workspace's default tool permissions.
> **PREREQUISITE:** `../unity-shared/SKILL.md`(Relay Server 経由で Unity Editor が起動/アクティブであること)
Creates and bootstraps Unity scenes using unity-cli. Use for new scene creation, loading/saving scenes, adding starter GameObjects, and attaching components during level or test setup.
Creates, loads, saves Unity scenes; manages GameObjects with primitives, parenting, positions; adds components; retrieves hierarchies and analyzes scenes.
Automates Unity Editor from terminal via ucp CLI over WebSocket/JSON-RPC: scenes, GameObjects, assets, prefabs, builds, tests, packages, debugging. Use for headless project inspection, modification, and workflows.
Share bugs, ideas, or general feedback.
PREREQUISITE:
../unity-shared/SKILL.md(Relay Server 経由で Unity Editor が起動/アクティブであること)skill 経由のコマンドは必ず
-i <instance>を付ける (unity-shared #インスタンス指定)。
1. 現状把握 u -i <instance> scene active / u -i <instance> scene hierarchy
2. オブジェクト u -i <instance> gameobject create / find / modify / delete
3. コンポーネント u -i <instance> component add / modify / inspect / list
4. Prefab化 u -i <instance> asset prefab <path> --target <name>
5. シーン保存 u -i <instance> scene save
u -i <instance> scene active # アクティブシーン情報
u -i <instance> scene hierarchy --depth 2 # 階層表示
u -i <instance> scene load --path "Assets/..." # シーン読み込み
u -i <instance> scene save # 保存
u -i <instance> gameobject create "Player" # 空オブジェクト
u -i <instance> gameobject create "Cube" --primitive Cube # プリミティブ
u -i <instance> gameobject find --name "Player" # 検索
u -i <instance> gameobject modify -n "Player" --position 0,1,0 # Transform変更
u -i <instance> gameobject delete -n "Player" # 削除
u -i <instance> component list -t "Player" # 一覧
u -i <instance> component inspect -t "Player" -T Rigidbody # 詳細
u -i <instance> component add -t "Player" -T Rigidbody # 追加
u -i <instance> component modify -t "Player" -T Rigidbody --prop mass --value 2 # 変更
u -i <instance> component remove -t "Player" -T Rigidbody # 削除
u -i <instance> asset prefab "Assets/Prefabs/Player.prefab" --target "Player" # Prefab化
u -i <instance> asset info "Assets/Prefabs/Player.prefab" # 情報
unity-shared のフォールバック順に従う:
u -i <instance> api schema --type <Type> で対応メソッドを検索u -i <instance> api call で実行