unity-behavior
Installation
SKILL.md
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.
Triggers
- Wiring NPC/AI decision logic
- Working with behavior trees/graphs
- Reading/writing blackboard variables
- 搭建 NPC/AI 决策逻辑、使用行为树/行为图、读写黑板变量
Behavior Skills
Unity Behavior (com.unity.behavior, validated against 1.0.16) graph asset discovery, agent wiring, and blackboard variable access.
The 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.
Operating Mode
- Query skills (
behavior_status,behavior_graph_list,behavior_graph_info,behavior_agent_get,behavior_agent_list,behavior_blackboard_list) areSkillMode.SemiAuto— they run in all three modes without a grant. - Mutators (
behavior_graph_create,behavior_agent_add,behavior_agent_set_graph,behavior_blackboard_set) areSkillMode.FullAuto— under Approval they need a user grant; under Auto / Bypass they execute directly. - No skill in this module carries
SkillOperation.Delete, so none is auto-forbidden in Approval / Auto mode.