Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ivanmurzak/gameobject-component-modify
Modify a specific Component on a GameObject in opened Prefab or in a Scene. Allows direct modification of component fields and properties without wrapping in GameObject structure. Use 'gameobject-component-get' first to inspect the component structure before modifying. Three modification surfaces are available (componentDiff, pathPatches, jsonPatch) — see the skill body for details.
Passed 13 of 20 test cases with the skill, and 6 of 20 without it.
and 5 more in the full report
8 fixed7 passed either way8 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
In addition to 'gameObjectRef' and 'componentRef', what is the minimum required input payload condition for gameobject-component-modify to execute?
| Checked | Without skill | With skill |
|---|---|---|
| At least one of 'jsonPatch', 'pathPatches', or 'componentDiff' must be supplied. | Missed | Passed |
The instructions your model reads when the skill loads.
Use whichever fits the task:
componentDiff — full SerializedMember diff (legacy, backwards compatible).pathPatches — list of {path, value} pairs routed through Reflector.TryModifyAt; atomic per-path modification, multiple entries can target different depths.jsonPatch — a JSON Merge Patch (RFC 7396, extended with [i]/[key] notation) routed through Reflector.TryPatch; multiple fields at any depth in a single call.When more than one is supplied they run in this order: jsonPatch → pathPatches → componentDiff. At least one is required.
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped.
unity-mcp-cli run-tool gameobject-component-modify --input '{
"gameObjectRef": "string_value",
"componentRef": "string_value",
"componentDiff": "string_value",
"pathPatches": "string_value",
"jsonPatch": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool gameobject-component-modify --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool gameobject-component-modify --input-file - <<'EOF' {"param": "value"} EOF
test cases passed, vs 6 / 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.