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 查看