Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

initialize-ai-navigation

БесплатноБез исполняемых скриптовНе проверен

Sets up and configures Unity AI Navigation, including NavMesh surfaces, agents, obstacles, and links. Use when the user asks about navigation meshes…

Unity-Technologiesот Unity-Technologies★ 1 342 звезды на GitHub

Об этом скилле

Determine what the user needs and guide them through navigation setup. See navigation-system.md for expanded component details, API notes, code recipes, and troubleshooting.

Important

  • Use the unity cli (unity command --format json) and the unity-cli and unity-pipeline skills for each step.
  • Before making changes, establish a baseline of the current behavior so you can tell whether a later result is actually caused by your change.
  • Create a restore point you can roll back to if your changes fail.
  • Do only what's asked. Don't change unrelated assets or files.
  • Never leave verification code in the user's script. Never build logging or detection they didn't ask for. See Final step.
  • Avoid long explanations.

Full topic map

Before you go forward with a workflow or diagnosis:

  1. Open and read the documentation page(s) that cover the specific subject related to what you intend to do or fix and check if you've missed anything.
  2. Name the file(s) you read in your response.

This is because your training knowledge about Unity might be out of date, incorrect, or for the wrong Unity version.

The docs pages are local markdown conversions of the Unity Manual, stored at <project-folder>/Library/PackageCache/com.unity.ai.navigation@*/. Read only the .md files in that specific PackageCache subfolder (they're in its Documentation~/ folder). You must not look at non-.md files, or look outside at other Library or PackageCache folders, otherwise it takes too much time. If that folder has no .md files, read the same pages online at https://docs.unity3d.com/Packages/com.unity.ai.navigation@<VERSION>/manual/<page>.html, because some package versions don't ship their docs.

Prefer WebFetch over WebSearch — faster and lands on the exact reference. Only fetch what you need. Replace <VERSION> with the following before fetching:

  • Package on docs.unity3d.com: The package version, eg @1.1 or @2.0. Check the package version if unsure.
  • docs.unity.com: The product version, eg 7000.0

Read the Unity version from ProjectSettings/ProjectVersion.txt. For the package docs, use the major.minor version of com.unity.ai.navigation from Packages/packages-lock.json.

  • Install AI Navigation — InstallAINav.md: how to add the package to a project.
  • Inner workings of the navigation system — NavInnerWorkings.md: pathfinding, steering, avoidance and voxel bake quality.
  • About agents — AboutAgents.md; About obstacles — AboutObstacles.md: agent cylinders, and when an obstacle should carve or only obstruct.
  • Navigation areas and costs — AreasAndCosts.md: built-in and custom area types, path cost, agent area masks.
  • Create a NavMesh / agent / obstacle / link — CreateNavMesh.md, CreateNavMeshAgent.md, CreateNavMeshObstacle.md, CreateNavMeshLink.md: setup procedure for each component.
  • Use NavMesh agents with other components — MixingComponents.md: combining agents with Rigidbody, Animator and NavMesh Obstacle.
  • Navigation window — NavigationWindow.md: agent type and area type settings.
  • Component references — NavMeshSurface.md, NavMeshAgent.md, NavMeshObstacle.md, NavMeshLink.md, NavMeshModifier.md, NavMeshModifierVolume.md: every Inspector property and its default.
  • OffMesh Link component (deprecated) — OffMeshLink.md: the legacy link component to migrate away from.
  • Move to a destination / clicked position / patrol — NavMoveToDestination.md, NavMoveToClickPoint.md, NavAgentPatrol.md: movement scripts to save into the project.
  • Couple animation and navigation — CouplingAnimationAndNavigation.md: Animator setup, blend tree and locomotion scripts.

API reference

The package API is Unity.AI.Navigation (NavMeshSurface, NavMeshLink, NavMeshModifier, NavMeshModifierVolume), part of the com.unity.ai.navigation package. It is versioned by package version, not Unity version (e.g. @1.1, @2.0), so check the project's installed package version before relying on a specific class or method.

If the package is installed, grep the .cs files in <project-folder>/Library/PackageCache/com.unity.ai.navigation@*/ for the class or member and read its /// XML doc comments, because they hold the API reference text for the exact installed version. This is the only exception to reading .md files only in that folder. Use the following steps only when the package isn't installed yet, for example to decide whether the API fits the user's scenario:

  1. Find the major.minor of the version you'd install, as described in Package Installation Check.
  2. Fetch and cache https://docs.unity3d.com/Packages/com.unity.ai.navigation@<version>/xrefmap.yml (replace <version> with that major.minor version, e.g. 2.0). This file maps every public API member's fully qualified name to its docs page href (e.g.
Полный SKILL.md на GitHub

Установить initialize-ai-navigation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

SECURITY.mdreferences/navigation-system.md

FAQ

Что делает скилл initialize-ai-navigation?

Sets up and configures Unity AI Navigation, including NavMesh surfaces, agents, obstacles, and links. Use when the user asks about navigation meshes, pathfinding, patrol routes, or obstacle avoidance.

Как установить скилл initialize-ai-navigation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл initialize-ai-navigation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить initialize-ai-navigation с