🧠
AI EngineeringPython

Behavior Trees & Utility AI

by gamedev-skills

Behavior Trees & Utility AI is an AI Engineering skill for Claude Code, published by gamedev-skills in awesome-gamedev-agent-skills.

623 stars48 forkson gamedev-skills/awesome-gamedev-agent-skillsAdded 2026/08/25+15% in starsRepository updated 2026/08/24
agent-skillsai-agentsantigravityawesome-listclaude-codeclinecodexcursorgame-devgame-developmentgamedevgemini-cligithub-copilotgodotkiroskillsunityunrealwindsurf
Install in seconds
Install Behavior Trees & Utility AI
Copy Behavior Trees & Utility AI into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/gamedev-skills/awesome-gamedev-agent-skills/tree/main/skills/disciplines/ai-behavior-trees-utility-ai ~/.claude/skills/ai-behavior-trees-utility-ai

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/gamedev-skills/awesome-gamedev-agent-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/disciplines/ai-behavior-trees-utility-ai/SKILL.md in gamedev-skills/awesome-gamedev-agent-skills
Installs to
~/.claude/skills/ai-behavior-trees-utility-ai
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering2451 skills

What Behavior Trees & Utility AI does

Behavior Trees & Utility AI builds a reusable behavior-tree runtime and a Utility AI decision system for NPCs. Use it when implementing BTs, blackboards, decorators, response curves, or hybrid BT-plus-Utility agents.

Behavior Trees & Utility AI is cataloged under AI Engineering on DirSkills. Behavior Trees & Utility AI comes from a repository tagged agent-skills, ai-agents, antigravity, awesome-list and claude-code.

Documentation

README

Behavior Trees & Utility AI

Two complementary ways to structure NPC decision-making, plus how to combine them. A behavior tree (BT) expresses structured, prioritized, reactive logic as a tree that is "ticked" each step. Utility AI answers "how much do I want each option right now?" by scoring actions with normalized curves and picking the best. Ship believable agents by using a BT for structure and Utility AI where graded trade-offs matter.

This skill is the implementation companion to game-ai (which helps you choose between FSM / BT / steering / pathfinding). Read game-ai to pick a model; read this to build the runtime.

When to use

This is the opening of the README. Read the full README on GitHub.

Commands Behavior Trees & Utility AI provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /leaf

Frequently asked about Behavior Trees & Utility AI

  • What else does gamedev-skills publish alongside Behavior Trees & Utility AI?

    Behavior Trees & Utility AI is one of 25 skills that DirSkills catalogs from gamedev-skills/awesome-gamedev-agent-skills, the repository it ships in. Its siblings there include Audio Design, Camera Systems and Card Game. Each one is a separate skill with its own page in this directory, installs the same way Behavior Trees & Utility AI does, and is maintained by gamedev-skills in that same repository. The rest of the collection is listed on the gamedev-skills/awesome-gamedev-agent-skills page.

  • How does Behavior Trees & Utility AI compare to other AI Engineering skills?

    Behavior Trees & Utility AI ranks #1881 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Behavior Trees & Utility AI against them. Open each page to compare what they document and how they install.

More from gamedev-skills/awesome-gamedev-agent-skills

Behavior Trees & Utility AI is one of 25 skills cataloged on DirSkills from gamedev-skills/awesome-gamedev-agent-skills.

See all 25 skills
🎵
6d ago

Audio Design

Audio Design covers bus-based mixing, decibel gain, sidechain ducking, adaptive music layering or re-sequencing, SFX variation, and beat-synced events. Use it when a game needs portable audio practices rather than engine-specific audio APIs.
Automation
62348
🎥
6d ago

Camera Systems

Camera Systems covers smooth follow, deadzones, look-ahead, bounds clamping, third-person orbit collision, first-person look, and multi-target framing for game cameras. Use it when a game camera jitters, snaps, shows past level edges, or needs better follow behavior.
Frontend
62348
🃏
6d ago

Card Game

Card Game defines deck, hand, discard, and play zones plus draw, shuffle, turn structure, and effect resolution for card-based games. Use it when building a deckbuilder, TCG/CCG, or roguelike deckbuilder.
Frontend
62348
🎮
6d ago

Create Game Assets

Create Game Assets turns visual intent into cohesive, engine-ready game art through brief creation, sourcing, generation, normalization, and validation. Use it for sprites, tilesets, UI art, textures, concept art, or 3D asset briefs.
Frontend
62348
💬
6d ago

Dialogue Systems

Dialogue Systems builds branching conversations as a graph with choices, conditions, variables, and localization IDs. Use it to choose between Ink, Yarn Spinner, or a custom runner for NPC dialogue and narrative state.
AI Engineering
62348
🔫
6d ago

FPS Shooter

FPS Shooter builds the core loop and systems for a first-person shooter, including movement, shooting, weapons, health, feedback, and enemy AI. Use it when tuning aim feel, time-to-kill, recoil, spread, or hitscan versus projectile weapons.
Frontend
62348