Skip to main content

aibridge-batch-script

AIBridge batch and multi command automation. Use when Codex needs to run multiple Unity Editor CLI operations together, write batch scripts, use multi --cmd or multi --stdin, handle call/delay/log/menu lines, avoid PowerShell quoting issues, or automate long/JSON-heavy AIBridgeCLI workflows

소스 정보

저장소
liyingsong99/AIBridge
최근 소스 활동
2026년 7월 17일 08:35
감지된 SKILL.md 언어
영어
스타
225
포크
33

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
aibridge-batch-script
description
AIBridge batch and multi command automation. Use when Codex needs to run multiple Unity Editor CLI operations together, write batch scripts, use multi --cmd or multi --stdin, handle call/delay/log/menu lines, avoid PowerShell quoting issues, or automate long/JSON-heavy AIBridgeCLI workflows
# AIBridge Batch Script Prefer `multi --stdin` for long scripts, JSON-heavy commands, or PowerShell quoting-sensitive commands ## Rules - Run commands from the Unity project root - Plain `multi` lines become Batch `call` lines automatically - `multi --cmd` is only for `multi`; prefer `multi --stdin` for long or JSON-heavy scripts - Native Batch lines are kept as-is: `call`, `delay`, `log`, `menu`, `wait_compile`, `wait_playmode`, `assert_log_empty`, `assert_object`, `set_var`, `print_var`, `dialog click`, and `#` comments - `dialog click ok | yes | Save` declares dialog auto-click choices; after that line executes, later steps auto-click the first matching logical choice or visible button text. A later `dialog click` declaration replaces the previous strategy. Keep the CLI invocation waiting; `--no-wait` cannot continue clicking after the process exits - Keep generated scripts under `.aibridge/scripts/` when a file is needed - Use `--keep-file` only when debugging the generated script ## Quick Examples ```bash $CLI multi --cmd "editor log --message Step1&get_logs --logType Error --count 1" ``` ```powershell $script = @' editor log --message "开始批处理" dialog click ok | yes | Save wait_compile 120000 delay 1000 get_logs --logType Error --count 1 '@ $script | & $CLI multi --stdin ``` ## References - `references/batch-script-reference.md`: generated command reference for `batch`
GitHub에서 보기