New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mapbox avatar

Mapbox Maplibre Migration

Guide for migrating MapLibre GL JS projects to Mapbox GL JS with token setup and style configuration.

skills.sh installs
1.4K
GitHub stars
87
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the MapLibre-to-Mapbox migration: package swap, import changes, token setup, style URLs, and plugin replacements
  • Includes a comparison table of licensing, support, tiles, satellite imagery, and token requirements between the two libraries
  • Documents 10 built-in Mapbox style URLs, including Standard, Satellite, Streets, Outdoors, Light, Dark, and Navigation
  • Designed for teams moving from MapLibre to Mapbox who want official support, Studio integration, and managed tiles

Install

$ npx -y skills add mapbox/mapbox-agent-skills --skill mapbox-maplibre-migration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

MapLibre to Mapbox Migration Skill

Expert guidance for migrating from MapLibre GL JS to Mapbox GL JS. Covers the shared history, API compatibility, migration steps, and the advantages of Mapbox's platform.

Understanding the Fork

History

MapLibre GL JS is an open-source fork of Mapbox GL JS v1.13.0, created in December 2020 when Mapbox changed their license starting with v2.0.

Timeline:

  • Pre-2020: Mapbox GL JS was open source (BSD license)
  • Dec 2020: Mapbox GL JS v2.0 introduced proprietary license
  • Dec 2020: Community forked v1.13 as MapLibre GL JS
  • Present: Both libraries continue active development

Key Insight: The APIs are ~95% identical because MapLibre started as a Mapbox fork. Most code works in both with minimal changes, making migration straightforward.

Why Migrate to Mapbox?

Compelling reasons to choose Mapbox GL JS:

Details

Repository
github.com/mapbox/mapbox-agent-skills
Category
Frontend & UI Code
First seen
May 16, 2026

More from mapbox/mapbox-agent-skills

All 18

Similar to Mapbox Maplibre Migration

More Frontend & UI Code