assets-prefab-close

Close the active Unity prefab and optionally save changes via HTTP API.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/lightvu25/Echoes --skill assets-prefab-close-lightvu25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-prefab-close
Source: https://github.com/lightvu25/Echoes/tree/main/SKILLS/assets-prefab-close
Command: npx skills add https://github.com/lightvu25/Echoes --skill assets-prefab-close-lightvu25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Close the actively edited Unity prefab to end the editing session, with optional saving of changes.

Core Features & Use Cases

  • Close the currently opened prefab from Unity Editor during prefab editing sessions.
  • Optionally save or discard changes via the save parameter.
  • Use after assets-prefab-open to load a prefab and work with it in the editor.

Quick Start

Call the assets-prefab-close endpoint with the desired save parameter to close the active prefab.

Frequently Asked Questions about assets-prefab-close

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

FAQPage Schema
How do I close an active Unity prefab through an API?

To close a Unity prefab via API, call the assets-prefab-close endpoint to end the current editing session and return a reference to the affected Unity asset.

Can I save or discard changes when closing a prefab in Unity Editor?

Yes, you can save or discard changes when closing a prefab by passing a boolean save parameter to the API request to determine whether to preserve your edits.

What is the best way to finalize prefab editing in Unity automation?

The best way to finalize prefab editing in Unity automation is to call the close endpoint after opening and modifying the prefab, ensuring changes are either saved or discarded programmatically.

Does the Unity prefab close endpoint require any specific dependencies?

No, the Unity prefab close endpoint operates without additional dependencies, directly accessing the Unity Editor environment to close the currently opened prefab and return the asset reference.

Why does my automation workflow need to close a Unity prefab programmatically?

Your automation workflow needs to close a Unity prefab programmatically to properly end the editing session, finalize or discard changes, and prevent lock conflicts on the asset file.