Agent skill

Maplibre Mapbox Migration

by maplibre in maplibre/maplibre-agent-skills

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.

Custom licenceAuto-check passed

Install Maplibre Mapbox Migration

skills CLI
$ npx skills add maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install maplibre/maplibre-agent-skills maplibre-mapbox-migration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/maplibre/maplibre-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/maplibre-mapbox-migration .claude/skills/maplibre-mapbox-migration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
maplibre-mapbox-migration
GitHub stars
151
Token cost
~4.7k tokens
SKILL.md length
1,630 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Custom licence

At a glance

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.

  • Works in 9 steps: Install the Package → Update Imports and CSS → Replace the Namespace → …
  • Moving an existing Mapbox map to MapLibre
  • SKILL.md covers When to Use This Skill, Why Migrate to MapLibre?, Understanding the Fork and Step-by-Step Migration, plus 3 more sections
  • Calls npm; reaches api.mapbox.com and unpkg.com

What it does

Maplibre Mapbox Migration is an agent skill from maplibre/maplibre-agent-skills. 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.

Its SKILL.md is about 4.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Mapbox. The repository describes itself as: Community-maintained agent skills for MapLibre GL JS — helping AI coding assistants write better mapping code.

When your agent uses it

  • Moving an existing Mapbox map to MapLibre

Example prompts

  • “/maplibre-mapbox-migration”

Requirements

  • Node.js

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Install the Package
  2. Update Imports and CSS
  3. Replace the Namespace
  4. Remove the Access Token
  5. Replace the Style URL (Critical)
  6. Update Plugins (If Used)
  7. Replace Mapbox APIs (Search, Directions, etc.)
  8. What Stays the Same
  9. Translate Mapbox v2-only APIs, Do Not Look for Them

What it can do on your machine

Read from SKILL.md and the folder at commit fa618af. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.mapbox.com
    • unpkg.com
    • tiles.openfreemap.org

    Also links to:

    • maplibre.org
    • github.com
    • openfreemap.org
    • nominatim.org
    • docs.mapbox.com
    • maputnik.github.io
    • photon.komoot.io
    • pelias.io
    • docs.maptiler.com
    • project-osrm.org
    • openrouteservice.org
    • operations.osmfoundation.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Maplibre Mapbox Migration loads about 4.7k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 1,630 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,630 words (~4,694 tokens).

“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…”

— opening of SKILL.md by maplibre, Custom licence
name
maplibre-mapbox-migration
status
provisional

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/maplibre-mapbox-migration of maplibre/maplibre-agent-skills.

Open the folder on GitHubat commit fa618af

Compare with similar skills

Maplibre Mapbox Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Maplibre Mapbox Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Maplibre Mapbox Migration this skillmaplibre/maplibre-agent-skills151—~4.7kAutomated safety check: PassCustom licence
Antv L7antvis/L74.1k—~1.4kAutomated safety check: PassMIT
Antv L7antvis/L74.1k—~4.4kAutomated safety check: PassMIT
Releasegeoman-io/maplibre-geoman127—~1.2kAutomated safety check: PassMIT
Checkalamenai/terrae244—~1.1kAutomated safety check: PassMIT
Docsalamenai/terrae244—~576Automated safety check: PassMIT

Similar skills

  • Antv L7

    antvis/L7

    Comprehensive guide for AntV L7 geospatial visualization library.

    4.1k GitHub stars~1.4k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Antv L7

    antvis/L7

    基于 WebGL 的大规模地理空间数据可视化引擎。适用于: (1) 创建交互式 WebGL 地图应用 (2) 可视化地理空间数据(点、线、面、热力图) (3) 构建位置数据驾驶舱 (4) 添加地图图层、交互和动画效果 (5) 处理并展示 GeoJSON、CSV 等空间数据

    4.1k GitHub stars~4.4k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • Release

    geoman-io/maplibre-geoman

    Cut a release of the free maplibre-geoman / mapbox-geoman packages (bump versions, finalize CHANGELOG, tag, publish to npm).

    127 GitHub stars~1.2k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Check

    alamenai/terrae

    Verify all outputs exist after creating a new component and fix any issues

    244 GitHub stars~1.1k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Docs

    alamenai/terrae

    Generate or update documentation for Terrae components. An agent skill from alamenai/terrae.

    244 GitHub stars~576 tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Fix

    alamenai/terrae

    Systematically fix issues found by /review or reported by the user

    244 GitHub stars~775 tokensUpdated 6 mo ago
    DevelopmentAuto-check passed

More from maplibre/maplibre-agent-skills

All 10 skills in this repo
  • Maplibre Cartography

    maplibre/maplibre-agent-skills

    Cartographic principles for MapLibre GL JS — label and symbol legibility on imagery vs.

    151 GitHub stars~4.8k tokensUpdated 4 days ago
    Auto-check passed
  • Maplibre Fonts Glyphs

    maplibre/maplibre-agent-skills

    Configuring fonts and glyphs for MapLibre GL JS and MapLibre Native — the style's glyphs URL, self-hosting or generating font PBFs, the GL JS local-font fallback (omitted glyphs or a failed glyph…

    151 GitHub stars~2.6k tokensUpdated 4 days ago
    Auto-check passed
  • Maplibre Pmtiles Patterns

    maplibre/maplibre-agent-skills

    Serverless vector and raster tiles with PMTiles for MapLibre GL JS — single-file format, HTTP range requests, hosting on S3/R2/GitHub Pages, generating with Planetiler or tippecanoe, and the pmtiles…

    151 GitHub stars~4.6k tokensUpdated 4 days ago
    Auto-check passed
  • Maplibre Running Evals

    maplibre/maplibre-agent-skills

    The step-by-step procedure for running this repo's Promptfoo evals with a generator and a judge over provider APIs.

    151 GitHub stars~3.3k tokensUpdated 4 days ago
    Auto-check passed
  • Maplibre Source Wiring

    maplibre/maplibre-agent-skills

    Getting a MapLibre GL JS source to actually render — TileJSON url versus hand-wired tiles templates, matching source-layer names to the tile schema, layer order and inserting below labels, promoteId…

    151 GitHub stars~3.8k tokensUpdated 4 days ago
    Auto-check passed
  • Maplibre Terrain Rendering

    maplibre/maplibre-agent-skills

    Drawing elevation in MapLibre GL JS once a raster-dem source works — hillshade and hillshade-method, the color-relief layer and the ["elevation"] expression, runtime contours with maplibre-contour…

    151 GitHub stars~2.7k tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Maplibre Mapbox Migration

What does Maplibre Mapbox Migration do?

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. Maplibre Mapbox Migration is an agent skill from maplibre/maplibre-agent-skills. 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.

When should I use Maplibre Mapbox Migration?

Maplibre Mapbox Migration fits situations like: moving an existing Mapbox map to MapLibre.

How do I install Maplibre Mapbox Migration in Claude Code?

Run `npx skills add maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration -a claude-code`. Or copy the skill folder (skills/maplibre-mapbox-migration in maplibre/maplibre-agent-skills) into .claude/skills/maplibre-mapbox-migration in your project. Claude Code loads it when a task matches its description.

How do I install Maplibre Mapbox Migration in Codex?

Run `npx skills add maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration -a codex`. Or copy the skill folder (skills/maplibre-mapbox-migration in maplibre/maplibre-agent-skills) into .agents/skills/maplibre-mapbox-migration in your project. Codex loads it when a task matches its description.

Can I use Maplibre Mapbox Migration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/maplibre-mapbox-migration, .gemini/skills/maplibre-mapbox-migration, .github/skills/maplibre-mapbox-migration and .opencode/skills/maplibre-mapbox-migration in your project.

What does Maplibre Mapbox Migration need to run?

Going by SKILL.md and its folder, Maplibre Mapbox Migration needs the command-line tools its instructions call (npm). Our summary lists: Node.js.

Does Maplibre Mapbox Migration access the network?

SKILL.md names 15 domains. In commands or code: api.mapbox.com, unpkg.com and tiles.openfreemap.org; the agent is likely to contact these when it follows the instructions. As links in the text: maplibre.org, github.com, openfreemap.org, nominatim.org, docs.mapbox.com, maputnik.github.io, photon.komoot.io, pelias.io, docs.maptiler.com, project-osrm.org, openrouteservice.org and operations.osmfoundation.org. This is read from the text; nothing was executed.

Is Maplibre Mapbox Migration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Maplibre Mapbox Migration use?

Maplibre Mapbox Migration has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Maplibre Mapbox Migration use?

About 4.7k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Maplibre Mapbox Migration?

Skills that share tags, products or a category with Maplibre Mapbox Migration: Antv L7 (antvis/L7, 4.1k stars), Antv L7 (antvis/L7, 4.1k stars), Release (geoman-io/maplibre-geoman, 127 stars) and Check (alamenai/terrae, 244 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Maplibre Mapbox Migration?

maplibre (a GitHub organization) maintains it in maplibre/maplibre-agent-skills, which has 151 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 4, 2026.

Source: maplibre/maplibre-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.