Skip to main content
skill CX Codex

game-ai-behavior — Claude Code skill: game AI and setup

game-ai-behavior is a Claude Code skill for designing game AI, from NPC decision systems to pathfinding and perception. It activates for work on enemies, companions, or other in-game agents.

Apache-2.0 124 installs ★ 221 updated 2026-01-22

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add omer-metin/skills-for-antigravity --skill game-ai-behavior -a claude-code
Open on GitHub

What game-ai-behavior does

The skill supports the design and diagnosis of NPC behavior, including decision-making, navigation, and environmental perception. Its topics include behavior trees, finite state machines, GOAP, utility AI, steering, and tactical systems.

For new designs, it consults references/patterns.md; for troubleshooting, it uses references/sharp_edges.md. Reviews draw on references/validations.md, which supplies constraints for checking proposed solutions.

What it helps with

  • design an NPC behavior tree
  • choose between an FSM, GOAP, and utility AI
  • plan pathfinding and obstacle avoidance
  • diagnose unwanted NPC behavior

Example prompts for the agent

  • Design a behavior tree for an enemy in my game.
  • Find why an NPC gets stuck while navigating.
  • Review how my companion detects targets and makes decisions.

How to install game-ai-behavior

1Skills CLI (Vercel)

npx skills add omer-metin/skills-for-antigravity --skill game-ai-behavior -a claude-code

2Manually: put the files in place

~/.claude/skills/game-ai-behavior/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/game-ai-behavior/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about game-ai-behavior

How do I install game-ai-behavior in Claude Code?

Run npx skills add omer-metin/skills-for-antigravity --skill game-ai-behavior -a claude-code. The skill file is at ~/.claude/skills/game-ai-behavior/SKILL.md.

What does game-ai-behavior do?

It helps design and troubleshoot game AI, including NPC decisions, navigation, perception, and behavior systems.

Which reference files does game-ai-behavior use?

Design work uses references/patterns.md, troubleshooting uses references/sharp_edges.md, and reviews use references/validations.md.

Source text

SKILL.md · Apache-2.0
---
name: game-ai-behavior
description: Expert in designing and implementing intelligent game AI systems including behavior trees, finite state machines, GOAP, utility AI, pathfinding, steering behaviors, and perception systems. Specializes in creating believable, performant NPC behaviors that enhance player experience. Use when "game AI, NPC behavior, behavior tree, state machine for game, enemy AI, pathfinding, A* algorithm, navmesh, steering behavior, GOAP, utility AI, AI perception, combat AI, companion AI, boss AI, crowd simulation, flocking, game-ai, behavior-trees, pathfinding, npc, state-machines, goap, utility-ai, steering, perception" mentioned. 
---

# Game Ai Behavior

## Identity


**Role**: Game AI Architect

**Personality**: You are a veteran game AI programmer who has shipped multiple AAA titles.
You think deeply about player experience - AI should be fun to play against,
not just technically impressive. You balance sophistication with performance,
always considering target hardware. You have battle scars from debugging
emergent AI behaviors at 3 AM before launch. You speak with authority but
acknowledge that game AI is as much art as science.


**Expertise**: 
- Behavior Trees (BT) - design, optimization, debugging
- Finite State Machines (FSM) - hierarchical, concurrent
- Goal-Oriented Action Planning (GOAP)
- Utility AI / Infinite Axis Utility System
- Pathfinding - A*, Jump Point Search, Navmesh, Flow Fields
- Steering Behaviors - Reynolds flocking, obstacle avoidance
- Perception Systems - sight, sound, memory, threat assessment
- Tactical AI - cover selection, flanking, squad coordination
- Decision Making - fuzzy logic, influence maps, blackboards
- Animation Integration - motion matching, root motion
- Multiplayer AI - determinism, authority, prediction
- Performance Optimization - LOD, budgeting, async processing

## Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

* **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here.
* **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
* **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively.

**Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

© omer-metin · Apache-2.0 · omer-metin/skills-for-antigravity

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →
ai-behavior-trees-utility-ai gamedev-skills ai-behavior-trees-utility-ai — a Claude Code skill for building behavior trees and Utility AI for NPCs. It targets bugs such as chasing after losing sight or actions restarting on every tick. CX Codex +1 11,000installs unreal-behavior-trees gamedev-skills The unreal-behavior-trees skill for Claude Code configures Unreal Engine 5 NPC AI with Behavior Trees, Blackboards, and EQS, helping build enemy logic and debug movement tasks. CX Codex +1 10,500installs Behavior Trees behaviortrees This MCP server for Claude Code checks behavior trees, converts formats, and creates links to a visual editor. The agent can call it while working with behavior3 JSON or BehaviorTree.CPP XML. CX Codex +1 ★ 6repo stars principle-test-behavior-not-implementation backnotprop principle-test-behavior-not-implementation is a Claude Code skill that guides testing public behavior over internals. It activates whenever tests are authored, modified, or reviewed. CX Codex +1 10,200installs cmux-shared-behavior manaflow-ai cmux-shared-behavior is a Claude Code skill that sets one shared action path across cmux entrypoints and a single mutation path. It addresses bugs isolated to one surface. CX Codex +1 4,900installs analyzing-malware-behavior-with-cuckoo-sandbox mahipal analyzing-malware-behavior-with-cuckoo-sandbox — a skill that detonates samples in Cuckoo Sandbox and walks through what they do at runtime: processes, files, registry, network. CX Codex +1 376installs

From the same set58

The whole set →
trading-psychology The trading-psychology skill helps examine emotional reactions, cognitive biases, and trading discipline. Use it to work through tilt or review patterns in a trade journal. CX Codex +1 136installs board-game-design board-game-design guides tabletop game creation from core mechanics and playtesting to rulebook clarity and manufacturing prep. CX Codex +1 134installs ai-workflow-automation ai-workflow-automation is a Claude Code skill for designing content pipelines that combine AI generation, human approval, and distribution across channels. It also plans quality checks and cost monitoring. CX Codex +1 133installs monte-carlo Generates Monte Carlo simulations, quantifies uncertainty, and models risks across scientific and financial scenarios. CX Codex +1 126installs icon-design icon-design — a skill for designing icons that users grasp instantly. Knows optical alignment, set coherence, and symbol scaling across sizes. CX Codex +1 124installs color-theory color-theory guides interface palette generation, design tokens, and WCAG contrast checks with support for OKLCH, dark mode, and color blindness testing. CX Codex +1 123installs control-systems control-systems is a Claude Code skill with control-loop recipes for PID tuning, state-space design, MPC, trajectory tracking, and stability checks for robot and drive controllers. CX Codex +1 114installs productivity-ai-tools The productivity-ai-tools skill covers admin work such as meeting notes, email, and calendar planning. It fits tasks that must follow reference-based guidance. CX Codex +1 109installs

Project sponsors

Companies that keep this analytics open