Skills
Skill 12 of 20
Navigation implementation patterns for turn-by-turn directions, route optimization, real-time traffic, multi-stop routing, and voice guidance across web, iOS, and Android platforms
3 minutes · 642 words · 12 sections
Install
npx skills add mapbox/mapbox-agent-skills --skill mapbox-navigation-patternsnpx skills add mapbox/mapbox-agent-skills/plugin marketplace add mapbox/mapbox-agent-skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Expert guidance for implementing navigation and routing features using Mapbox Directions API and Navigation SDKs. Covers turn-by-turn navigation, route optimization, real-time traffic integration, multi-stop routing, and navigation UI components.
User says things like:
Best for: Web applications, simple routing, backend route calculation
Features:
Pricing: Pay per request
Best for: Native iOS apps with turn-by-turn navigation
Defaults: SwiftUI app shell + wrap drop-in NavigationViewController via UIViewControllerRepresentable (official getting-started path). Use a fully custom Core UI (CoreSDKExample (opens in a new tab)) only when the user explicitly wants to build their own nav chrome.
Before coding: SPM (MapboxNavigationCore + MapboxNavigationUIKit), MBXAccessToken, location permissions, background audio/location — see install guide (opens in a new tab) and the iOS reference checklist. Stable Core/UIKit releases do not need a .netrc download token.
Features:
NavigationViewController) — defaultPricing: Monthly Active Users (MAU) based
Best for: Native Android apps with turn-by-turn navigation
Features:
Pricing: Monthly Active Users (MAU) based
NavigationViewController, Core opt-in, example catalogNavigationMapView customizationUser says: “I need directions”
User says: “I need turn-by-turn navigation”
NavigationViewController by default; Core custom UI only if requested)User says: “I need to optimize delivery routes” → Use Optimization API (multi-stop route optimization)
User says: “I need real-time traffic”
→ Use driving-traffic profile with Directions API or Navigation SDK
User says: “I need voice guidance” → Must use Navigation SDK (iOS/Android only)
User says: “Directions API or Navigation SDK?” → Native turn-by-turn / voice → Navigation SDK (MAU pricing). Web / route display only → Directions API (pay-per-request).
main, last pushed 16 September 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Mapbox Plugin Marketplace, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./mapbox/mapbox-agent-skills.md, and each skill at its own .md URL.8 files · 115 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 12.
Documentation the agent loads on demand, rather than up front.
Everything else published alongside the skill.