How to install unity-batch
install unity-batch
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills# or add only this skill to Claude Code: copy the folder
SkillsForUnity/unity-skills~/skills/batch/
# into
~/.claude/skills/batch/ (all projects)
.claude/skills/batch/ (one project)
1## Triggers2- Operating on many objects at once3- Running or polling long async jobs4- Preview-then-commit bulk edits5- 一次性操作大量对象、运行或轮询长时异步任务、先预览后提交的批量编辑67# Unity Batch Skills89The `POST /skills/batch` endpoint, query → preview → execute bulk edits, execution reports and async jobs. Parameters come from the schema, never from a skill's name; execution and dryRun rules: root [SKILL.md](../../SKILL.md).1011## POST /skills/batch — several skills, one HTTP call1213An **HTTP endpoint, not a skill**: never send `skills_batch` to `POST /skill/<name>`. It runs up to 50 ordinary skill calls in order inside one main-thread job, each through the full single-skill pipeline (validation, permission gate, its own Undo group, audit): one round trip and one main-thread wake-up instead of N, the biggest saving once there are 3+ writes.1415```json16POST /skills/batch17{18 "steps": [19 {"skill": "gameobject_create", "args": {"name": "Cube", "primitiveType": "Cube"}},20 {"skill": "component_add", "args": {"instanceId": {"$ref": "$0.instanceId"}, "componentType": "Rigidbody"}}21 ],22 "continueOnError": false23}24```2526| Body field | Default | Meaning |27|---|---|---|28| `steps` | required | `{skill, args}` objects, in order. More than 50 → `400 SEMANTIC_INVALID`; split the call. |29| `continueOnError` | `false` | `false` = stop at the first failure; `true` = record it and keep going. |30…
Excerpt shown under the repository's MIT license.
