assets-prefab-instantiate

Instantiate Unity prefabs as GameObjects with position, rotation, and scale.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill assets-prefab-instantiate-rakamenouya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-prefab-instantiate
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/assets-prefab-instantiate
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill assets-prefab-instantiate-rakamenouya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of adding prefabs to your Unity scene, eliminating the need for manual placement and ensuring consistent results.

Core Features & Use Cases

  • Prefab Instantiation: Place prefabs at specified positions, rotations, and scales.
  • Parenting: Optional parent to existing GameObjects in the scene.
  • Use Case: If you need to quickly add a character model to a scene, use this Skill to instantiate it at the desired location and orientation, saving time and reducing the risk of errors.

Quick Start

Instantiate a character prefab at the origin by running the command: unity-mcp-cli run-tool assets-prefab-instantiate --input '{"prefabAssetPath": "Assets/CharacterPrefab", "position": {"x": 0, "y": 0, "z": 0}}'

Frequently Asked Questions about assets-prefab-instantiate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instantiate a Unity prefab at a specific position and rotation?

Yes, you can parent instantiated prefabs to existing GameObjects in your Unity scene. This Skill supports optional parenting to organize newly placed objects under specific scene hierarchy nodes during the instantiation process.

What is the best way to automate placing multiple character models in a Unity scene?

Automating prefab instantiation is the best way to place character models consistently. This Skill eliminates manual placement by using a command line interface to specify the prefab asset path and transform values for precise scene population.

Do I need a specific Unity environment to use automated prefab instantiation?

Yes, you need an active Unity environment and appropriate prefab assets stored in your project directory. This Skill operates by referencing the prefab asset path to instantiate GameObjects within the Unity scene management system.

How does command line prefab instantiation work in Unity?

Command line prefab instantiation works by passing a JSON object containing the prefab asset path and transform coordinates to a CLI tool. The tool triggers the instantiation logic to place the prefab into the active Unity scene.

Can I set the scale when instantiating a prefab in Unity?

Yes, you can set the scale when instantiating a prefab. This Skill allows you to specify position, rotation, and scale values in the input JSON to ensure the GameObject is placed with the exact transform you need.