📦
AutomationC#

Close Prefab

by IvanMurzak

Close Prefab 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 Close Prefab
Copy Close Prefab 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-close ~/.claude/skills/assets-prefab-close

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-close/SKILL.md in IvanMurzak/Unity-MCP
Installs to
~/.claude/skills/assets-prefab-close
Collection
One of 25 skills cataloged from this repository
Category
Automation1523 skills

What Close Prefab does

Close Prefab closes the currently opened Unity prefab edit stage, optionally saving changes back to the prefab asset before exiting.

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

Documentation

README

Assets / Prefab / Close

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

Inputs

  • save (default true) — when true, calls PrefabUtility.SaveAsPrefabAsset before exiting the stage; when false, the save is skipped. The prefab stage's dirtiness is always cleared at the end, so any unsaved changes are discarded when save is false.

Behavior

Throws when no prefab stage is currently open. Returns an AssetObjectRef for the closed prefab asset.

How to Call

unity-mcp-cli run-tool assets-prefab-close --input '{
  "save": false
}'

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

Commands Close Prefab provides

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

  • /unity-initial-setup

Frequently asked about Close Prefab

  • What else does IvanMurzak publish alongside Close Prefab?

    Close Prefab 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 Close Prefab 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 Close Prefab compare to other Automation skills?

    Close Prefab ranks #327 by stars among the 1523 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 Close Prefab against them. Open each page to compare what they document and how they install.

More from IvanMurzak/Unity-MCP

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

See all 25 skills