GameObject Edit
SkillDev toolsEdit existing GameObjects and components in Unity with unity-cli. Use when the user asks to rename objects, move or deactivate them, change component fields, add or remove tags and layers, or delete objects from an existing scene. Do not use for new scene bootstrapping; use `unity-scene-create`. Do not use inside prefab edit mode; use `unity-prefab-workflow`.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the GameObject Edit skill
What this skill tells your AI
The instructions your AI receives, as published by akiojin/unity-cli in .claude-plugin/plugins/unity-cli/skills/unity-gameobject-edit/SKILL.md and read by ahel’s review.
Modify existing GameObjects and their components in an already-prepared scene. This skill is the destructive sibling of unity-scene-inspect.
Use When
- The user wants to change an existing object's properties or hierarchy.
- The user wants to inspect, modify, or remove components on an existing object.
- The user needs tag or layer management for the current project.
Do Not Use When
- The task is to create a brand-new scene from scratch; use
unity-scene-create. - The work is prefab asset editing rather than scene objects; use
unity-prefab-workflow. - The user only wants to read state without mutation; use
unity-scene-inspect.
Preferred Flow
- Inspect the exact
gameObjectPathand current components before changing anything. - Apply one mutation at a time with
modify_gameobject,modify_component, orset_component_field. - Reserve
delete_gameobjectandremove_componentfor confirmed scopes. - Save the scene after destructive or bulk updates so reloads do not lose work.
unity-cli raw modify_gameobject --json '{"path":"/Player","name":"Hero","active":true}'
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"}'
Examples
- "Deactivate
/Playerand rename it toHero." - "Change the Rigidbody mass on
/Playerand move it to (0,1,0)." - "Remove the old collider from
/Obstacleafter listing its components."
References
- runtime-checklist.md: connection and instance prerequisites.
- component-edit-safety.md: destructive-edit safety, nested field paths, tag/layer pitfalls.
Signals
- GitHub stars
- 103
- Forks
- 12
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
unity-gameobject-edit- Source
- github.com/akiojin/unity-cli