Agent Skills: uloop execute-menu-item

Execute Unity MenuItem via uloop CLI. Use when you need to: (1) Trigger menu commands programmatically, (2) Automate editor actions (save, build, refresh), (3) Run custom menu items defined in scripts.

UncategorizedID: hatayama/uLoopMCP/uloop-execute-menu-item

Install this agent skill to your local

pnpm dlx add-skill https://github.com/hatayama/uLoopMCP/tree/HEAD/.claude/skills/uloop-execute-menu-item

Skill Files

Browse the full folder contents for uloop-execute-menu-item.

Download Skill

Loading file tree…

.claude/skills/uloop-execute-menu-item/SKILL.md

Skill Metadata

Name
uloop-execute-menu-item
Description
"Execute Unity MenuItem via uloop CLI. Use when you need to: (1) Trigger menu commands programmatically, (2) Automate editor actions (save, build, refresh), (3) Run custom menu items defined in scripts."

uloop execute-menu-item

Execute Unity MenuItem.

Usage

uloop execute-menu-item --menu-item-path "<path>"

Parameters

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | --menu-item-path | string | - | Menu item path (e.g., "GameObject/Create Empty") | | --use-reflection-fallback | boolean | true | Use reflection fallback |

Global Options

| Option | Description | |--------|-------------| | --project-path <path> | Target a specific Unity project (mutually exclusive with --port). Path resolution follows the same rules as cd — absolute paths are used as-is, relative paths are resolved from cwd. | | -p, --port <port> | Specify Unity TCP port directly (mutually exclusive with --project-path). |

Examples

# Create empty GameObject
uloop execute-menu-item --menu-item-path "GameObject/Create Empty"

# Save scene
uloop execute-menu-item --menu-item-path "File/Save"

# Open project settings
uloop execute-menu-item --menu-item-path "Edit/Project Settings..."

Output

Returns JSON with execution result.

Notes

  • Use uloop get-menu-items to discover available menu paths
  • Some menu items may require specific context or selection
uloop execute-menu-item Skill | Agent Skills