unity-gameobject-edit

Modify Unity GameObjects and components via unity-cli.

83|10|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/akiojin/unity-cli --skill unity-gameobject-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-gameobject-edit
Source: https://github.com/akiojin/unity-cli/tree/main/.claude-plugin/plugins/unity-cli/skills/unity-gameobject-edit
Command: npx skills add https://github.com/akiojin/unity-cli --skill unity-gameobject-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows for the modification of existing GameObjects and their components within a Unity scene, streamlining the process of updating object properties, components, tags, and layers.

Core Features & Use Cases

  • GameObject Modification: Rename, activate/deactivate, and delete GameObjects.
  • Component Editing: Modify existing component properties, set specific fields, add, or remove components.
  • Tag & Layer Management: Add new tags or manage layers within the Unity project.
  • Use Case: You need to rename a player object in your scene to "Hero", deactivate an enemy object, and change the mass of its Rigidbody component.

Quick Start

Use the unity-gameobject-edit skill to rename the GameObject at path '/Player' to 'Hero' and deactivate it.

Frequently Asked Questions about unity-gameobject-edit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate editing Unity GameObjects and components in a scene?

You can automate editing Unity GameObjects by using a CLI tool that communicates with the Unity Editor via a TCP bridge to rename objects, toggle active states, and update component properties.

Can I add or remove components on a Unity GameObject from the command line?

Yes, you can add or remove components on a Unity GameObject from the command line. The process supports updating existing component properties, setting specific fields, and managing component attachments directly.

What is needed to modify Unity scene objects outside the editor?

Modifying Unity scene objects outside the editor requires the unity-cli tool to establish a TCP bridge with the Unity Editor. This setup enables external automation of GameObject renaming, deletion, and component updates.

Is it possible to manage Unity project tags and layers without opening the editor UI?

Yes, managing Unity project tags and layers without the editor UI is possible. The automation tool handles adding new tags and managing layers directly within the Unity project through command-line instructions.

Are there safety checks when deleting Unity GameObjects via CLI automation?

Yes, safety checks for destructive edits are included when deleting Unity GameObjects via CLI automation. These precautions help prevent accidental removal of scene objects during automated modification tasks.