
Mapsgl apple
Adds Xweather weather layers to native iOS, iPadOS, Mac Catalyst and visionOS maps
Mapsgl apple is an open-source agent skill for maps and travel. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 8
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Mapsgl apple
This skill guides an agent through the Xweather MapsGL SDK for Apple platforms, which draws weather and custom map data on top of either Mapbox Maps or MapLibre Native using Metal. It covers choosing the map provider, installing the SDK through Swift Package Manager, CocoaPods, Carthage or xcframeworks, and creating the map controller that wraps the underlying map view.
The skill sets out coding conventions for the SDK: it defaults to SwiftUI unless the project is UIKit, keeps credentials out of source, resolves the current SDK release from the Xweather releases endpoint instead of a remembered version, and requires the Xweather attribution in every example. It also lists common build errors and their fixes, such as the Mapbox mercator projection requirement and the main-actor isolation of the layer API.
It expects an active Xweather account with Weather API and Maps access, a client id and secret, and for Mapbox, a public access token plus a secret download token. Code is written in Swift. Reference files cover layers, styles, expressions, legends, timelines and session-based billing on iOS.
When your agent uses it
This skill should be used when working with the Xweather MapsGL SDK for Apple platforms (the MapsGL iOS/iPadOS/macCatalyst/visionOS SDK) — installing it via Swift Package Manager, CocoaPods, Carthage or xcframeworks, creating a MapboxMapController or MapLibreMapController, and adding, removing, styling, animating or inspecting MapsGL weather layers in Swift. Use it whenever a task mentions MapsGL on iOS or Apple platforms, mapsgl-apple-sdk, MapsGLMaps, MapsGLMapbox, MapsGLMapLibre, XweatherAccount, WeatherService.LayerCode, addWeatherLayer in Swift, or a native weather map in SwiftUI or UIKit. Also use it for questions about MapsGL session usage or cost in an Apple app — sessions, the 5-minute clock intervals, the access multiplier, and which view and app lifecycle events should attach and detach weather layers. Also covers Xweather's attribution requirement — the 'Powered by Vaisala Xweather' credit and logo rules that apply wherever Xweather data or imagery is displayed.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 9 files (132 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the xweather plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add vaisala-xweather/xweather-agent-skills
/plugin install xweather@vaisala-xweatherOr copy only this skill to ~/.claude/skills/mapsgl-apple:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vaisala-xweather/xweather-agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mapsgl-apple &&
cp -R "$tmp/plugins/xweather/skills/mapsgl-apple" ~/.claude/skills/mapsgl-apple &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/mapsgl-apple inside it instead.
Copy the skill folder to ~/.agents/skills/mapsgl-apple to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vaisala-xweather/xweather-agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mapsgl-apple &&
cp -R "$tmp/plugins/xweather/skills/mapsgl-apple" ~/.agents/skills/mapsgl-apple &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/mapsgl-apple inside it instead.
Copy the skill folder to ~/.cursor/skills/mapsgl-apple to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vaisala-xweather/xweather-agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mapsgl-apple &&
cp -R "$tmp/plugins/xweather/skills/mapsgl-apple" ~/.cursor/skills/mapsgl-apple &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/mapsgl-apple inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/vaisala-xweather/xweather-agent-skills.git --path plugins/xweather/skills/mapsgl-appleOr copy the folder to ~/.gemini/skills/mapsgl-apple yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/mapsgl-apple:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vaisala-xweather/xweather-agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mapsgl-apple &&
cp -R "$tmp/plugins/xweather/skills/mapsgl-apple" ~/.copilot/skills/mapsgl-apple &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/mapsgl-apple inside it instead.
Get the folder:
git clone --depth 1 https://github.com/vaisala-xweather/xweather-agent-skills.gitThen copy xweather-agent-skills/plugins/xweather/skills/mapsgl-apple into your agent's skills folder as mapsgl-apple. Agents that support SKILL.md read one folder per skill.
What it does
- Map provider selection
- Guides choosing between Mapbox Maps and MapLibre Native, and which Swift package branch matches each.
- SDK installation paths
- Covers Swift Package Manager, CocoaPods, Carthage and manual xcframework embedding.
- Built-in weather layers
- Adds, removes, toggles and restyles radar, temperature, wind and other weather layers by layer code.
- Custom sources and layers
- Explains adding vector sources and fill or line layers for non-weather data.
- Animation and inspection
- Describes timeline playback over time, legends, and tap-to-inspect values at a coordinate.
- Session cost guidance
- Advises when to attach and detach weather layers on iOS to limit MapsGL session usage.
Good for
- Add a radar and wind layer to a SwiftUI map in my iPhone app
- Set up MapsGL with MapLibre in a UIKit project
- Animate precipitation over the last three hours on a map
- Toggle temperature layer visibility from a switch
- Find why my Mapbox weather map shows only the basemap
Mapsgl apple FAQ
Which platforms does the SDK support?
The package manifest targets iOS 16+, macCatalyst 16+ and visionOS 1+. There is no native macOS AppKit target; a Mac app means Mac Catalyst.
Do I need to choose a map provider before installing?
Yes. The SPM branch is provider-specific: master for Mapbox and maplibre for MapLibre. The skill says to infer the provider from the project or request, and to ask when that evidence is absent.
Where do the Xweather credentials go?
The skill says client id and secret should live in a gitignored plist, xcconfig or the keychain and be read at runtime, never committed to source.
Does the skill itself explain billing?
It covers the Apple-specific lifecycle side of session usage and points to the mapsgl skill and public docs for the full billing model.
How do I install Mapsgl apple in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/mapsgl-apple to use it in all your projects, or to .claude/skills/mapsgl-apple in one project. Or install the xweather plugin, which includes it: /plugin marketplace add vaisala-xweather/xweather-agent-skills, then /plugin install xweather@vaisala-xweather.
Does Mapsgl apple run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Mapsgl apple?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Mapsgl apple?
The closest alternatives to Mapsgl apple are Mapsgl, Mapsgl android, Raster maps, Axiom location and Globestudio.
Where this comes from
- Description: from the skill's own SKILL.md.
More from vaisala-xweather/xweather-agent-skills

Guides an agent through building Xweather MapsGL weather map layers in web apps
- Open source
- 8 GitHub stars
- Maps and travel

Guides building Android apps that show Xweather weather layers on Mapbox maps
- Open source
- 8 GitHub stars
- Maps and travel

Builds Xweather weather map image and tile URLs with layer, time and style options
- Open source
- 8 GitHub stars
- Maps and travel

Builds and runs Xweather Weather API URLs with access-cost estimates
- Open source
- 8 GitHub stars
- Cloud and infrastructure

Guides building a secure receiver for pushed Xweather weather data instead of polling
- Open source
- 8 GitHub stars
- Cloud and infrastructure
