batihandev/unity-mcp-skills/gameobject

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when users want to create, delete, move, rotate, scale, or parent GameObjects.

Install

npx vskill@latest install batihandev/unity-mcp-skills/gameobject

SKILL.md

Unity GameObject Skills

Overview

BATCH-FIRST: Use *_batch skills when operating on 2+ objects to reduce API calls from N to 1.

Common Mistakes

DO NOT (common hallucinations):

  • gameobject_move / gameobject_rotate / gameobject_set_scale do not exist → use gameobject_set_transform (handles position, rotation, and scale together)
  • gameobject_set_position does not exist → use gameobject_set_transform with posX/posY/posZ
  • gameobject_add_component does not exist → use component_add (component module)
  • gameobject_get_transform does not exist → use gameobject_get_info (returns position/rotation/scale)

Routing:

  • To add/remove components → use component module
  • To set material/color → use material module
  • To search objects by name/tag/component → gameobject_find (this module) or scene_find_objects (scene module, Semi-Auto)
Object Targeting: All single-object skills accept three identifiers: name (string), instanceId (int, preferred for precision), path (string, hierarchy path like "Parent/Child"). Provide at least one. When only name is shown in a parameter table, instanceId and path are also accepted.

Skills Overview

Single ObjectBatch VersionUse Batch When
gameobject_creategameobject_create_batchCreating 2+ objects
gameobject_deletegameobject_delete_batchDeleting 2+ objects
gameobject_duplicategameobject_duplicate_batchDuplicating 2+ objects
gameobject_renamegameobject_rename_batchRenaming 2+ objects
gameobject_set_transformgameobject_set_transform_batchMoving 2+ objects
gameobject_set_activegameobject_set_active_batchToggling 2+ objects
gameobject_set_parentgameobject_set_parent_batchParenting 2+ objects
-gameobject_set_layer_batchSetting layer on 2+ objects
-gameobject_set_tag_batchSetting tag on 2+ objects

Query Skills (no batch needed):

  • gameobject_find - Find objects by name/tag/layer/component
  • gameobject_get_info - Get detailed object information

Single-Object Skills

gameobject_create

Create a new GameObject (primitive or empty).

ParameterTypeRequiredDefaultDescription
namestringYes-Object name
primitiveTypestringNonullCube/Sphere/Capsule/Cylinder/Plane/Quad (null=Empty)
x, y, zfloatNo0Local position (relative to parent if set)
parentNamestringNonullParent object name
parentInstanceIdintNo0Parent instance ID
parentPathstringNonullParent hierarchy path

Returns: {success, name, instanceId, path, parent, position}

gameobject_delete

Delete a GameObject.

ParameterTypeRequiredDescription
namestringNo*Object name
instanceIdintNo*Instance ID (preferred)
pathstringNo*Hierarchy path

*At least one identifier required

gameobject_duplicate

Duplicate a GameObject.

ParameterTypeRequiredDescription
namestringNo*Object name
instanceIdintNo*Instance ID
pathstringNo*Hierarchy path

Returns: {originalName, copyName, copyInstanceId, copyPath}

gameobject_rename

Rename a GameObject.

ParameterTypeRequiredDescription
namestringNo*Current object name
instanceIdintNo*Instance ID (preferred)
newNamestringYesNew name

Returns: {success, oldName, newName, instanceId}

gameobject_find

Find GameObjects matching criteria.

ParameterTypeRequiredDefaultDescription
namestringNonullName filter
tagstringNonullTag filter
layerstringNonullLayer filter
componentstringNonullComponent type filter
useRegexboolNofalseUse regex for name
limitintNo50Max results

Returns: {count, objects: [{name, instanceId, path, tag, layer}]}

gameobject_get_info

Get detailed GameObject information.

ParameterTypeRequiredDescription
namestringNo*Object name
instanceIdintNo*Instance ID
pathstringNo*Hierarchy path

Returns: {name, instanceId, path, tag, layer, isActive, position, rotation, scale, parent, parentPath, childCount, components, children}

gameobject_set_transform

Set position, rotation, scale, and/or RectTransform properties. All transform params are optional — only supplied fields are applied.

ParameterTypeRequiredDescription
namestringNo*Object name
instanceIdintNo*Instance ID (preferred)
pathstringNo*Hierarchy path
posX/posY/posZfloat?NoWorld position
rotX/rotY/rotZfloat?NoRotation (euler)
scaleX/scaleY/scaleZfloat?NoLocal scale
localPosX/localPosY/localPosZfloat?NoLocal position (3D and UI)
anchoredPosX/anchoredPosYfloat?NoAnchored position (UI only)
anchorMinX/anchorMinYfloat?NoAnchor min (UI only)
anchorMaxX/anchorMaxYfloat?NoAnchor max (UI only)
pivotX/pivotYfloat?NoPivot (UI only)
sizeDeltaX/sizeDeltaYfloat?NoSize delta (UI only)
width/heightfloat?NoSize shortcut via SetSizeWithCurrentAnchors (UI only)

*At least one identifier required

Returns (3D): {success, name, instanceId, isUI: false, position, localPosition, rotation, scale} Returns (UI): {success, name, instanceId, isUI: true, anchoredPosition, anchorMin, anchorMax, pivot, sizeDelta, rect, localPosition}

gameobject_set_parent

Set parent-child relationship.

ParameterTypeRequiredDescription
childNamestringNo*Child object name
childInstanceIdintNo*Child Instance ID (preferred)
childPathstringNo*Child hierarchy path
parentNamestringNo*Parent object name (empty string = unparent)
parentInstanceIdintNo*Parent Instance ID
parentPathstringNo*Parent hierarchy path

*At least one child identifier and one parent identifier required

gameobject_set_active

Enable or disable a GameObject.

ParameterTypeRequiredDescription
namestringNo*Object name
instanceIdintNo*Instance ID (preferred)
pathstringNo*Hierarchy path
activeboolYesEnable state

*At least one identifier required


Recipe path rule: ../../recipes/gameobject/<command>.md

Batch Skills

gameobject_create_batch

Create multiple GameObjects in one call.

Item properties: name, primitiveType, x, y, z, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, parentName, parentInstanceId, parentPath

Returns: {success, totalItems, successCount, failCount, results: [{success, name, instanceId, path, position}]}

gameobject_delete_batch

Delete multiple GameObjects. items accepts an array of strings (names) or objects {name, instanceId, path}.

Returns: {success, totalItems, successCount, failCount, results: [{success, target}]}

gameobject_duplicate_batch

Duplicate multiple GameObjects.

Returns: {success, totalItems, successCount, failCount, results: [{success, originalName, copyName, copyInstanceId, copyPath}]}

gameobject_rename_batch

Rename multiple GameObjects.

Returns: {success, totalItems, successCount, failCount, results: [{success, oldName, newName, instanceId}]}

gameobject_set_transform_batch

Set transforms for multiple objects. Each item accepts the same fields as gameobject_set_transform plus name/instanceId/path.

Returns: {success, totalItems, successCount, failCount, results: [{success, name, pos: {x,y,z}}]}

gameobject_set_active_batch

Toggle multiple objects. Each item: {name, instanceId, path, active}.

Returns: {success, totalItems, successCount, failCount, results: [{success, target, active}]}

gameobject_set_parent_batch

Parent multiple objects. Each item supports childName/childInstanceId/childPath and parentName/parentInstanceId/parentPath.

Returns: {success, totalItems, successCount, failCount, results: [{success, target, parent}]}

gameobject_set_layer_batch

Set layer for multiple objects. Each item: {name, instanceId, path, layer, recursive}. Set recursive: true to apply to all children.

Returns: {success, totalItems, successCount, failCount, results: [{success, target, layer}]}

gameobject_set_tag_batch

Set tag for multiple objects. Each item: {name, instanceId, path, tag}.

Returns: {success, totalItems, successCount, failCount, results: [{success, target, tag}]}


Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/batihandev/unity-mcp-skills/gameobject/badge)](https://verified-skill.com/skills/batihandev/unity-mcp-skills/gameobject)

Something wrong with this skill or its page? Tell us.