Architecture guide for enemy and NPC AI that splits perception, decision, pathing, and steering into layers.
- CCM score
- 57 of 100
- skills.sh installs
- 18.2K
- GitHub stars
- 12.1K
- last updated
- Nov 28, 2026
Own this skill? Claim it
What it does
- Covers the perceive, decide, path, steer, and animate layers, with guidance on choosing an FSM, behavior tree, utility scoring, or GOAP
- Includes a decision-model table, a five-step workflow, and gotchas for FSM transitions, sight checks, steering, and A* pathfinding
- Enforces verification checks: A* matching Dijkstra on 50 random grids, transition-flicker logging, and a headless stuck test
- Designed for engine-neutral game AI work, with Godot
AStarGrid2DandNavigationAgentdetails; Unity and Unreal navigation go to sibling skills
Install
$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill game-ai -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Game AI architecture
Split every agent into layers that pass one small value to the next: perceive (facts on a Blackboard) → decide (an intent such as "go to X", "attack Y") → path (waypoints) → steer (a velocity) → animate. Most "dumb AI" bugs are a layer doing another layer's job: a state that raycasts, a pathfinder called every frame, steering that ignores the path.
When to use
- Choose a decision model, or fix one that has grown into flag soup.
- Build or debug an FSM, perception, steering, A* on a grid or graph, or a flow field.
- Diagnose agents that get stuck, oscillate, react unfairly fast or see through walls.
Not this skill: BT and utility runtimes go to ai-behavior-trees-utility-ai; Unreal
BehaviorTree, EQS and StateTree go to unreal-behavior-trees; Unity NavMeshSurface and
NavMeshAgent go to unity-navmesh. Movement and collision feel go to physics-tuning.
Pick the decision model
Details
- Repository
- github.com/gamedev-skills/awesome-gamedev-agent-skills
- Category
- Game Development
- First seen
- Nov 28, 2026
Questions
What does the game-ai skill do?
The game-ai skill designs engine-neutral enemy and NPC AI, choosing between FSM, behavior tree, utility or GOAP models. It also builds perception, steering and A* pathfinding for patrol, chase and path-finding to the player.
How do I install the game-ai skill?
Run npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill game-ai -y in your project. Once installed, the agent can design enemy AI with perception, steering and A* pathfinding.
Where does game-ai rank in the Game Development category?
On the Game Development category page, game-ai ranks in the top 10. It focuses on engine-neutral AI architecture, with behavior tree and utility runtimes handled by a separate skill.
Does game-ai work for Unity or Unreal AI?
No, the SKILL.md sends Unreal AI to unreal-behavior-trees and Unity NavMesh to unity-navmesh. The game-ai skill itself stays engine-neutral for FSM, perception and pathfinding design.
What should I use game-ai for when agents get stuck?
Use it to diagnose agents that get stuck on corners, oscillate, react too fast or see through walls. It covers stuck and fairness guards plus runnable checks for A* admissibility and state flicker.
More from gamedev-skills/awesome-gamedev-agent-skills
All 69- Camera Systems18.1K
- Save Systems18.1K
- Input Systems17.6K
- Procedural Gen17.4K
- Shader Programming17.2K
- Physics Tuning17.1K
- Godot Ui Control16.9K
- Dialogue Systems16.8K
- Router16.8K
- Godot Animation16.7K
- Godot Gdscript16.5K
- Godot Nodes Scenes16.4K
- Godot Shaders16.4K
- Rpg16.1K
- Roblox Luau16.1K
- Godot Physics16K
- Prototype Fast16K
- Godot Resources16K
- Godot 3d Essentials15.9K
- Godot Signals Groups15.9K
- Godot Export15.8K
- Godot Audio15.8K
- Survival Crafting15.7K
- Unity Csharp Scripting15.7K
Similar to Game Ai
More Game Developmentcamera-systemsgamedev-skills/awesome-gamedev-agent-skills18.1K installscamera systems
save-systemsgamedev-skills/awesome-gamedev-agent-skills18.1K installssave systems
input-systemsgamedev-skills/awesome-gamedev-agent-skills17.6K installsinput systems
dart-setup-ffi-assetsflutter/agent-plugins17.5K installsdart setup ffi assets
procedural-gengamedev-skills/awesome-gamedev-agent-skills17.4K installsprocedural gen
shader-programminggamedev-skills/awesome-gamedev-agent-skills17.2K installsshader programming