unity-prefab

Automate Unity prefab creation, instantiation, applying changes, and unpacking.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/muddyrain/valley-mas --skill unity-prefab-muddyrain
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-prefab
Source: https://github.com/muddyrain/valley-mas/tree/main/.codex/skills/unity-skills/skills/prefab
Command: npx skills add https://github.com/muddyrain/valley-mas --skill unity-prefab-muddyrain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Unity prefabs across scenes—creating, instantiating, applying changes, and unpacking prefabs and their instances—can be error-prone and time-consuming. This Skill automates those tasks to keep prefab usage consistent and scalable.

Core Features & Use Cases

  • Create prefabs from scene objects and instantiate them in scenes to accelerate level design.
  • Apply instance changes back to the source prefab or unpack nested prefabs for targeted edits, maintaining asset integrity.
  • Locate all prefab instances in a scene and modify properties inside the prefab asset without needing to instantiate every copy.

Quick Start

Instantiate a prefab into a scene using prefab_instantiate, or batch-instantiate multiple prefabs with prefab_instantiate_batch to seed a level.

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 for level design?▼

Batch instantiate Unity prefabs by using the prefab_instantiate_batch function to generate multiple prefab instances simultaneously, accelerating scene assembly and level design workflows.

How do I apply instance changes back to a source prefab in Unity?▼

Apply instance changes back to a source prefab in Unity using the prefab_apply function, which synchronizes modifications from individual instances to maintain asset consistency.

Can I modify properties inside Unity prefab assets without instantiating every copy?▼

You can locate and edit properties inside Unity prefab assets directly using prefab_set_property, enabling targeted modifications without needing to instantiate every copy in the scene.

What is the best way to unpack nested prefabs in Unity for targeted edits?▼

Unpack nested prefabs in Unity using the prefab_unpack function, which disconnects prefab instances from their source assets to allow independent, targeted edits while maintaining asset integrity.

Does this Unity prefab automation handle creating prefabs from scene objects?▼

Unity prefab automation handles creating prefabs from scene objects using the prefab_create function, streamlining the transition from individual scene objects to reusable prefab assets.