Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

generate-offline-tileset

Skill by mapbox

Generates an offline TileStore test asset with Maps, Navigation and Navigation HD tiles for a GeoJSON polygon or W,S,E,N rectangle. Built for developers who write instrumentation tests that must run fully offline.

  • Score 73
  • 653 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install generate-offline-tileset

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mapbox/mapbox-navigation-android /tmp/mapbox-navigation-android && mkdir -p ~/.claude/skills && cp -r /tmp/mapbox-navigation-android/libtesting-resources/.claude/skills/generate-offline-tileset ~/.claude/skills/generate-offline-tileset

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install generate-offline-tileset in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill generates an offline TileStore test asset for instrumentation tests. It produces a zipped tile_store directory named tileset_<name>.zip, covering Maps (including HD roads), Navigation (SD routing) and Navigation HD tiles for a chosen area. The area can be a GeoJSON polygon or a W,S,E,N rectangle, and the tiles are downloaded with the mapbox-common-tilestore CLI.

The workflow builds the CLI, generates configs with a Python script, then downloads, verifies and zips the tiles with a bash script. The zip is copied into the test assets and registered as a Tileset enum entry. Tests unpack it with Context.unpackTiles and run offline with an HD style, HD Lite and HD Full, and onboard routing. It is aimed at developers who need to create, extend, regenerate or debug these offline tiles.

Written from the project's SKILL.md and checked against it.

What it can do

  • Area-based tile generationBuilds Maps, Navigation and Navigation HD tiles for a GeoJSON polygon or a W,S,E,N rectangle.
  • CLI build and config generationBuilds the mapbox-common-tilestore CLI and writes the configs with prepare_configs.py.
  • Download and verificationLoads the configs into one tile_store, runs an integrity check and zips the result with build_tileset.sh.
  • Coverage exportUses coverage.py to export actual tile footprints as GeoJSON for geojson.io.
  • Test wiringAdds a Tileset enum entry so tests can call Context.unpackTiles on the new asset.
  • Offline test setup guidancePoints to the write-nav-integration-test skill for configuring tests to run offline.

What you need

  • MAPBOX_ACCESS_TOKEN with access to 3dln HD tiles and the style's resources
  • A monorepo checkout with projects/tools/tile_store to build the CLI
  • CMake and Ninja to build the CLI, about 25 minutes
  • Python 3 (standard library only) and bash
  • Git LFS for the zip assets

Try asking

  • Create an offline tileset for the route in route.geojson with the default style
  • Regenerate the tileset_ggb_tunnel asset and keep its existing tile versions
  • Why does my test with onboard tiles not switch to HD?

Good to know

  • Keep the area tight, since maps and single tiles grow with area; a whole city is too large.
  • Old tile versions disappear from the server, so existing versions must be checked before reuse.
  • Released CLI binaries may lag behind the TileStore schema, so a local build is preferred.
  • Style models the token cannot access (HTTP 403) are not rendered offline.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: libtesting-resources/.claude/skills/generate-offline-tileset/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to generate-offline-tileset

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

generate-offline-tileset: common questions

What is the output of this skill?

It produces src/main/assets/tileset_<name>.zip, a zipped tile_store directory that tests unpack with Context.unpackTiles.

Why are navigation tiles loaded in a 12 km margin?

Navigation only switches to HD once every tile within 10.5 km of the ego is loaded, and offline a missing neighbour never loads. The navigation config therefore adds a 12 km margin on each side.

How do I check that the asset is complete?

Every region should report completed equal to required, and the integrity check should report zero missing, bad size and bad checksum tiles.

How do I install generate-offline-tileset?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is generate-offline-tileset free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is generate-offline-tileset safe to use?

It scores 73 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to generate-offline-tileset?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

generate-offline-tileset Install

Add to stack

Loading.