Ai Behavior Trees Utility Ai
Engine-neutral behavior tree and utility AI code for NPCs with a lifecycle contract and headless tests.
- CCM score
- 58 of 100
- skills.sh installs
- 15.2K
- GitHub stars
- 12.1K
- last updated
- Nov 29, 2026
Own this skill? Claim it
What it does
- Covers Blackboard-driven behavior trees and utility scoring, with guidance on combining the two in one NPC
- Includes reactive composites, decorators, response-curve considerations, and a headless tick test harness
- Enforces the reset and running-status lifecycle, so lost guards abort actions instead of resuming them
- Designed for developers fixing NPCs that chase after losing sight or flip-flop between choices in C#
Install
$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill ai-behavior-trees-utility-ai -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Behavior trees and Utility AI
A behavior tree (BT) gives an agent ordered, interruptible priorities; Utility AI scores every option and picks the most wanted one. The code is plain C# so it ports to any engine; the non-obvious part is the lifecycle contract (who resets what, and when), which is where almost every BT bug lives.
When to use
- Build or fix a reusable BT runtime: Blackboard, leaves, composites, decorators.
- Build a utility decider: curves, considerations, a selector with hysteresis.
- Combine them: a BT branch that hands a graded choice (which attack, which target) to utility.
Not this skill: choosing FSM vs BT, steering, A*, flow fields and perception belong to
game-ai. Unreal's BehaviorTree/Blackboard assets, BTTask/BTService, EQS and StateTree
belong to unreal-behavior-trees. The agent that physically moves (NavMeshAgent,
NavigationAgent3D) belongs to the engine navigation skill.
Workflow
Details
- Repository
- github.com/gamedev-skills/awesome-gamedev-agent-skills
- Categories
- Game Development, AI Agents & LLM Apps
- First seen
- Nov 29, 2026
Questions
What does the ai-behavior-trees-utility-ai skill do?
The ai-behavior-trees-utility-ai skill covers AI behavior trees and utility AI for game characters. Its listing description is brief, so check the repository for the full scope of its patterns.
How do I install the ai-behavior-trees-utility-ai skill?
Run npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill ai-behavior-trees-utility-ai -y in your project. This installs the skill so your agent can load it when building game AI.
Where does ai-behavior-trees-utility-ai rank in the Game Development category?
It ranks in the top 50 of the Game Development category on Claude Marketplaces. Other skills in that category include higgsfield-game-generation, game-feel, game-ui-ux, godot-gdscript-patterns and level-design.
More from gamedev-skills/awesome-gamedev-agent-skills
All 69- Phaser Core15.2K
- Unity Input System15.1K
- Unity Scriptableobjects15.1K
- Threejs Gltf Loading15.1K
- Unity Physics15K
- Threejs Scene Setup14.9K
- Threejs Materials Lighting14.9K
- Unity Build Pipeline14.9K
- Phaser Arcade Physics14.8K
- Unity Navmesh14.7K
- Unity Tilemap 2d14.6K
- Pixijs Rendering14.5K
- Unreal Blueprints14.2K
- Unreal Cpp Gameplay14.2K
- Unreal Enhanced Input14.1K
- Unreal Niagara14.1K
- Unreal Packaging14.1K
- Unreal Behavior Trees14.1K
- Roblox Ui14K
- Bevy Ecs14K
- Pygame Core13.9K
- Love2d Core13.8K
- Game Feel22.7K
- Game Ui Ux22.6K
Similar to Ai Behavior Trees Utility Ai
More Game Developmentphaser-coregamedev-skills/awesome-gamedev-agent-skills15.2K installsphaser core
unity-input-systemgamedev-skills/awesome-gamedev-agent-skills15.1K installsunity input system
unity-scriptableobjectsgamedev-skills/awesome-gamedev-agent-skills15.1K installsunity scriptableobjects
unity-physicsgamedev-skills/awesome-gamedev-agent-skills15K installsunity physics
unity-build-pipelinegamedev-skills/awesome-gamedev-agent-skills14.9K installsunity build pipeline
phaser-arcade-physicsgamedev-skills/awesome-gamedev-agent-skills14.8K installsphaser arcade physics