Skip to content
Skill

Raster maps

Builds Xweather weather map image and tile URLs with layer, time and style options

Raster maps 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
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
8
Last commit
License
MIT
Listing updated

Similar skills

About Raster maps

This skill assembles maps.api.xweather.com URLs for Xweather Raster Maps, either as a single static image or as an XYZ tile template for mapping libraries such as Leaflet, Mapbox GL, Google Maps and OpenLayers. It works from a plain description of the imagery wanted, choosing layer codes from a bundled reference, ordering them so base maps sit under weather and labels sit on top, and adding time offsets and format choices. Before generating anything it asks whether the user needs a static image or tiles, since the two shapes are not interchangeable.

The skill also estimates usage cost in map units, showing the tile arithmetic and the multipliers for lightning and air-quality layers. A bundled Python script can estimate units from a request path and, when credentials are supplied and the user agrees, fetch and save the image. Credentials are kept as placeholders in replies unless the user asks otherwise. It includes guidance on the Xweather attribution requirement and logo rules.

When your agent uses it

This skill should be used to build Xweather Raster Maps image URLs (maps.api.xweather.com) — either static map images or XYZ map tile URLs for Leaflet, Mapbox, Google Maps, OpenLayers and similar libraries — from a description of the weather imagery wanted. Use it whenever a task mentions Raster Maps, maps.api.xweather.com, maps.aerisapi.com, an Xweather weather map layer or overlay (radar, satellite, alerts, temperatures, lightning, tropical cyclones, air quality, base maps, admin overlays), a weather map image or tile layer, layer opacity/blur/blend/scale-hsla modifiers, or asks how Raster Maps usage is measured — map units, tile counts, the daily allowance, or how many accesses a static map or tile layer will consume. 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 6 files (79 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-xweather

Or copy only this skill to ~/.claude/skills/raster-maps:

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/raster-maps &&
cp -R "$tmp/plugins/xweather/skills/raster-maps" ~/.claude/skills/raster-maps &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/raster-maps inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/raster-maps 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/raster-maps &&
cp -R "$tmp/plugins/xweather/skills/raster-maps" ~/.agents/skills/raster-maps &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/raster-maps inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/raster-maps 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/raster-maps &&
cp -R "$tmp/plugins/xweather/skills/raster-maps" ~/.cursor/skills/raster-maps &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/raster-maps inside it instead.

Cursor docs on skills

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/raster-maps

Or copy the folder to ~/.gemini/skills/raster-maps yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/raster-maps:

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/raster-maps &&
cp -R "$tmp/plugins/xweather/skills/raster-maps" ~/.copilot/skills/raster-maps &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/raster-maps inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vaisala-xweather/xweather-agent-skills.git

Then copy xweather-agent-skills/plugins/xweather/skills/raster-maps into your agent's skills folder as raster-maps. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Static and tile output
Produces either a finished map image URL or a tile template with the right snippet for the chosen library.
Layer selection
Maps plain requests such as radar, satellite or alerts to catalog layer codes and stacks them in a sensible order.
Map unit estimates
Calculates tile counts and usage cost, including multipliers for high-cost layers, before a request is made.
Style modifiers
Applies opacity, blur, blend and colour adjustments to layers where the request calls for them.
Optional image fetch
A Python script can request and save a static map when API credentials are provided and the user confirms.
Attribution guidance
Includes the required Powered by Vaisala Xweather credit and logo usage rules for displayed imagery.

Good for

  • Generate a static radar map image of a city for a weekly report
  • Create a Leaflet tile layer showing weather alerts over a base map
  • Estimate how many map units a 1000 by 800 lightning map will consume
  • Add temperature labels and admin borders to an existing map layer stack
  • Check which Xweather layer code shows satellite imagery for a region

Raster maps FAQ

Does the skill need to be asked which output type to use?

Yes. It asks whether the user wants a static image or map tiles unless the request makes that clear, such as naming a mapping library or pixel dimensions.

What does the bundled script need to run?

It needs Python 3 using only the standard library, plus network access to maps.api.xweather.com and the XWEATHER_CLIENT_ID and XWEATHER_CLIENT_SECRET environment variables for fetching images.

Will the skill put my API keys into the URLs Raster maps returns?

No. It shows URLs with client_id and client_secret placeholders unless the user explicitly asks for a populated copy.

Why do some layers cost more map units?

Lightning strike layers count ten times and certain air-quality layers count five times per tile, so the skill reports these multipliers in its estimates.

How do I install Raster maps in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/raster-maps to use it in all your projects, or to .claude/skills/raster-maps 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 Raster maps run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. 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 Raster maps?

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 Raster maps?

The closest alternatives to Raster maps are Mapsgl, Mapsgl apple, Mapsgl android, Weather and Globestudio.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vaisala-xweather/xweather-agent-skills

  1. Guides an agent through building Xweather MapsGL weather map layers in web apps

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

    • Open source
    • 8 GitHub stars
    • Maps and travel
  3. Adds Xweather weather layers to native iOS, iPadOS, Mac Catalyst and visionOS maps

    • Open source
    • 8 GitHub stars
    • Maps and travel
  4. Builds and runs Xweather Weather API URLs with access-cost estimates

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

    • Open source
    • 8 GitHub stars
    • Cloud and infrastructure