Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Saves and quits a Unity editor started by a CLI session, requiring the matching session lease nonce.
23% 100%+77 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
Not used yet
Save and quit an editor that a CLI session started.
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.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.
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.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-system-tool editor-session-quit --input-file - <<'EOF' {"param": "value"} EOF
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.
Next to this one in the catalogue, plus more from the same author.