mapsgl-android

mapsgl-android is a skill for Claude Code from vaisala-xweather/xweather-agent-skills. It costs 233 tokens per session (6,271 once invoked), scanned A, original, MIT.

A guide for using the Xweather MapsGL Android SDK to display weather and custom map data in Android apps. It covers Mapbox-based maps, weather layers, styling, legends, and data inspection.

In plain words
What is it for?
Use it when adding weather maps, custom map layers, styling, legends, or data inspection to an Android application.
Why use it?
It helps developers use the SDK's real APIs and avoid relying on outdated or incorrect documentation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the xweather plugin — 6 skills shipped together

Good fit Use it when adding weather maps, custom map layers, styling, legends, or data inspection to an Android application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vaisala-xweather/xweather-agent-skills/mapsgl-android
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vaisala-xweather/xweather-agent-skills --skill mapsgl-android
Clone the repo
git clone --depth 1 https://github.com/vaisala-xweather/xweather-agent-skills

Made for: Claude Code.

Or install xweather, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mapsgl-android

README.md
[![agentmods](https://agentmods.dev/badge/skills/vaisala-xweather/xweather-agent-skills/mapsgl-android/github.svg)](https://agentmods.dev/skills/vaisala-xweather/xweather-agent-skills/mapsgl-android)
Your own site
<a href="https://agentmods.dev/skills/vaisala-xweather/xweather-agent-skills/mapsgl-android"><img src="https://agentmods.dev/badge/skills/vaisala-xweather/xweather-agent-skills/mapsgl-android/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mapsgl-android

Your own site · 80×15
<a href="https://agentmods.dev/skills/vaisala-xweather/xweather-agent-skills/mapsgl-android"><img src="https://agentmods.dev/badge/skills/vaisala-xweather/xweather-agent-skills/mapsgl-android.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 233 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,271 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00233 $0.06271
Opus 5.5 $0.00093 $0.02508
Sonnet 5.5 $0.00047 $0.01254
Haiku 4.5 $0.00023 $0.00627

Measured 16d ago against content hash d094221a5d49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mapsgl-android scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://www.xweather.com/docs/api/releases/versions \
plugins/xweather/skills/mapsgl-android/SKILL.md · 621 lines

How it starts

The opening of the file, as written. The whole thing — 621 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MapsGL Android

MapsGL Android renders weather and custom map data on top of the Mapbox Maps SDK for Android (encoded grids via OpenGL ES custom layers; many vector weather layers via Mapbox style layers). Requires an Xweather account (Weather API + Maps) and Mapbox access / downloads tokens.

Source of truth (read this first)

When answering or writing code, resolve conflicts in this order:

  1. The MapsGL Android SDK - public Kotlin APIs in mapsglmaps / published AAR, in-repo demos under app/, and generated KDoc
  2. This skill (kept to match the SDK)
  3. https://www.xweather.com/docs/mapsgl-android-sdk/ - useful for tutorials and recipes, but often lagging (deprecated ctors, wrong removeWeatherLayer args, missing Mapbox peer dep, "coming soon" for shipped features, invented overload shapes)

Prefer the SDK to the docs. If a docs snippet disagrees with a real method signature, package, or demo in the SDK, follow the SDK and say so. Never invent an API - if it isn't in the SDK source, KDoc or a demo, it doesn't exist.

Docs hub (optional context only): https://www.xweather.com/docs/mapsgl-android-sdk/

API scope: public MapsGL Android APIs only - no internals.

This skill documents the 1.6.1 release. Every API described here exists in the published 1.6.1 artifact - there is no unreleased or development-branch surface to filter out, and nothing is marked (unreleased).

That bounds what the skill documents, not what gets installed. Installs always take the current release (below), which may be newer than 1.6.1. Features added after 1.6.1 are deliberately absent from this skill. Those include the ["map-time"] filter expression, MapsGL's own GLES vector rendering pipeline, and the *-text data-query layers. If a task needs one, check the KDoc for the release being installed before writing code against it, and say this skill doesn't cover it. Don't guess its API.

Always use the latest released SDK, and never hardcode a version number. Resolve the current release before writing any Gradle dependency, and don't reuse a version from memory, an earlier turn, or this file. The version of this skill an agent has installed says nothing about what has shipped since:

Read the full file on GitHub · 621 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed d094221a5d49
  2. 18d ago Changed e3e0dbafb479
  3. 29d ago Changed · +12 lines 98abcba3e0c6
  4. 1mo ago Changed acf6efccc583
  5. 1mo ago Changed abc6d15f195a
  6. 2mo ago First seen · 609 lines · 233 tokens per session scan A 880e578f70a7

Subscribe to this mod's changes

mapsgl-android is a skill published in the GitHub repository vaisala-xweather/xweather-agent-skills (6 stars, last pushed 16d ago), licensed MIT. It adds 233 tokens to every session and 6,271 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

mapsgl-android compared with skills from other repositories

mapsgl-android next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mapsgl-androidvaisala-xweather/xweather-agent-skillsSkill616d agoMITA233Claude Code
developer-device-platform-basicsgoogle/skillsSkill24kyesterdayApache-2.0A57Claude Code, Codex
cameraxandroid/skillsSkill10kyesterdayApache-2.0A47Claude Code
mobile-platform-native-capabilities-integrateforcedotcom/sf-skillsSkill1.2k5d agoApache-2.0A174Claude Code
audio-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA26Claude Code
bluetooth-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA21Claude Code
camera-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA20Claude Code