scene-list-opened

Lists currently opened scenes in the Unity Editor via the unity-mcp-cli tool.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill scene-list-opened-ishaansingh-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: scene-list-opened
Source: https://github.com/ishaansingh-ai/Mechanical-2D/tree/main/.claude/skills/scene-list-opened
Command: npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill scene-list-opened-ishaansingh-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? When working with Unity projects through an AI assistant, you often need to know which scenes are currently open in the Editor before performing operations on them. This Skill retrieves that list instantly, including each scene's load state, dirty flag, path, and build index. ## Core Features & Use Cases - Open Scene Enumeration: Returns every scene currently open in the Unity Editor as structured JSON data. - Scene State Inspection: Each result includes Name, IsLoaded, IsDirty, IsSubScene, IsValidScene, RootCount, path, buildIndex, and instanceID. - Use Case: Before running a batch operation across scenes, ask which scenes are open to confirm the target scene is loaded and check whether it has unsaved changes (IsDirty) that should be saved first. ## Quick Start Ask the assistant to list all currently opened scenes in the Unity Editor and show their load and dirty status.

Frequently Asked Questions about scene-list-opened

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

FAQPage Schema
How do I list all open scenes in the Unity Editor from the command line?▼

Run unity-mcp-cli run-tool scene-list-opened with an empty or minimal JSON input. It returns an array of scene objects containing each open scene's name, path, load state, and build index.

How to check if a Unity scene has unsaved changes programmatically?▼

Call the scene-list-opened tool and inspect the IsDirty boolean field in each returned scene object. A true value means the scene has unsaved modifications that should be saved before closing or building.

What information does the Unity scene-list-opened tool return?▼

It returns an array of SceneDataShallow objects with Name, IsLoaded, IsDirty, IsSubScene, IsValidScene, RootCount, path, buildIndex, and instanceID for every scene currently open in the Editor.

Why is unity-mcp-cli not found when running the scene tool?▼

The CLI is not installed or not on your PATH. Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli, then retry the scene-list-opened call.

Can I get detailed data about a specific Unity scene?▼

The scene-list-opened tool only returns shallow scene references for open scenes. For detailed information about a specific scene, use the companion scene-get-data tool as indicated in the skill description.