Skip to content
Skills Library
Programming · Automation

aibridge-batch-script

/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

Repository
aibridge ↗
Licence
MIT
Last repository change
28.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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

Original author 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

How it works

  1. Rules
  2. Quick Examples
  3. References
Original SKILL.md headings · 36 lines, 199 words
SKILL.md preview
---
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`
Files in this package (2)
  • SKILL.md 2 KB
  • SKILL.md.meta 1 KB

Versions

The database has no other skills named aibridge-batch-script.

Database snapshot: 13.11.2026 · package version 7873c270a0d1 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95aibridge
    Unity Editor and Player Runtime CLI integration for AIBridge. Use for harness snapshot reads, Unity compile/logs/assets/scenes/prefabs/Inspector, screenshots/GIFs, Play Mode input, Runtime Player targets, focus/menu/game view, or AIBridgeCLI syntax. Route batch/multi, complex…
  • 93aibridge
    通过 AI Bridge CLI 自动化 Unity Editor 和手机 Player Runtime,执行 C# 代码、查询状态、测试输入、读取日志和捕获截图。当用户需要以编程方式与 Unity Editor 或手机 App 交互时使用。
  • 90unity-editor-automation
    Use when the task is to automate editor workflows with safe, scoped Unity Editor scripts.
  • 100aibridge-prefab-patch
    Unity Prefab asset patch workflow for AIBridge. Use when modifying complex prefab assets with prefab patch operations, child or component creation, SerializedProperty writes, array edits, internal GameObject/component references, dry-run validation, or when deciding between…
  • 100embedded-powershell
    PowerShell embedded in Windows batch/cmd scripts - powershell -Command one-liners, worker scripts a .bat starts, values handed over in environment variables, Windows PowerShell 5.1 compatibility (no PowerShell 7 syntax), quoting through cmd, native-tool stderr, JSON arrays in…
  • 95batch-files
    Expert-level Windows batch file (.bat/.cmd) skill for writing, debugging, and maintaining CMD scripts. Use when asked to "create a batch file", "write a .bat script", "automate a Windows task", "CMD scripting", "batch automation", "scheduled task script", "Windows shell script",…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.