Agent Skills: uloop focus-window

Bring Unity Editor window to front via uloop CLI. Use when you need to: (1) Focus Unity Editor before capturing screenshots, (2) Ensure Unity window is visible for visual checks, (3) Bring Unity to foreground for user interaction.

UncategorizedID: hatayama/uLoopMCP/uloop-focus-window

Install this agent skill to your local

pnpm dlx add-skill https://github.com/hatayama/uLoopMCP/tree/HEAD/.agents/skills/uloop-focus-window

Skill Files

Browse the full folder contents for uloop-focus-window.

Download Skill

Loading file tree…

.agents/skills/uloop-focus-window/SKILL.md

Skill Metadata

Name
uloop-focus-window
Description
"Bring Unity Editor window to front via uloop CLI. Use when you need to: (1) Focus Unity Editor before capturing screenshots, (2) Ensure Unity window is visible for visual checks, (3) Bring Unity to foreground for user interaction."

uloop focus-window

Bring Unity Editor window to front using OS-level commands.

Usage

uloop focus-window

Parameters

None.

Global Options

| Option | Description | |--------|-------------| | --project-path <path> | Optional. Use only when the target Unity project is not the current directory. |

Examples

# Focus Unity Editor
uloop focus-window

Output

Returns JSON with:

  • Success: Whether the focus operation succeeded
  • Message: Status message (e.g. Unity Editor window focused (PID: 12345), or the failure reason such as Unity project not found / No running Unity process found for this project / Failed to focus Unity window: <reason>)

These are the only two fields. There is no PID, window-handle, or platform field returned to the caller.

Notes

  • Works even when Unity is busy (compiling, domain reload, etc.)
  • Uses OS-level commands (osascript on macOS, PowerShell on Windows)
  • Useful before uloop capture-unity-window to ensure the target window is visible
  • Brings the main Unity Editor window to the foreground