💾
AutomationC#

Prefab Save

by IvanMurzak

Prefab Save is an Automation skill for Claude Code, published by IvanMurzak in Unity-MCP.

3.9K stars355 forkson IvanMurzak/Unity-MCPAdded 2026/08/16Repository updated 2026/08/16
aiai-integrationanthropicclaudeclaude-codeclaude-desktopclicopilotcursorgame-developmentgamedevgeminillmmcpmcp-servermodel-context-protocolopenaiunitywindsurf
Install in seconds
Install Prefab Save
Copy Prefab Save into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/IvanMurzak/Unity-MCP/tree/main/Unity-MCP-Plugin/.claude/skills/assets-prefab-save ~/.claude/skills/assets-prefab-save

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/IvanMurzak/Unity-MCP.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
Unity-MCP-Plugin/.claude/skills/assets-prefab-save/SKILL.md in IvanMurzak/Unity-MCP
Installs to
~/.claude/skills/assets-prefab-save
Collection
One of 25 skills cataloged from this repository
Category
Automation — 2226 skills

What Prefab Save does

Prefab Save saves the currently opened prefab edit stage back to its prefab asset without exiting the stage. Use it after opening a prefab with assets-prefab-open to persist edits in Unity Editor.

Prefab Save is cataloged under Automation on DirSkills. Prefab Save comes from a repository tagged ai, ai-integration, anthropic, claude and claude-code.

Documentation

README

Assets / Prefab / Save

Save a prefab. Use it when you are in prefab editing mode in Unity Editor. Use 'assets-prefab-open' tool to open a prefab first.

Behavior

Calls PrefabUtility.SaveAsPrefabAsset on the current prefab stage's contents root, clears the stage's dirtiness flag, repaints editor windows, and returns an AssetObjectRef to the saved prefab. Throws when no prefab stage is currently open.

How to Call

unity-mcp-cli run-tool assets-prefab-save --input '{
  "nothing": "string_value"
}'

This is the opening of the README. Read the full README on GitHub.

Commands Prefab Save provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /unity-initial-setup

Frequently asked about Prefab Save

  • What else does IvanMurzak publish alongside Prefab Save?

    Prefab Save is one of 25 skills that DirSkills catalogs from IvanMurzak/Unity-MCP, the repository it ships in. Its siblings there include Asset Data Reader, Asset Finder and Asset Modification. Each one is a separate skill with its own page in this directory, installs the same way Prefab Save does, and is maintained by IvanMurzak in that same repository. The rest of the collection is listed on the IvanMurzak/Unity-MCP page.

  • How does Prefab Save compare to other Automation skills?

    Prefab Save ranks #341 by stars among the 2226 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Prefab Save against them. Open each page to compare what they document and how they install.

More from IvanMurzak/Unity-MCP

Prefab Save is one of 25 skills cataloged on DirSkills from IvanMurzak/Unity-MCP.

See all 25 skills →
📦
2026/08/16

Asset Data Reader

Asset Data Reader retrieves serializable fields and properties from a Unity asset file. Use it when an agent needs to inspect a Material, ScriptableObject, Prefab, or other asset in a Unity project.
AI Engineering
3.9K355
🔍
2026/08/16

Asset Finder

Asset Finder queries the Unity asset database using filters for name, type, label, asset bundle, area, and glob patterns. Use it to locate assets in a Unity project before modifying or referencing them.
AI Engineering
3.9K355
🛠️
2026/08/16

Asset Modification

Asset Modification edits a Unity asset file in place using full content replacement, path-scoped patches, or JSON Merge Patch. Use it after assets-get-data to inspect structure; modifications to Packages/ are not allowed.
Automation
3.9K355
📁
2026/08/16

Assets Copy

Assets Copy copies assets at given paths and stores them at new paths, refreshing the AssetDatabase afterwards. Use it after locating source assets with assets-find.
Automation
3.9K355
📁
2026/08/16

Assets Create Folder

Assets Create Folder creates a new folder under a specified parent inside Unity's Assets directory, validates paths, refreshes the AssetDatabase, and returns created folder GUIDs. Use it when an AI agent needs to organize scripts or assets in a Unity project.
Automation
3.9K355
🗑️
2026/08/16

Assets Delete

Assets Delete removes assets at the given project paths in Unity and refreshes the AssetDatabase. Use it after finding assets with assets-find to delete files from disk.
Automation
3.9K355