Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ivanmurzak/object-get-data
Get serialized data for a Unity `UnityEngine.Object` — all serializable fields and properties. Supports token-saving path-scoped reads via `paths` or `viewQuery`. Pair with 'object-modify' when you need to write back.
Passed 20 of 22 test cases with the skill, and 4 of 22 without it.
and 27 more in the full report
16 fixed4 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
We want to inspect Unity instance ID 5543 showing only 1 level of fields and properties with their children stripped. Provide the JSON input payload.
| Checked | Without skill | With skill |
|---|---|---|
| Sets MaxDepth inside viewQuery to 1. | Missed | Passed |
| Sets instanceID inside objectRef to 5543. | Missed | Passed |
The instructions your model reads when the skill loads.
Get data of the specified Unity Object. Returns serialized data of the object including its properties and fields. If need to modify the data use 'object-modify' tool.
Supply paths (a list of paths) to read only the listed fields/elements via Reflector.TryReadAt, or viewQuery (a ViewQuery) to navigate to a subtree and/or filter by name regex / max depth / type via Reflector.View. These two parameters are mutually exclusive — supply at most one. When neither is supplied the full object is serialized (backwards compatible).
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped.
unity-mcp-cli run-tool object-get-data --input '{
"objectRef": "string_value",
"paths": "string_value",
"viewQuery": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool object-get-data --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool object-get-data --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.
test cases passed, vs 4 / 22 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.