
Description
game-ai is one of the discipline skills in the awesome-gamedev-agent-skills collection, which provides 74 game development skills for AI coding agents across engines such as Godot, Unity, Unreal, Phaser, three.js, Bevy and Roblox. This skill guides an agent in designing non-player character and enemy decision-making. It covers finite state machines with explicit transitions, behaviour trees whose composite nodes return a status on each tick, steering behaviours such as seek and arrive that are smooth and independent of frame rate, and A* pathfinding, including the rule that the heuristic must not overestimate the cost or the paths can be wrong. The algorithms are engine neutral and can be paired with the engine a project uses. The skill is written in the portable SKILL.md format, so many agents can load it, and the collection's router loads the right engine and task skills for a request.…
Highlights
- Finite state machines and behaviour trees
- Seek and arrive steering
- A* pathfinding with a valid heuristic
- Engine-neutral algorithms
- Part of a 74-skill game dev collection
Ratings & Reviews
No ratings yet
Be the first to rate game-ai.
People also visit

godot-best-practices
Guide AI agents through Godot 4.x GDScript coding best practices including scene
game-ai FAQ
What does this skill cover?
NPC and enemy decision-making with finite state machines, behaviour trees, steering and A* pathfinding.
Is it tied to one engine?
No. The algorithms are engine neutral, and the wider collection covers many engines.
What is the A* warning?
The heuristic must not overestimate the remaining cost, or the paths found may be wrong.
How do I use it?
Install the collection through the skills tool, and the router loads this skill when a request involves enemy or NPC behaviour.
What are the best game-ai alternatives?
Popular alternatives to game-ai include unreal-behavior-trees, ai-behavior-trees-utility-ai and msw-behaviourtree. See all game-ai alternatives









