unity-prefab

Create, instantiate, and batch spawn Unity prefabs using native APIs.

1.6k|152|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-prefab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-prefab
Source: https://github.com/Besty0728/Unity-Skills/tree/main/unity-skills/skills/prefab
Command: npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-prefab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the creation, instantiation, and management of Unity prefabs, enabling batch spawning for scalable scene assembly and consistent prefab usage.

Core Features & Use Cases

  • Create a prefab from a scene GameObject.
  • Instantiate a prefab into the scene.
  • Batch instantiate multiple prefabs with prefab_instantiate_batch for 2+ instances.
  • Apply changes from an instance back to the prefab with prefab_apply.
  • Unpack a prefab instance to detach from its prefab link with prefab_unpack.

Quick Start

Use the prefab skill to spawn multiple instances efficiently. For example, batch instantiate 3 enemies from a single prefab by calling prefab_instantiate_batch with a list of items containing prefabPath, name, and position.

Frequently Asked Questions about unity-prefab

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

FAQPage Schema
How do I batch instantiate Unity prefabs in a scene?

Batch instantiate Unity prefabs by calling prefab_instantiate_batch with a list of items containing prefabPath, name, and position to spawn multiple instances efficiently for scalable scene assembly.

What is the best way to apply changes from a prefab instance back to the source prefab in Unity?

Apply changes from a prefab instance back to the source prefab in Unity using the prefab_apply action to overwrite the original asset with modifications made to the scene instance.

How do I unpack a prefab instance to detach it from the prefab link in Unity?

Unpack a prefab instance in Unity using the prefab_unpack action to detach it from its prefab link, allowing independent editing of the GameObject without affecting the original prefab.

Do I need external tools to create and manage Unity prefabs?

No external tools are needed to create and manage Unity prefabs. This skill relies on Unity's native APIs and internal scripts to perform create, instantiate, batch instantiate, apply, and unpack actions directly.

Can I create a prefab from an existing GameObject already in my Unity scene?

Create a prefab from an existing GameObject in your Unity scene using the create action to capture the object's current state and save it as a reusable prefab asset for future instantiation.