Agent skill

unity-navmesh

Add AI navigation in Unity 6: bake a NavMesh with the AI Navigation package (NavMeshSurface), move agents with NavMeshAgent.SetDestination, and handle dynamic obstacles. Use when setting up pathfinding, making an enemy chase the player, baking navigation, or when the user mentions NavMesh, NavMeshAgent, NavMeshSurface, NavMeshObstacle, or Unity pathfinding.

gamedev-skillsgithub.com/gamedev-skillsGitHub ↗
claude-codeclinecodexcursorcopilotwindsurfApache-2.0
Install
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill unity-navmesh --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 6 KB
Bundled scripts: none
Requires: Unity 6 (6000.0 LTS); AI Navigation package 2.x (com.unity.ai.navigation); UnityEngine.AI runtime.
Path: skills/unity/unity-navmesh/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 406
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Unity NavMesh (AI Navigation) Give NPCs pathfinding in Unity 6: bake walkable surfaces and move agents around obstacles. Targets **Unity 6 (6000.0 LTS)** with the **AI Navigation package 2.x**. > **Version trap (Unity 2022+/6):** the old built-in **Navigation window** (Object/Bake tabs) > is gone. Baking is now **component-based** via the **AI Navigation package** > (`com.unity.ai.navigation`): add a **NavMeshSurface** to your level geometry and click > **Bake**. The *runtime* `NavMeshAgent`/`NavMesh` API stays in built-in `UnityEngine.AI`. ## When to use - Use when an agent needs to walk/chase/patrol to a target, when baking a navigable surface, adding dynamic blockers (`NavMeshObstacle`), or checking whether a destination is reachable. - Use when the project has the AI Navigation package, a `NavMeshSurface` component, or scripts using `UnityEngine.AI.NavMeshAgent`. **When *not* to use:** the *decision* logic of when/where to move (FSMs, behaviour trees, steering) → `game-ai` (this skill is the Unity movement/pathing mechanism). Force-driven or kinematic movement that isn't pathfinding → `unity-physics`. ## Core workflow 1. **Install the AI Navigation package** (Package Manager

What's inside
Steps it walks through
  1. When to use
  2. Core workflow
  3. Patterns
  4. 1. Chase/seek with a NavMeshAgent
  5. 2. Check reachability before committing
  6. 3. Bake at runtime (for procedurally built or streamed levels)
  7. 4. Dynamic obstacle that carves the mesh
  8. Pitfalls
  9. References
  10. Related skills
More from awesome-gamedev-agent-skills
All skills →
About this skill
What does the unity-navmesh skill do?

Add AI navigation in Unity 6: bake a NavMesh with the AI Navigation package (NavMeshSurface), move agents with NavMeshAgent.SetDestination, and handle dynamic obstacles. Use when setting up pathfinding, making an enemy chase the player, baking navigation, or when the user mentions NavMesh, NavMeshAgent, NavMeshSurface, NavMeshObstacle, or Unity pathfinding.

How do I install it?

Run `npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill unity-navmesh --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From gamedev-skills/awesome-gamedev-agent-skills, a repository with 406 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going