Weather for Openclaw

A lightweight skill providing instant access to global weather forecasts and meteorological data directly through the command line or programmatic APIs.

mars82311111
v1.0.0
Mar 31, 2026
0
725
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install mars-weather-ai

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install mars-weather-ai using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Weather?

The Weather skill is a powerful utility designed for Openclaw Skills that enables AI agents to fetch real-time atmospheric conditions without the hassle of API key management. It leverages reliable services like wttr.in and Open-Meteo to provide data in multiple formats, including human-readable text, ANSI-colored terminal outputs, and structured JSON for automated workflows.

By integrating this into your Openclaw Skills library, you empower your agent to contextualize tasks based on environmental conditions, provide quick updates, or generate visual weather charts. The skill is built for speed and simplicity, requiring only a standard curl installation to function across various platforms.

Weather Use Cases

  • Fetching current weather conditions for specific cities or IATA airport codes.
  • Retrieving multi-day forecasts to assist with travel planning and scheduling tasks.
  • Generating weather-related images in PNG format for visual reports or dashboards.
  • Programmatically consuming meteorological data in JSON format for integration into custom data pipelines.

How Weather Works

  1. The skill identifies the requested location or defaults to the user's current IP-based location.
  2. It executes a curl command to the primary service, wttr.in, for immediate human-readable feedback.
  3. If programmatic data is required, it queries the Open-Meteo API using specific geographic coordinates.
  4. The system processes URL parameters to adjust units (Metric or USCS) and specific output formats like PNG or JSON.
  5. The refined weather data is then returned to the Openclaw Skills agent for display or further logic processing.

Weather Setup

The Weather skill relies on standard system binaries. Ensure curl is available in your environment:

# Check if curl is installed
curl --version

# Example usage for a quick weather check
curl -s "wttr.in/London?format=3"

Weather Data Schema & Taxonomy

The skill organizes data based on the requested service and format:

Service Data Format Key Metadata Fields
wttr.in Text / ANSI %l (Location), %c (Condition), %t (Temp), %h (Humidity), %w (Wind)
wttr.in PNG Visual weather chart and forecast summary
Open-Meteo JSON latitude, longitude, temperature, windspeed, weathercode

Users can customize the response by appending parameters such as ?m for metric, ?u for USCS, or ?0 for current conditions only.

Weather Advanced Features

  • Support for IATA airport codes (e.g., JFK, LHR) for precise localized weather reporting.
  • Customized formatting strings to extract specific data points like moon phases (%m) or humidity.
  • Reliable fallback mechanism using Open-Meteo for structured JSON data processing.
  • Graphical output support for generating weather snapshots in PNG format.
  • Seamless integration for multi-agent workflows within the broader Openclaw Skills ecosystem.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*