Skip to content
Skill

Webhooks

Guides building a secure receiver for pushed Xweather weather data instead of polling

Webhooks is an open-source agent skill for cloud and infrastructure. 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 Webhooks

This skill helps design, build, secure and debug an HTTPS endpoint that receives Xweather webhook deliveries, which carry the same JSON or GeoJSON envelope as the Weather API. It covers the delivery contract: a POST with an API key, a fast 2xx acknowledgement before any processing, and how retries and missed deliveries behave. It also includes receiver examples in Node.js and Python, guidance on idempotent upserts, permissive payload validation, and secret rotation.

The skill also explains registration. Webhooks are a premium add-on, and endpoints are set up by Xweather staff rather than self-service, so it lays out the details to prepare, such as the URL, data sets, coverage area, format and per-environment keys. It includes a debugging table for common symptoms and a reminder of Xweather's attribution rules for any displayed data or imagery.

It expects an HTTPS-reachable server and a language such as JavaScript or Python. Testing can use the Xweather Postman collection for sample payloads without a subscription.

When your agent uses it

This skill should be used to design, build, secure, or debug an Xweather Webhooks receiver — the push alternative to polling the Weather API. Use it whenever a task mentions Xweather webhooks, pushed weather data, a weather webhook receiver or endpoint, subscribing to pushed hail/lightning/alerts/storm-cell data, or asks how to stop polling the Xweather API and receive data in real time instead. Also use it when writing the endpoint handler, choosing a data set to subscribe to, or preparing the registration details Xweather needs. 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 1 file (13 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/webhooks:

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

For one project only, put the folder in .cursor/skills/webhooks 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/webhooks

Or copy the folder to ~/.gemini/skills/webhooks yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/webhooks 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/webhooks into your agent's skills folder as webhooks. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Receiver implementation guidance
Shows how to accept POST deliveries, verify the API key and acknowledge with 202 before processing.
Endpoint security layers
Covers HTTPS, URL path tokens, X-Api-Key checks and permissive payload validation.
Delivery and retry behavior
Explains retry limits, at-most-once delivery after failures and the need for idempotent handlers.
Data set selection
Lists available push data sets such as hail threats, lightning, alerts and fires.
Registration preparation
Describes the details Xweather needs, including URLs, coverage area, format and per-environment keys.
Debugging reference
Maps common symptoms like missing deliveries or duplicate records to likely causes.
Attribution requirements
Summarises the Powered by Vaisala Xweather credit and logo rules for displayed data.

Good for

  • Build a webhook endpoint that receives live lightning strikes
  • Set up severe weather alerts from pushed hail threat polygons
  • Write an idempotent handler that upserts observations by station id
  • Debug why Xweather deliveries stopped reaching my server
  • Prepare the registration details for a staging and production webhook

Webhooks FAQ

Can I turn on webhooks myself in the Xweather dashboard?

No. Webhooks are a premium add-on with a separate subscription, and endpoints are registered by Xweather staff rather than through a self-service API call or dashboard toggle.

What happens if my server is down during a weather event?

Xweather retries failed deliveries typically two or three times, then marks them failed. There is no replay or backfill, so missed events are not redelivered.

Should the handler process the payload before responding?

No. The skill advises returning a 2xx status, conventionally 202, immediately and handing the work to a background job or queue.

Is the webhook payload different from the Weather API response?

The skill says the payload has the same shape as the Weather API response, so existing parsing code can usually be reused.

How do I install Webhooks in Claude Code?

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

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 Webhooks?

The closest alternatives to Webhooks are Weather API, Ewccli, Cloudflare email service, Azure web pubsub ts and Azure messaging webpubsub java.

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 Xweather weather map image and tile URLs with layer, time and style options

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

    • Open source
    • 8 GitHub stars
    • Cloud and infrastructure