Skip to content
SkillModel-led2,327 tokens in use

unity-navmesh

Helps an agent add Unity 6.3 pathfinding with the AI Navigation package: NavMeshSurface baking, NavMeshAgent movement, NavMeshLink jumps and runtime rebakes.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/unity/unity-navmesh
npx skills add gamedev-skills/awesome-gamedev-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing unity-navmesh costs

99tokens idle
2,327tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure25/25
  • Examples15/15
  • Output15/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 138

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity92
  • Maintenance96
  • Community60
  • Maturity24
  • Momentum40

This skill helps an agent give NPCs pathfinding in Unity 6.3 LTS with AI Navigation 2.0. It checks that the package is resolved, takes inventory of existing surfaces and agents, bakes a NavMeshSurface, and adds agents whose type matches the baked one.

It includes patterns for chasing with a re-path timer, checking whether a target is reachable and rebuilding the mesh at runtime with a one-way link, plus checks that read the mesh and paths back. A gotchas list covers the removed Bake tab, agents that warp to the origin, partial paths and Rigidbody jitter.

What You Get

  • A six-step workflow from gating on the package to verifying baked data and paths
  • Three C# patterns: chase with a re-path timer, a reachability check and a runtime bake with a one-way drop link
  • Verification routes with the Unity command line tool, with scene file checks, or by a PlayMode test
  • A gotchas list for the missing Bake tab, partial paths, stale meshes, Rigidbody conflicts and OffMeshLink replacement

Common Use Cases

  • Making an enemy chase or patrol around obstacles
  • Finding why an agent will not move or warps to the origin
  • Letting an agent drop from a ledge with a NavMeshLink
  • Blocking a path at runtime with a carving obstacle and no rebake

What Makes It Unique

The skill opens with a version trap: the old Navigation window and Navigation Static flag are gone, so baking is component-based. It also shows how to prove a bake from files, by reading the surface’s data reference in the scene, when no Editor is connected.

Under The Hood

The agent loads the SKILL.md and, for deeper settings, names the AI Navigation manual pages. It reads package lock files, scenes and the NavMesh areas settings, searches scenes for navigation components and edits C# files. With the Unity command line tool and a ready Editor it can bake surfaces and evaluate C# to count mesh triangles and compute a path; that tool is a pre-release package. Without it the agent asks you to press Bake, then checks the scene file, or runs a PlayMode test. It asks before adding the package to the manifest. Nothing is fetched from the web during normal use.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers