mapbox-ops
Skill by 0xDarkMatter
Mapbox GL JS v3 toolkit for web maps, covering custom markers, layers, style expressions, 3D terrain, heatmaps, choropleths and camera animation. It is aimed at developers building Mapbox web map experiences who also want headless map checks.
Install mapbox-ops
Built from the published package, never by AI.
git clone --depth 1 https://github.com/0xDarkMatter/claude-mods /tmp/claude-mods && mkdir -p ~/.claude/skills && cp -r /tmp/claude-mods/skills/mapbox-ops ~/.claude/skills/mapbox-opsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/0xDarkMatter/claude-mods /tmp/claude-mods && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-mods/skills/mapbox-ops ~/.gemini/antigravity-cli/skills/mapbox-opsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant a set of reference guides and code patterns for Mapbox GL JS v3 in the browser. It covers custom SVG and canvas markers, symbol and GeoJSON layers, clustering, style expressions, 3D terrain and fill-extrusion, heatmaps, choropleth maps, and camera animation. It also lists common pitfalls, such as un-namespaced icon names being silently dropped and setStyle wiping custom layers.
The skill includes a starter snippet for a circular photo marker and two verifier scripts. One drives headless Chromium with Playwright to screenshot a served map and check that a marker projects to the right coordinates. The other is a stdlib-only Python script that checks the skill's fast-moving Mapbox facts. The source says it is scoped to web GL JS, not the native iOS or Android SDKs, and is aimed at developers building production Mapbox map experiences.
Written from the project's SKILL.md and checked against it.
What it can do
- Custom markersCovers custom SVG and canvas markers, addImage and updateImage, namespacing and anchoring.
- Layers and clusteringCovers symbol and GeoJSON layers, clustering, and dashed or cased trail lines.
- Style expressionsExplains interpolate, step, match and case expressions and the zoom-outermost rule.
- 3D terrain and extrusionCovers setTerrain, hillshade, contours, and fill-extrusion buildings and extruded data.
- Heatmaps and choroplethsCovers heatmap layers and data-join choropleths using feature-state or match.
- Camera animationCovers flyTo, easeTo, fitBounds padding, freeCameraOptions orbits and a day-night cycle.
- Headless screenshot checkscreenshot_map.py screenshots a served map and asserts marker alignment and console errors.
- Fact staleness checkcheck-mapbox-facts.py verifies the skill's version-sensitive facts and style URLs without Playwright.
What you need
- Mapbox access token
- Mapbox GL JS v3.x (web)
- Python 3.10+ for the verifier scripts
- Playwright with Chromium for screenshot_map.py
Try asking
- Add a clustered GeoJSON layer with custom circular photo markers to my Mapbox map
- Build a choropleth from my regional data using a data-join match expression
- Set up a 3D terrain view with fill-extrusion buildings and a flyTo camera intro
Good to know
- Scoped to Mapbox GL JS v3.x in the browser, not the native iOS or Android SDKs.
- Camera roll is described as MapLibre GL JS v5 only, not available in Mapbox.
- Palette and terrain layer-walking techniques assume a classic style, not the v3 default Standard style.
- setStyle removes custom sources, layers and images, so they must be re-added on style.load.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/mapbox-ops/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mapbox-ops
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mapbox-ops: common questions
Why do my custom marker icons disappear on a Mapbox map?
The source says Mapbox styles ship sprite icons with common names such as parking or toilet. An un-namespaced addImage name can match one of these, so the icon is silently dropped. Prefixing names, for example with rcpin-, avoids the clash.
Why does my map go empty after switching styles?
The source states that setStyle wipes every custom source, layer and image. It recommends re-adding them on the style.load event from one guarded installer.
Does this skill work with the Mapbox Standard style?
Some techniques assume a classic style such as Streets or Light. The source says the v3 default Standard style has no enumerable named layers, so it uses slots and setConfigProperty instead.
How do I install mapbox-ops?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mapbox-ops free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mapbox-ops safe to use?
It scores 52 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-ops?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
