本文へ移動
cccskills
無料GitHub で公開

editor-session-quit

Save and quit an editor that a CLI session started (`unity-mcp-cli exec`, `open --headless`). Needs the session lease nonce; an editor the user opened is never closed. Used by `unity-mcp-cli close`.

日本語の概要は準備中です。原文の説明を表示しています。

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Editor Session / Quit

Save and quit an editor that a CLI session started.

Inputs

  • nonce — the nonce of the project's session lease (.ai-game-dev/session.json), which the CLI also passed to the editor as AIGD_SESSION_NONCE.

Behavior

Refuses unless this editor was started by a CLI session (AIGD_SESSION_OWNER=cli) with the same nonce. Otherwise answers right away, then saves changed scenes that have a file and changed assets and exits — as the idle shutdown does. Unlike the OS polite-quit signal it also reaches a headless (-batchmode) editor. Prefer unity-mcp-cli close --owned-only over calling it directly.

How to Call

unity-mcp-cli run-system-tool editor-session-quit --input '{
  "nonce": "string_value"
}'

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

unity-mcp-cli run-system-tool editor-session-quit --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-system-tool editor-session-quit --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

NameTypeRequiredDescription
noncestringYesThe nonce of the project's CLI session lease (.ai-game-dev/session.json).

Input JSON Schema

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

Output

Output JSON Schema

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

build-cli

無料

Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.

日本語の概要は準備中です。原文の説明を表示しています。

IvanMurzak/Unity-MCP4,5072026年10月20日 更新

Review and resolve PR comments from GitHub. Validates each comment, fixes legitimate issues.

日本語の概要は準備中です。原文の説明を表示しています。

IvanMurzak/Unity-MCP4,5072026年10月20日 更新

Install a Unity package from the registry, a Git URL, or a local path. Modifies `manifest.json` and triggers package resolution; may also trigger a domain reload — the final result is delivered after the reload via the request's `requestId`. Use 'package-search' / 'package-list' for discovery first.

日本語の概要は準備中です。原文の説明を表示しています。

IvanMurzak/Unity-MCP4,5072026年10月20日 更新

List all UPM packages installed in the Unity project — name, version, source, description. Optionally filter by source (registry, embedded, local, git, built-in, local tarball), by name/display/description substring, and by direct-dependency-only.

日本語の概要は準備中です。原文の説明を表示しています。

IvanMurzak/Unity-MCP4,5072026年10月20日 更新

Uninstall a UPM package from the Unity project. Modifies `manifest.json` and may trigger a domain reload — the final result is delivered after the reload via the request's `requestId`. Built-in packages and packages that are dependencies of others cannot be removed. Use 'package-list' to list installed packages first.

日本語の概要は準備中です。原文の説明を表示しています。

IvanMurzak/Unity-MCP4,5072026年10月20日 更新

Search Unity's package registry plus locally installed packages (Git, local, embedded sources) by query string. Returns available versions and installation status. Online mode fetches exact matches from the live registry then supplements with cached substring matches.

日本語の概要は準備中です。原文の説明を表示しています。

IvanMurzak/Unity-MCP4,5072026年10月20日 更新

IvanMurzak のスキルをすべて見る

このスキルの問題を報告する