unity-gameobject

Create, find, and manipulate Unity GameObjects and transforms via batch-capable skill calls.

Updated Oct 13, 2025
One-click install
npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-gameobject-darth-carrotpie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-gameobject
Source: https://github.com/Darth-Carrotpie/ProxyCore/tree/main/.agents/skills/unity-skills/skills/gameobject
Command: npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-gameobject-darth-carrotpie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building or restructuring a Unity scene hierarchy through an AI agent requires many precise editor operations—creating objects, moving them, parenting, renaming, deleting—and doing them one by one is slow and error-prone. This Skill exposes a complete, batch-first GameObject API so agents can perform these operations correctly and efficiently. ## Core Features & Use Cases - Full GameObject lifecycle: create (primitives or empty), duplicate, rename, delete, activate/deactivate, and set sibling index, with flexible targeting via entityId, instanceId, path, or name. - Transform and hierarchy control: set world/local position, rotation, scale, RectTransform UI properties (anchors, pivot, sizeDelta), and parent-child relationships. - Batch-first operations: every multi-object action (create, delete, transform, tag, layer, parent) has a *_batch variant that reduces N API calls to 1. - Use Case: Ask the agent to build a room: it calls gameobject_create_batch for a floor and walls, gameobject_set_transform_batch to position them, and gameobject_set_tag_batch to tag them—three calls instead of nine. ## Quick Start Ask the agent to create a plane named Floor and two cubes named Wall1 and Wall2, position the walls at x = -5 and x = 5, and tag both as Wall.

Frequently Asked Questions about unity-gameobject

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

FAQPage Schema
How do I create and position GameObjects in Unity with an AI agent?▼

Use gameobject_create with a name, optional primitiveType (Cube, Sphere, Plane, etc.), and position coordinates, then adjust placement with gameobject_set_transform. For multiple objects, gameobject_create_batch and gameobject_set_transform_batch handle everything in one call each.

How do I move or rotate a GameObject in Unity?▼

Use gameobject_set_transform, which handles position, rotation, and scale together via posX/posY/posZ, rotX/rotY/rotZ, and scale parameters. There is no separate gameobject_move or gameobject_rotate skill; local and RectTransform UI coordinates are also supported.

How do I find GameObjects by name, tag, or component in Unity?▼

Use gameobject_find with name, tag, layer, or component filters, plus optional regex matching and a result limit. It returns each object's name, entityId, instanceId, path, tag, layer, and position for use in follow-up operations.

Does the GameObject skill support Unity UI RectTransform editing?▼

Yes, gameobject_set_transform accepts RectTransform parameters including anchoredPos, anchorMin/Max, pivot, sizeDelta, and width/height aliases. These apply only to UI elements and are ignored on regular 3D Transforms.

Why does gameobject_delete return MODE_FORBIDDEN?▼

gameobject_delete and gameobject_delete_batch are marked as high-risk delete operations. In Approval or Auto modes they return MODE_FORBIDDEN; they only execute in Bypass mode or when the user explicitly allowlists them.

When should I use batch GameObject operations instead of single calls?▼

Use the *_batch variants whenever operating on two or more objects, since they reduce N API calls to one and return per-item success/failure results. Single-object skills remain appropriate for one-off edits or queries like gameobject_get_info.