·maplibre-mapbox-migration
</>

maplibre-mapbox-migration

Migrating from Mapbox GL JS to MapLibre GL JS — package and import changes, removing the access token, choosing tile sources, plugin equivalents, and what you gain or give up. Use when moving an existing Mapbox map to MapLibre.

23Installs·2Trend·@maplibre

Installation

$npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration

How to Install maplibre-mapbox-migration

Quickly install maplibre-mapbox-migration AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: maplibre/maplibre-agent-skills.

SKILL.md

View raw

This skill guides you through migrating an application from Mapbox GL JS to MapLibre GL JS. The two libraries share a common ancestry (MapLibre forked from Mapbox GL JS v1.13 in December 2020), so the API is largely the same. The main changes are: swap the package, replace the namespace, remove the Mapbox access token, and choose a new tile source (MapLibre does not use mapbox:// styles).

What you give up: Mapbox Studio integration, Mapbox-hosted tiles and styles, Mapbox Search/Directions/Geocoding APIs, official Mapbox support.

Replace all mapboxgl with maplibregl (and mapbox-gl with maplibre-gl in package names or paths). Examples:

Migrating from Mapbox GL JS to MapLibre GL JS — package and import changes, removing the access token, choosing tile sources, plugin equivalents, and what you gain or give up. Use when moving an existing Mapbox map to MapLibre. Source: maplibre/maplibre-agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration
Category
</>Dev Tools
Verified
First Seen
2026-03-04
Updated
2026-03-10

Browse more skills from maplibre/maplibre-agent-skills

Quick answers

What is maplibre-mapbox-migration?

Migrating from Mapbox GL JS to MapLibre GL JS — package and import changes, removing the access token, choosing tile sources, plugin equivalents, and what you gain or give up. Use when moving an existing Mapbox map to MapLibre. Source: maplibre/maplibre-agent-skills.

How do I install maplibre-mapbox-migration?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/maplibre/maplibre-agent-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-03-04