unity-behavior
Agent skill fromBesty0728/Unity-Skills
Drive Unity Behavior behavior graphs and blackboard variables
How to install unity-behavior
install unity-behavior
# 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/behavior/
# into
~/.claude/skills/behavior/ (all projects)
.claude/skills/behavior/ (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- Wiring NPC/AI decision logic5- Working with behavior trees/graphs6- Reading/writing blackboard variables7- 搭建 NPC/AI 决策逻辑、使用行为树/行为图、读写黑板变量89# Behavior Skills1011Unity Behavior (`com.unity.behavior`, validated against 1.0.16) graph asset discovery, agent wiring, and blackboard variable access.1213The package is **optional** and is not a declared dependency of UnitySkills. Every skill in this module reaches it through reflection; when it is absent each skill returns the same structured `PACKAGE_NOT_INSTALLED` response pointing at `package_install`.1415## Operating Mode1617- Query skills (`behavior_status`, `behavior_graph_list`, `behavior_graph_info`, `behavior_agent_get`, `behavior_agent_list`, `behavior_blackboard_list`) are `SkillMode.SemiAuto` — they run in all three modes without a grant.18- Mutators (`behavior_graph_create`, `behavior_agent_add`, `behavior_agent_set_graph`, `behavior_blackboard_set`) are `SkillMode.FullAuto` — under **Approval** they need a user grant; under **Auto** / **Bypass** they execute directly.19- No skill in this module carries `SkillOperation.Delete`, so none is auto-forbidden in Approval / Auto mode.20…
Excerpt shown under the repository's MIT license.
