unity-navmesh

Bake Unity NavMesh surfaces and compute AI navigation paths.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/muddyrain/valley-mas --skill unity-navmesh-muddyrain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-navmesh
Source: https://github.com/muddyrain/valley-mas/tree/main/.codex/skills/unity-skills/skills/navmesh
Command: npx skills add https://github.com/muddyrain/valley-mas --skill unity-navmesh-muddyrain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This set of Unity NavMesh tools enables developers to bake navigation surfaces and compute AI paths for NPCs, speeding up AI setup and iteration.

Core Features & Use Cases

  • Bake NavMesh: Generate the navigation mesh for the current Unity scene.
  • Calculate Path: Compute paths between two points using the NavMesh.
  • Agent & Obstacle Management: Add or configure NavMeshAgent and NavMeshObstacle components to game objects.
  • Sampling & Costs: Query nearest NavMesh position and adjust area traversal costs for dynamic scenes.
  • Use Case: Rapidly set up AI agents to navigate around level geometry and moving obstacles with predictable results.

Quick Start

Bake the NavMesh for the current scene, then calculate a path between two points.

Frequently Asked Questions about unity-navmesh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bake a Unity NavMesh and calculate AI navigation paths for NPCs?

You can bake a Unity NavMesh for your scene and use the navmesh_calculate_path operation to compute AI navigation paths between two points for NPCs.

What is the best way to set up dynamic obstacle avoidance for Unity game AI?

For dynamic obstacle avoidance in Unity game AI, use navmesh_add_obstacle to attach collision shapes to moving objects and navmesh_set_agent to configure agent properties, ensuring NPCs navigate around level geometry predictably.

Can I manage multiple Unity scenes with NavMesh agents and obstacles?

Yes, this tool supports baking NavMesh surfaces and handling AI agent navigation across single or multiple Unity scenes, allowing you to add, set, and configure agents and obstacles for real-time game AI workloads.

How do I query the nearest position on a Unity NavMesh and adjust traversal costs?

You can query the nearest NavMesh position using sampling utilities and adjust area traversal costs to handle dynamic scenes, enabling predictable AI agent routing across different terrain types in Unity.

Does Unity NavMesh pathfinding support deterministic operations for level design?

Yes, Unity NavMesh pathfinding supports deterministic operations such as navmesh_bake, navmesh_calculate_path, navmesh_add_agent, and navmesh_add_obstacle, providing defined parameters and returns for reliable level design and AI workloads.