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

mapbox

Skill by TerminalSkills

Builds map-based web applications with the Mapbox GL JS SDK, covering interactive maps, custom data layers, geocoding, routing and geospatial visualization. It is written for developers who want to add maps to web apps using a Mapbox account and access token.

  • Score 49
  • 219 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mapbox

Built from the published package, never by AI.

git clone --depth 1 https://github.com/TerminalSkills/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/mapbox ~/.claude/skills/mapbox

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

Step-by-step: install mapbox in Claude Code

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

About

The mapbox skill gives an AI assistant instructions for building interactive web maps with Mapbox GL JS (version 3) and react-map-gl (version 8). It includes a basic store locator with markers and popups, a heatmap layer for delivery data, and examples of calling the Geocoding v6 and Directions v5 REST APIs. It also covers terrain setup, clustering, lazy loading and billing notes.

It requires a Mapbox account and a public access token starting with pk., kept in an environment variable and restricted to your site URLs. The source is licensed Apache-2.0 and published by TerminalSkills. It is aimed at developers who need interactive maps, custom layers, geocoding or navigation features in web applications.

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

What it can do

  • Interactive store locatorRenders a React map with markers, a navigation control and popups for selected locations.
  • Heatmap layerVisualizes point density, such as delivery orders, with a weighted heatmap layer.
  • GeocodingConverts an address into coordinates using the Geocoding API v6.
  • Directions routingReturns a driving route, duration and distance between two points using the Directions API.
  • 3D terrainAdds a raster-dem terrain source and enables terrain on the map.
  • Clustering guidanceSuggests the cluster property on GeoJSON sources when displaying 100 or more points.

What you need

  • A Mapbox account for an access token
  • A public Mapbox access token starting with pk.
  • Mapbox GL JS 3.x
  • react-map-gl 8.x
  • npm to install the packages

Try asking

  • Build a store locator map that opens the address when a pin is clicked
  • Geocode this address and draw the driving route from our depot
  • Show our delivery orders as a heatmap with Mapbox

Good to know

  • Geocoding v6 returns no points of interest; the source says to use the Search Box API for places.
  • Geocoding results may only be stored when the request sets permanent=true.
  • Permanent geocoding needs a payment method on file or an enterprise contract.
  • Map loads, geocoding and directions requests are metered with monthly free tiers.

Security check

A

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

Checked automatically: skills/mapbox/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mapbox

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

mapbox: common questions

Which Mapbox libraries does this skill use?

It uses Mapbox GL JS 3.x for rendering maps in the browser and react-map-gl 8.x as the React wrapper. The REST APIs for geocoding and directions use the same access token.

Can I store geocoding results?

Only when the request sets permanent=true. Results from default temporary requests should not be stored, according to the source.

Which token should I put in the browser?

A public token starting with pk. The source says secret tokens starting with sk. must never reach the browser.

How do I install mapbox?

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

Is mapbox free?

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

Is mapbox safe to use?

It scores 49 of 100. Grades: maintenance A, licence A, quality B. 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 mapbox?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

mapbox Install

Add to stack

Loading.