Skip to main content
ANY
SkillFree

Behavior Trees & Utility AI

/ai-behavior-trees-utility-ai

Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.

GitHub stars
2,085
(repository stars as of 2026-10-21)
License
Apache-2.0
Last commit
2026/10/09
By
gamedev-skills

Part of

Awesome Gamedev Agent Skills

74 portable SKILL.md skills for Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE and Roblox, with a router.

Listed from the author's README. GameSkill has not run this end to end yet. Agent support and install steps are as documented by the author.

Install

Any agent (skills CLI)
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill ai-behavior-trees-utility-ai

Installs only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.

Commands are copied from the project's README. Check the repository before running anything on your machine.

Install for a specific agent
Agents-aFolder
Claude Codeclaude-code.claude/skills/
Codexcodex.agents/skills/
Cursorcursor.agents/skills/
Gemini CLIgemini-cli.agents/skills/
GitHub Copilotgithub-copilot.agents/skills/
OpenCodeopencode.agents/skills/
Windsurfwindsurf.windsurf/skills/

Add -a <flag> to the command. These are project folders; add -g to install for your user account instead.

What you get

  • A pitfalls section with the mistakes to avoid
  • Bundled 4 reference docs the agent reads when needed

Good fit

  • Implementing a reusable behavior-tree or utility-based decision system
  • Tuning enemy/NPC decisions beyond a simple FSM

Not for

Try this prompt

Prompt
Build a reusable behavior tree with a blackboard for my enemy, then add utility scoring to choose its attacks.

About this skill

Build a production behavior-tree runtime (Blackboard, action/condition leaves, sequence/selector/parallel composites, decorators) and a Utility AI system (response curves — linear, exponential, sigmoid, quadratic — considerations, and action evaluators), plus hybrid BT-drives-Utility agents. Use when implementing a reusable behavior-tree or utility-based decision system, or tuning enemy/NPC decisions beyond a simple FSM, or when the user mentions behavior tree, blackboard, decorator, selector, sequence, tick status, utility AI, response/scoring curve, or consideration. For choosing between FSM/BT/steering or for pathfinding, use game-ai; for Unreal's BehaviorTree/Blackboard assets, use unreal-behavior-trees.

From the ai-behavior-trees-utility-ai SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • Architecture at a glance
  • Utility scoring in one snippet

FAQ

Works well with

Skills the author points to as related or as the better fit for neighbouring tasks.

More from Awesome Gamedev Agent Skills

See all 40

Similar skills