gamedev-skills/awesome-gamedev-agent-skills/ai-behavior-trees-utility-ai
Engine-neutral behavior tree and utility AI code for NPCs in any language: Blackboard, reactive composites, decorators and response-curve scoring. Use when an enemy keeps chasing after losing sight, restarts its action every frame or flip-flops between choices. Not for FSMs, steering or pathfinding (`game-ai`) or Unreal BT, EQS and StateTree (`unreal-behavior-trees`).
Agent skill · version 2.0.0 · from gamedev-skills/awesome-gamedev-agent-skills
Install
npx yarkr-cli add skill:gamedev-skills/awesome-gamedev-agent-skills/ai-behavior-trees-utility-aiWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:gamedev-skills/awesome-gamedev-agent-skills/ai-behavior-trees-utility-ai
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:gamedev-skills/awesome-gamedev-agent-skills/ai-behavior-trees-utility-aiOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:gamedev-skills/awesome-gamedev-agent-skills/ai-behavior-trees-utility-aiWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.