assets-prefab-save

Saves the currently open prefab in Unity Editor prefab editing mode.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-prefab-save-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-prefab-save
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/assets-prefab-save
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-prefab-save-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? When editing prefabs in Unity Editor through automation, changes made in prefab editing mode are not persisted until the prefab is explicitly saved. This Skill saves the open prefab so modifications are written to the asset on disk. ## Core Features & Use Cases - Prefab Persistence: Saves the prefab currently open in prefab editing mode via the unity-mcp-cli tool. - Asset Reference Output: Returns an AssetObjectRef containing the instanceID, asset path, and GUID of the saved prefab. - Use Case: After opening a prefab with the assets-prefab-open tool and modifying its components, invoke this Skill to commit the changes to the prefab asset in the Assets folder. ## Quick Start Ask the AI to save the prefab currently open in prefab editing mode using the assets-prefab-save tool.

Frequently Asked Questions about assets-prefab-save

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

FAQPage Schema
How do I save a prefab in Unity Editor from the command line?

Run unity-mcp-cli run-tool assets-prefab-save with an empty or minimal JSON input. The prefab must already be open in prefab editing mode, typically via the assets-prefab-open tool, before saving.

How to open a prefab before saving it with Unity MCP?

Use the assets-prefab-open tool to load the prefab into prefab editing mode first. Once open, assets-prefab-save can persist any changes made during the editing session.

What does the assets-prefab-save tool return?

It returns an AssetObjectRef object containing the saved prefab's instanceID, asset type, asset path starting with Assets/, and its unique GUID for referencing the asset in later operations.

Why does assets-prefab-save fail or do nothing?

The tool requires an active prefab editing session in Unity Editor. If no prefab is open, there is nothing to save, so open the target prefab first and ensure the Unity MCP bridge is running.

What if unity-mcp-cli is not found when running the tool?

Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli. The unity-initial-setup skill provides detailed installation instructions.