How to install unity-editor
install unity-editor
# 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/editor/
# into
~/.claude/skills/editor/ (all projects)
.claude/skills/editor/ (one project)
1> **Before calling any skill in this module:** if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via `GET /skills/recommend?includeSchema=true`) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.23## Triggers4- Reading persistent scene/file changes5- Driving play mode6- Inspecting runtime state7- Executing menu items8- 读取持久化场景/文件变更、操控 Play Mode、检查运行时状态、执行菜单项910# Unity Editor Skills1112Observe and control the Unity Editor without parsing scene YAML.1314## Operating Mode1516- **Approval**:本模块 Mixed —— `editor_get_changes` / `editor_get_selection` / `editor_get_context` / `editor_get_state` / `editor_get_tags` / `editor_get_layers` / `editor_playmode_inspect` 标 `SkillMode.SemiAuto`,可直接执行;其余 `editor_select` / `editor_undo` / `editor_redo` / `editor_playmode_step` 默认 FullAuto,Approval 模式下需 grant。17- **Auto / Bypass**:FullAuto 直接执行。18- **含 NeverInSemi 高危 skill**:`editor_play` / `editor_play_capture` / `editor_stop` / `editor_pause`(标 `MayEnterPlayMode = true`);`editor_run_scenario`(标 `MayEnterPlayMode = true`、`MayTriggerReload = true`、`RiskLevel = "high"`);`editor_execute_menu`(标 `MayTriggerReload = true` —— `Assets/Refresh`、`Assets/Reimport All` 之类的菜单项会触发域重载)。这些在 Approval **和** Auto 下都返 `MODE_FORBIDDEN`,仅 Bypass 或 Allowlist 命中可调;**grant 流程对它们不适用**,不要尝试。1920**DO NOT** (common hallucinations):21…
Excerpt shown under the repository's MIT license.
