gameobject-modify

Modify GameObject fields and properties in Unity scenes and prefabs.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill gameobject-modify-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-modify
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/gameobject-modify
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill gameobject-modify-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Editing GameObject properties in Unity scenes or prefabs normally requires manual work in the Unity Editor. This Skill lets you programmatically modify fields and properties on one or many GameObjects at once through the unity-mcp-cli, enabling batch edits and AI-driven scene manipulation. ## Core Features & Use Cases - Batch Modification: Modify multiple GameObjects in a single call by providing parallel arrays of GameObject references and serialized diffs. - Flexible Targeting: Locate GameObjects by instanceID, hierarchy path, name, asset path, or asset GUID in the active Scene or an opened Prefab. - Safe Partial Updates: Unknown or misplaced fields are ignored and reported in the result logs, so you can see exactly what changed. - Use Case: Rename a set of enemy spawn points and update their tags across a scene by passing the GameObject references alongside the new serialized values in one command. ## Quick Start Ask the AI to modify the name and tag of a specific GameObject in the active Unity scene using the gameobject-modify tool via unity-mcp-cli.

Frequently Asked Questions about gameobject-modify

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

FAQPage Schema
How do I modify GameObject properties in Unity from the command line?

Use unity-mcp-cli run-tool gameobject-modify with a JSON input containing gameObjectRefs and gameObjectDiffs arrays. Each diff at a given index modifies the GameObject reference at the same index, and the result logs show what changed.

How do I modify multiple GameObjects at once in Unity?

Provide the same number of entries in gameObjectRefs and gameObjectDiffs. Each SerializedMember diff is applied to the GameObject reference at the matching index, letting you batch edits in a single tool call.

Can I modify GameObject components with gameobject-modify?

No, component fields and properties should be changed with the gameobject-component-modify tool instead. gameobject-modify targets the GameObject's own fields and properties, such as name or tag.

What happens if I pass an invalid field to gameobject-modify?

Unknown or wrongly located fields and properties are ignored rather than causing failure. The returned result logs list which fields were ignored so you can correct the input.

Why is unity-mcp-cli not found when running the tool?

The CLI is not installed or not on your PATH. Install it globally with npm install -g unity-mcp-cli, or invoke it via npx unity-mcp-cli, and check the unity-initial-setup skill for detailed setup instructions.