Skill~/aibridge-batch-script/SKILL.md
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
npx skillsauth add liyingsong99/aibridge aibridge-batch-scriptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Prefer multi --stdin for long scripts, JSON-heavy commands, or PowerShell quoting-sensitive commands
$CLI means the platform-appropriate AIBridge CLI invocation, usually ./.aibridge/cli/AIBridgeCLI.exe on Windows
multi lines become Batch call lines automaticallycall, delay, log, menu, wait_compile, wait_playmode, assert_log_empty, assert_object, set_var, print_var, dialog click, and # commentsdialog 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..aibridge/scripts/ when a file is needed--keep-file only when debugging the generated script$CLI multi --cmd "editor log --message Step1&get_logs --logType Error --count 1"
$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/batch-script-reference.md: generated command reference for batchtools
AIBridge workflow and multi-agent orchestration guidance. Use when Codex needs to design, review, or execute a multi-agent workflow plan, split Unity work into parallel or pipeline agent roles, define structured workflow artifacts, choose between batch/multi automation and agent orchestration, run adversarial verification, investigate Runtime debug evidence, sweep multiple Runtime targets, or prepare AIBridge workflow recipes
development
Optional read-only AIBridge Code Index semantic lookup for Unity C# code search and source navigation. Use when this Skill is installed, Code Index is enabled, and Codex needs to find C# symbols, definitions, references, implementations, derived types, callers, or diagnostics, including code lookup during development tasks. Do not use for literal text, config, asset, scene, prefab, or non-C# searches; use rg, host file reads, or regular AIBridge commands instead
development
Unity YAML text serialization editing workflow. Use when Codex needs to directly inspect, modify, create, or repair Unity serialized YAML files such as .unity scenes, .prefab assets, .asset ScriptableObject/config files, .mat, .controller, or other text-serialized Unity assets, especially when AIBridge inspector/prefab/scene APIs do not support the requested Prefab, Scene, ScriptableObjectTable, or custom asset operation
development
AIBridge/Unity 多分支开发工作流入口。Use when a task requires code or Unity asset changes, persistent AGENTS/Skill/workflow rule changes, root-cause debugging, Runtime/log evidence, risk review, validation verdicts, or workflow recipes. Do not use for pure Q&A, simple explanation, simple search/display, or read-only analysis with no changes and no verdict