scene-unload

scene-unload is a skill for Claude Code from IvanMurzak/Unity-MCP. It costs 38 tokens per session (821 once invoked), scanned A, original, Apache-2.0.

A tool for removing an opened scene from the Unity Editor without closing the whole project. It unloads the scene asynchronously and reports the result.

In plain words
What is it for?
Use it to unload a named open scene and manage which scenes remain available in the editor.
Why use it?
It helps reduce the set of scenes currently loaded when a scene is no longer needed, especially while working with multiple scenes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to unload a named open scene and manage which scenes remain available in the editor.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanmurzak/unity-mcp/scene-unload
About the project

Unity-MCP connects AI coding agents to the Unity game engine through MCP, letting them work with the Unity Editor and running games. It is used by game developers to generate code, automate development and testing, debug projects, and add AI-driven behavior to games. The catalogue entries provide skills, instructions, an MCP integration, and settings for operating this workflow.

IvanMurzak/Unity-MCP · 4,223 stars · on GitHub · ai-game.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add IvanMurzak/Unity-MCP --skill scene-unload
Clone the repo
git clone --depth 1 https://github.com/IvanMurzak/Unity-MCP

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scene-unload

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/scene-unload/github.svg)](https://agentmods.dev/skills/ivanmurzak/unity-mcp/scene-unload)
Your own site
<a href="https://agentmods.dev/skills/ivanmurzak/unity-mcp/scene-unload"><img src="https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/scene-unload/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scene-unload

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanmurzak/unity-mcp/scene-unload"><img src="https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/scene-unload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 41
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00821
Opus 5 $0.00019 $0.00411
Sonnet 5 $0.00008 $0.00164
Haiku 4.5 $0.00004 $0.00082

Measured 6d ago against content hash dea2aff0dda3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

scene-unload scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Unity-MCP-Plugin/.claude/skills/scene-unload/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scene / Unload

Unload scene from the Opened scenes in Unity Editor. Use 'scene-list-opened' tool to get the list of all opened scenes.

Inputs

  • name — required non-empty scene name. Must match an opened scene; otherwise throws.

Behavior

Runs SceneManager.UnloadSceneAsync on the main thread and awaits completion. Returns an UnloadSceneResult containing the scene name and an AssetObjectRef to its asset (or null if the scene was not backed by an asset on disk).

How to Call

unity-mcp-cli run-tool scene-unload --input '{
  "name": "string_value"
}'

For complex input (multi-line strings, code), save the JSON to a file and use:

unity-mcp-cli run-tool scene-unload --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-tool scene-unload --input-file - <<'EOF'
{"param": "value"}
EOF

Troubleshooting

If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.

Input

Name Type Required Description
name string Yes Name of the loaded scene.

Input JSON Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ]
}

Output

Output JSON Schema

{
  "type": "object",
  "properties": {
    "result": {
      "$ref": "#/$defs/AIGD.UnloadSceneResult"
    }
  },
  "$defs": {
    "AIGD.AssetObjectRef": {
      "type": "object",
      "properties": {
        "instanceID": {
          "type": "integer",
          "description": "instanceID of the UnityEngine.Object. If this is '0' and 'assetPath' and 'assetGuid' is not provided, empty or null, then it will be used as 'null'."
        },
        "assetType": {
          "$ref": "#/$defs/System.Type",
          "description": "Type of the asset."
        },
        "assetPath": {
          "type": "string",
          "description": "Path to the asset within the project. Starts with 'Assets/'"
        },
        "assetGuid": {
          "type": "string",
          "description": "Unique identifier for the asset."
        }
      },
      "required": [
        "instanceID"
      ],
      "description": "Reference to UnityEngine.Object asset instance. It could be Material, ScriptableObject, Prefab, and any other Asset. Anything located in the Assets and Packages folders."
    },
    "System.Type": {
      "type": "string"
    },
    "AIGD.UnloadSceneResult": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Name of the unloaded scene."
        },
        "AssetObjectRef": {
          "$ref": "#/$defs/AIGD.AssetObjectRef",
          "description": "Reference to the unloaded scene asset."
        }
      }
    }
  },
  "required": [
    "result"
  ]
}

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 127 lines · 38 tokens per session scan A dea2aff0dda3

Subscribe to this mod's changes

scene-unload is a skill published in the GitHub repository IvanMurzak/Unity-MCP (4,223 stars, last pushed 5d ago), licensed Apache-2.0. It adds 38 tokens to every session and 821 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.