From unity-cli
Edits existing Unity GameObjects and components via unity-cli: rename, move, deactivate, modify fields, add/remove tags/layers, delete objects/components in scenes.
npx claudepluginhub akiojin/unity-cli --plugin unity-cliThis skill is limited to using the following tools:
Modify existing GameObjects and their components.
Builds Unity scenes via CLI: inspect hierarchy, create/modify/delete gameobjects, add/edit components, prefab assets, save scenes. For scene construction workflows.
Creates, loads, saves Unity scenes; manages GameObjects with primitives, parenting, positions; adds components; retrieves hierarchies and analyzes scenes.
CLI for reading scenes/prefabs/assets, small updates, deletes, and utilities in Unity projects without live editor bridge. Emits structured JSON; boot with setup/status.
Share bugs, ideas, or general feedback.
Modify existing GameObjects and their components.
Read references/component-edit-safety.md when the task involves destructive edits, nested field paths, or tag/layer changes.
gameObjectPath and current components before changing anything.modify_gameobject, modify_component, or field-level edits.delete_gameobject or remove_component only after confirming scope.# Modify GameObject properties
unity-cli raw modify_gameobject --json '{"path":"/Player","name":"Hero","active":true}'
unity-cli raw delete_gameobject --json '{"path":"/OldObject"}'
# Component operations
unity-cli raw modify_component --json '{"gameObjectPath":"/Player","componentType":"Rigidbody","properties":{"mass":2.0}}'
unity-cli raw set_component_field --json '{"gameObjectPath":"/Player","componentType":"Transform","fieldPath":"position","value":{"x":0,"y":1,"z":0}}'
unity-cli raw remove_component --json '{"gameObjectPath":"/Player","componentType":"BoxCollider"}'
unity-cli raw list_components --json '{"gameObjectPath":"/Player"}'
unity-cli raw get_component_types --json '{}'
# Tags & layers
unity-cli raw manage_tags --json '{"action":"add","tagName":"Enemy"}'
unity-cli raw manage_layers --json '{"action":"get"}'
/Player and rename it to Hero."/Player and move it to a new position."/Obstacle after checking its components."gameObjectPath is wrong: inspect the hierarchy first and use the full path.set_component_field fails: use dot-separated fieldPath values and verify the target component exists.