Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ivanmurzak/gameobject-destroy
Destroy a GameObject (and all nested children) in the currently opened Prefab or active Scene. Returns the destroyed GameObject's name, path, and instance ID for confirmation. Use 'gameobject-find' to locate the target first.
Passed 19 of 20 test cases with the skill, and 10 of 20 without it.
and 16 more in the full report
11 fixed10 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
According to the response schema for object destruction, which single field inside DestroyGameObjectResult is marked as required?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies DestroyedInstanceId as the required property in DestroyGameObjectResult. | Missed | Passed |
The instructions your model reads when the skill loads.
Destroy GameObject and all nested GameObjects recursively in opened Prefab or in a Scene. Use 'gameobject-find' tool to find the target GameObject first.
Validates the gameObjectRef, resolves it on the main thread, then calls Object.DestroyImmediate (the immediate variant is required for Editor-mode operations). Returns a DestroyGameObjectResult containing DestroyedName, DestroyedPath, and DestroyedInstanceId so the caller has a record of what was removed.
unity-mcp-cli run-tool gameobject-destroy --input '{
"gameObjectRef": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool gameobject-destroy --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool gameobject-destroy --input-file - <<'EOF' {"param": "value"} EOF
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead.
Read the /unity-initial-setup skill for detailed installation instructions.
| Name | Type | Required | Description |
|---|---|---|---|
gameObjectRef | any | Yes | Find GameObject in opened Prefab or in the active Scene. |
test cases passed, vs 10 / 20 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.