Skills for Real Engineers. Straight from my .agents directory.
ai-behavior-trees-utility-ai
Agent skill fromgamedev-skills/awesome-gamedev-agent-skills
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.
How to install ai-behavior-trees-utility-ai
npx skills add gamedev-skills/awesome-gamedev-agent-skills# or add only this skill to Claude Code: copy the folder
skills/disciplines/ai-behavior-trees-utility-ai/
# into
~/.claude/skills/ai-behavior-trees-utility-ai/ (all projects)
.claude/skills/ai-behavior-trees-utility-ai/ (one project)
1# Behavior Trees & Utility AI23Two complementary ways to structure NPC decision-making, plus how to combine them. A4**behavior tree (BT)** expresses *structured, prioritized, reactive* logic as a tree that is5"ticked" each step. **Utility AI** answers *"how much do I want each option right now?"* by6scoring actions with normalized curves and picking the best. Ship believable agents by using a7BT for structure and Utility AI where graded trade-offs matter.89This skill is the **implementation** companion to `game-ai` (which helps you *choose* between10FSM / BT / steering / pathfinding). Read `game-ai` to pick a model; read this to build the11runtime.1213## When to use1415- Use to build a **reusable BT runtime**: a `Blackboard`, `Node` base, action/condition leaves,16 `Sequence`/`Selector`/`Parallel` composites, and decorators (Inverter, Cooldown, Repeat).17- Use to build a **Utility AI** decider: response curves, considerations, and an evaluator that18 scores and selects actions (max, softmax, or weighted-random for variety).19- Use to build **hybrid AI** — a BT whose leaf delegates the "which attack / which target"20 choice to a utility evaluator.2122**When *not* to use:** to *choose* between FSM, BT, steering, or pathfinding, and for A*/navmesh23routing, use `game-ai`. For Unreal's asset-based `BehaviorTree`/`Blackboard`, `BTTask`/`BTService`24and `AIController`, use `unreal-behavior-trees`. For the navmesh agent that *moves* the NPC, use25`unity-navmesh` or the engine's navigation node.26…
Excerpt shown under the repository's Apache-2.0 license.
More skills in awesome-gamedev-agent-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
