Skills

Aibridge

Unity Editor and Player Runtime CLI integration for AIBridge.

Install

npx skills add FlameskyDexive/Legends-Of-Heroes --skill aibridge -g -a claude-code -y
Category
Engineering
Updated
1mo ago
License
MIT
Context cost
Mediumabout 1,977 tokens
Runs scripts
No, instructions only

What it does

Unity Editor and Player Runtime CLI integration for AIBridge. Use when Codex needs to compile Unity, inspect Console logs, search/read assets, manipulate GameObjects, Transforms, components, SerializedProperty values, scenes, screenshots/GIFs, connect to built Player runtime targets, simulate Play Mode runtime input, editor focus/menu items/game view, or look up AIBridgeCLI command syntax. For batch/multi scripts use aibridge-batch-script. For complex prefab asset edits use aibridge-prefab-patch. For unsupported direct Unity YAML serialized asset edits use unity-yaml-editing.

AI Bridge Unity Skill

Invocation

Run commands from the Unity project root.

CLI Path: ./.aibridge/cli/AIBridgeCLI.exe

Example Alias: $CLI is a shorthand for the platform-appropriate AIBridge CLI invocation. Examples use $CLI for consistency; replace it with the matching invocation form when running commands directly.

Invocation Forms:

  • Windows executable: ./.aibridge/cli/AIBridgeCLI.exe <command> [action] [options]
  • macOS/Linux DLL: dotnet ./.aibridge/cli/AIBridgeCLI.dll <command> [action] [options]
  • PowerShell call operator: & "./.aibridge/cli/AIBridgeCLI.exe" <command> [action] [options]

Most Unity-side commands require an action such as asset search or inspector set_property. CLI-only commands and helpers can differ: focus has no action, dialog uses status/click/wait, and multi uses --cmd or --stdin. Use --help or the generated command reference for the exact form.

Global Options:

  • --timeout <ms> - Timeout (default: 5000)
  • --on-dialog <mode> - When a Unity command is blocked by a modal dialog, optionally wait or click: none, wait, cancel, save, discard, ok, yes, no, delete, replace
  • --raw / --pretty - JSON output (default: raw)
  • --json <json> / --stdin - Complex parameters
  • --help - Show help

Cache Directory: .aibridge/ (Editor commands/results/screenshots and Runtime targets under .aibridge/runtime/targets/)

Dialog Output Rule: dialog status omits blockedByDialog and dialogs when no blocking Unity modal dialog is detected. Missing fields mean no dialog.

Operating Rules

Read the whole SKILL.md on GitHub

More in Engineering