migrating-navsdk-7x-to-8x-android

migrating-navsdk-7x-to-8x-android is a skill for Claude Code, Codex from googlemaps/agent-skills. It costs 216 tokens per session (4,927 once invoked), scanned A, original, Apache-2.0.

A migration guide for Android apps using Google’s Navigation SDK, moving from version 7.x to 8.0. It covers required build tools, removed dependencies, and code changes that affect compilation.

In plain words
What is it for?
Upgrading an Android Java or Kotlin app from Navigation SDK 7.x to 8.0, including Gradle and Android Gradle Plugin setup and checking affected imports and symbols.
Why use it?
It gives an ordered upgrade path so toolchain problems and removed APIs are handled before fixing application code. It also identifies what must stay unchanged during the upgrade.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Upgrading an Android Java or Kotlin app from Navigation SDK 7.x to 8.0, including Gradle and Android Gradle Plugin setup and checking affected imports and symbols.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/googlemaps/agent-skills/migrating-navsdk-7x-to-8x-android
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add googlemaps/agent-skills --skill migrating-navsdk-7x-to-8x-android
Clone the repo
git clone --depth 1 https://github.com/googlemaps/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrating-navsdk-7x-to-8x-android

README.md
[![agentmods](https://agentmods.dev/badge/skills/googlemaps/agent-skills/migrating-navsdk-7x-to-8x-android/github.svg)](https://agentmods.dev/skills/googlemaps/agent-skills/migrating-navsdk-7x-to-8x-android)
Your own site
<a href="https://agentmods.dev/skills/googlemaps/agent-skills/migrating-navsdk-7x-to-8x-android"><img src="https://agentmods.dev/badge/skills/googlemaps/agent-skills/migrating-navsdk-7x-to-8x-android/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrating-navsdk-7x-to-8x-android

Your own site · 80×15
<a href="https://agentmods.dev/skills/googlemaps/agent-skills/migrating-navsdk-7x-to-8x-android"><img src="https://agentmods.dev/badge/skills/googlemaps/agent-skills/migrating-navsdk-7x-to-8x-android.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00216 $0.04927
Opus 5.5 $0.00086 $0.01971
Sonnet 5.5 $0.00043 $0.00985
Haiku 4.5 $0.00022 $0.00493

Measured 29d ago against content hash b776bd9a3007, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrating-navsdk-7x-to-8x-android scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/google-maps-platform-utils/migrating-navsdk-7x-to-8x-android/SKILL.md · 378 lines

How it starts

The opening of the file, as written. The whole thing — 378 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrating Navigation SDK for Android 7.x to 8.0

Read this first: what does not change

This is a version bump of the same SDK. Don't rename packages, swap artifacts, or change how the navigator is initialized.

  • Package namespace stays com.google.android.libraries.navigation.*. Do not rewrite imports.
  • Artifact stays com.google.android.libraries.navigation:navigation. Only the version changes.
  • Initialization is unchanged. Keep calling NavigationApi.getNavigator(...) exactly as before.
  • Navigator.RouteStatus is still a Java enum. Do not convert it to int constants.

Workflow

Work in this order. Nothing compiles on 8.0 until the toolchain is right, and fixing call sites against a build that won't configure wastes a cycle. Hard breaks come before deprecations because removed symbols cannot compile, while deprecated ones only warn. Phase 4 is a scheduling decision for the developer, not a mandate.

Phase 0: Preflight

Record these before you change anything; later phases branch on them:

  • Current NavSDK version (com.google.android.libraries.navigation:navigation:<version>). This skill covers 7.x to 8.0 only. If the app is on 6.x or older, first upgrade to the latest 7.x using the release notes, get a green build, then continue here.
  • Build DSL (Groovy build.gradle vs. Kotlin build.gradle.kts), AGP and Gradle versions, and the JDK running Gradle.
  • Source languages (Java, Kotlin, or both).
  • Whether layout XML references NavSDK fragments, and whether the app uses Android Auto (androidx.car.app).
  • The user's goal: full migration, just "make it build", or an audit only. For an audit, report the Phase 1-4 findings and make no edits.

Inventory the affected symbols in one pass. The result is the work list for the rest of the migration: each hit maps to a Phase 1-4 item below, and an audit reports these hits grouped by phase. Search layout XML too, because fragment class names in XML only fail at inflation time. Kotlin code usually infers the future type (val pending = navigator.setDestination(...)), so ListenableResultFuture alone misses it; setOnResultListener catches those.

Read the full file on GitHub · 378 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago First seen · 378 lines · 216 tokens per session scan A b776bd9a3007

Subscribe to this mod's changes

migrating-navsdk-7x-to-8x-android is a skill published in the GitHub repository googlemaps/agent-skills (79 stars, last pushed 14d ago), licensed Apache-2.0. It adds 216 tokens to every session and 4,927 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-05.

Related

migrating-navsdk-7x-to-8x-android compared with skills from other repositories

migrating-navsdk-7x-to-8x-android next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrating-navsdk-7x-to-8x-androidgooglemaps/agent-skillsSkill7914d agoApache-2.0A216Claude Code, Codex
kotlin-specialistJeffallan/claude-skillsSkill13ktodayMITA86Claude Code
wear-compose-m3android/skillsSkill11k10d agoApache-2.0A108Claude Code
ink-custom-brush-builderandroid/skillsSkill11k10d agoApache-2.0A159Claude Code
swiftui-devOrkas-AI/OrkasSkill7.7ktodayMITA3Claude Code, Codex
build-android-binarymicrosoft/power-platform-skillsSkill1.2ktodayMITA150Claude Code
compose-multiplatformericrisco/rsc-harnessSkill707yesterdayMITA80Claude Code, Codex