assets-prefab-open

Open the prefab edit stage for a GameObject in Unity.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The need to manually edit prefab instances, which can be cumbersome and time-consuming when working with multiple instances.

Core Features & Use Cases

  • Edit Prefab Instances: Open the prefab edit stage for a specific GameObject to make changes that will affect all instances.
  • Modifications Propagate: Any changes made in the edit stage will be applied to all instances of the prefab.
  • Use Case: If you need to update the appearance of a prefab used in multiple places in your project, this skill allows you to do so efficiently.

Quick Start

Open the prefab edit mode for the 'doorPrefab' by running the command: unity-mcp-cli run-tool assets-prefab-open --input '{"gameObjectRef": "doorPrefab"}'.

Frequently Asked Questions about assets-prefab-open

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

FAQPage Schema
How do I edit a Unity prefab so changes apply to all instances?

To edit a prefab and propagate changes to all instances, you need to open the prefab edit stage. This skill activates that stage for a specified GameObject using Unity's PrefabUtility to resolve the instance and apply modifications across every instance.

What is the best way to update a prefab used in multiple places in Unity?

The best way to update a prefab across multiple places is by entering the prefab edit stage. This allows you to modify the base prefab asset once, ensuring the modifications automatically propagate to all instances within your Unity project.

Does the prefab edit stage require Unity to be in play mode?

Yes, opening the prefab edit stage requires the Unity editor to be in play mode. Additionally, the target GameObject must be a valid prefab instance or asset for the PrefabUtility to successfully resolve and open the stage.

Can I use this to modify a specific GameObject that is a prefab instance?

Yes, you can modify a specific prefab instance by passing its reference to the skill. It resolves the underlying prefab via PrefabUtility and opens the edit stage, ensuring any changes you make affect the base asset and all other instances.

Why does opening a prefab edit stage fail for non-prefab GameObjects?

Opening a prefab edit stage fails for non-prefab GameObjects because the skill relies on PrefabUtility to resolve the prefab instance. If the target is not a valid prefab asset or instance, the stage cannot be activated for modifications.

How do I programmatically open prefab edit mode for a GameObject?

You can programmatically open prefab edit mode by running the skill command with a JSON input specifying the gameObjectRef. This triggers PrefabUtility to activate the edit stage for that prefab, allowing modifications to propagate across all instances.