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-android-patterns

Skill by mapbox

Provides official integration patterns for the Mapbox Maps SDK v11 on Android. It covers setup, markers, user location, GeoJSON data, styles, camera control and feature interactions.

  • Score 74
  • 89 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mapbox-android-patterns

Built from the published package, never by AI.

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

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

Step-by-step: install mapbox-android-patterns in Claude Code

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

About

This skill gives an AI assistant code patterns for building Android map screens with the Mapbox Maps SDK v11. It covers installing the SDK, configuring an access token and Maven repository, and initializing a map with Jetpack Compose or the View system. It also includes examples for point markers, showing the user location, adding GeoJSON sources and layers, camera and style control, and handling taps on map features.

The patterns are written in Kotlin and are based on official Mapbox documentation. The skill also lists performance tips, such as reusing annotation managers and batching annotation updates, and a short troubleshooting checklist. It is aimed at Android developers who are building map features with the Mapbox SDK.

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

What it can do

  • Installation and setupCovers the access token, Maven repository, dependencies and internet permission for the Mapbox Maps SDK.
  • Map initializationShows how to create a map with Jetpack Compose or the View system, including ornaments.
  • MarkersAdds point annotations to the map, singly or in multiples, using annotation managers.
  • User locationExplains how to show the location puck and request location permissions.
  • Custom dataCovers GeoJSON sources and layers for lines, polygons and points, including updates and removal.
  • Camera and stylesCovers camera set, animate and fit, plus built-in and custom map styles.
  • Feature interactionsCovers featureset interactions, custom layer taps, long press and gestures.
  • Performance practicesRecommends reusing annotation managers, batching updates and calling lifecycle methods.

What you need

  • Mapbox account and access token
  • Android SDK 21 or higher
  • Kotlin or Java
  • Android Studio

Try asking

  • Show my user location on a Mapbox Android map with a bearing puck
  • Add GeoJSON line and polygon layers to my Mapbox map in Kotlin
  • Handle taps on map features in my Android Mapbox app with Compose

Good to know

  • Jetpack Compose has no declarative point annotation component, so markers are added through MapEffect
  • The skill targets Mapbox Maps SDK v11 and points to the v10 to v11 migration guide for older code
  • Detailed patterns are in separate reference files that the assistant must load

Security check

A

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

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

Alternatives to mapbox-android-patterns

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

mapbox-android-patterns: common questions

Does this skill support Jetpack Compose?

Yes. It includes a MapboxMap pattern for Compose and also covers the View system with a MapView in an activity.

Which Mapbox SDK version does it cover?

It covers Mapbox Maps SDK v11. The examples use version 11.18.1 of the Android SDK.

Can it help with custom map styles?

The camera and styles reference covers built-in styles and custom styles. The source recommends Style.STANDARD for performance.

How do I install mapbox-android-patterns?

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

Is mapbox-android-patterns free?

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

Is mapbox-android-patterns safe to use?

It scores 74 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-android-patterns?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

mapbox-android-patterns Install

Add to stack

Loading.