Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ivanmurzak/assets-prefab-create
Create a Prefab (or Prefab Variant) at a project asset path. Source can be a scene GameObject (`gameObjectRef`) or an existing prefab asset (`sourcePrefabAssetPath`). Creates intermediate folders if missing. Use 'gameobject-find' to locate the source GameObject first.
Passed 18 of 20 test cases with the skill, and 4 of 20 without it.
and 26 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.
Provide the exact unity-mcp-cli command using stdin piping to create a prefab at 'Assets/Prefabs/Weapons/Sword.prefab' from a scene object named 'Excalibur'.
| Checked | Without skill | With skill |
|---|---|---|
| Uses unity-mcp-cli run-tool assets-prefab-create with --input-file -. | Missed | Passed |
| Includes JSON payload containing prefabAssetPath 'Assets/Prefabs/Weapons/Sword.prefab'. | Missed | Passed |
The instructions your model reads when the skill loads.
Create a prefab from a GameObject in the current active scene. The prefab will be saved in the project assets at the specified path. Creates folders recursively if they do not exist. If the source GameObject is already a prefab instance and 'connectGameObjectToPrefab' is true, a Prefab Variant is created automatically. To create a Prefab Variant from an existing prefab asset, provide 'sourcePrefabAssetPath' instead of 'gameObjectRef'. Use 'gameobject-find' tool to find the target GameObject first.
prefabAssetPath — required. Must start with Assets/ and end with .prefab.gameObjectRef — scene GameObject to convert (or to seed a Prefab Variant from when it is already a prefab instance).sourcePrefabAssetPath — existing prefab asset to seed a Prefab Variant from. Cannot be combined with gameObjectRef.connectGameObjectToPrefab (default true) — when sourcing from a scene GameObject, connect the scene object to the new prefab asset (becoming a prefab instance). Ignored for sourcePrefabAssetPath (always creates a variant).Creates intermediate folders along prefabAssetPath if they don't already exist. Returns an AssetObjectRef pointing at the new prefab asset.
unity-mcp-cli run-tool assets-prefab-create --input '{
"prefabAssetPath": "string_value",
"gameObjectRef": "string_value",
"sourcePrefabAssetPath": "string_value",
"connectGameObjectToPrefab": false
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool assets-prefab-create --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool assets-prefab-create --input-file - <<'EOF' {"param": "value"} EOF
test cases passed, vs 4 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.