assets-prefab-save

Save the currently edited Unity prefab via JSON input.

3.8k|349|Updated Apr 2, 2025
One-click install
npx skills add https://github.com/IvanMurzak/Unity-MCP --skill assets-prefab-save-ivanmurzak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-prefab-save
Source: https://github.com/IvanMurzak/Unity-MCP/tree/main/Unity-MCP-Plugin/.claude/skills/assets-prefab-save
Command: npx skills add https://github.com/IvanMurzak/Unity-MCP --skill assets-prefab-save-ivanmurzak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Saving changes to a prefab during prefab editing is error-prone and tedious. This tool provides a repeatable, script-driven save workflow that ensures modifications are persisted.

Core Features & Use Cases

  • Automatic persistence of the currently edited prefab in Unity Editor.
  • Works with the assets-prefab-open workflow to ensure the target prefab is loaded before saving.
  • Suitable for editorial pipelines where prefab changes must be reliably committed to disk.

Quick Start

Use the assets-prefab-save tool to persist the currently edited prefab in the Unity Editor.

Frequently Asked Questions about assets-prefab-save

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

FAQPage Schema
How do I automatically save a prefab in Unity Editor?

To automatically save a prefab in Unity Editor, you can use a script-driven workflow that persists modifications to the currently edited prefab reliably to disk without manual interaction.

Why does my prefab editing workflow need an automated save step?

An automated save step ensures prefab modifications are reliably persisted during editing, eliminating the error-prone and tedious nature of manually committing changes within an editorial pipeline.

Can I integrate prefab saving into an automated Unity pipeline?

Yes, you can integrate prefab saving into an automated Unity pipeline by accepting JSON input via file or argument, allowing script-driven workflows to commit changes without manual intervention.

Do I need unity-mcp-cli to save Unity prefabs automatically?

Yes, you need the unity-mcp-cli tool to execute this automated save operation, as it provides the necessary bridge to persist the currently edited prefab within the Unity Editor environment.

What is the best way to ensure prefab changes are persisted in Unity?

The best way to ensure prefab changes are persisted is to use a repeatable, script-driven save workflow that automatically applies modifications to disk immediately after editing inside Unity.

Should I open a prefab before using the automated save tool?

Yes, you should open the target prefab for editing first, as the automated save tool works by persisting the modifications of the currently active prefab loaded in the Unity Editor.