Unreal Engine AI Trees
Builds UE5 enemy AI with Behavior Trees, EQS and StateTree, with the fixes for AI that just stands there.
Claude's review
8/10 Specific UE5 behavior-tree/EQS/StateTree guidance with verify commands and real gotchas.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Unreal Engine 5 (UE 5.8) NPC AI with Behavior Trees, Blackboards, EQS and StateTree: decorators with Observer Aborts, C++ BTTask nodes and running trees from an AIController. Use for UE enemy AI, BT_, BB_ or EQS_ assets, "my AI just stands there" or "MoveTo fails". Not for engine-neutral BT or utility code (`ai-behavior-trees-utility-ai`) or choosing FSM vs BT (`game-ai`).
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: unreal-behavior-trees
description: >
Unreal Engine 5 (UE 5.8) NPC AI with Behavior Trees, Blackboards, EQS and StateTree: decorators
with Observer Aborts, C++ BTTask nodes and running trees from an AIController. Use for UE enemy
AI, BT_, BB_ or EQS_ assets, "my AI just stands there" or "MoveTo fails". Not for engine-neutral
BT or utility code (`ai-behavior-trees-utility-ai`) or choosing FSM vs BT (`game-ai`).
---
# Unreal Behavior Trees, EQS and StateTree
Author NPC decision-making in UE5: a Behavior Tree reads a Blackboard, decorators gate
branches, services keep keys fresh, EQS picks locations or targets, and an AIController runs
it all. StateTree is the alternative for mode-based AI. Targets **UE 5.8**.
## When to use
- Creating or fixing `BT_`/`BB_` assets, decorators, services, custom `BTTask`/`BTService`/
`BTDecorator` C++ nodes, or the AIController that runs the tree.
- Writing or debugging EQS queries (`EQS_` assets, Run EQS Query, the EQS Testing Pawn).
- Building AI with StateTree (`ST_` assets, `UStateTreeAIComponent`) or mixing it with a BT.
**When *not* to use:** writing your own behavior-tree or utility-AI runtime, outside Unreal's
assets → `ai-behavior-trees-utility-ai`. Choosing an AI architecture or engine-neutral
steering and pathfinding → `game-ai`. The pawn and controller classes themselves →
`unreal-cpp-gameplay`.
## Behavior Tree or StateTree?
Both ship in UE 5.8 and Behavior Trees are not deprecated. Default: **keep whatever the
project already uses**. For a new AI, pick StateTree when the behavior is a set of modes with
explicit transitions (patrol, alert, combat), and a Behavior Tree when it is a priority list
that must re-evaluate when Blackboard values change. They also combine: the BT task
`Run State Tree` (`UBTTask_RunStateTree`) runs a StateTree inside a branch, and StateTree has
its own Run Env Query task for EQS. StateTree on an AI needs the **StateTree** and
**GameplayStateTree** plugins and a `UStateTreeAIComponent` on the AIController, with an asset
that uses the StateTree AI Component schema. Ask before adding a second system beside the
first.
## Workflow
...From gamedev-skills's repository, Apache-2.0 licence.
Related skills
-
Checked
Game Audio Mixing
Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.
8/101 credit -
Checked
Game camera tuning
Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.
8/101 credit -
Checked
Game Enemy AI
Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.
8/101 credit -
Checked
Game Loop and Timing
Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.
7/101 credit -
Checked
Godot Game Testing
Writes and runs Godot tests with gdUnit4 or GUT, including scene tests and headless runs that report real results.
7/101 credit -
Checked
Game Security Review
Reviews Unity, Godot and Unreal code for cheats that hurt other players, purchase exploits and unsafe save files.
7/101 credit