Weather for Openclaw

A zero-config weather utility for obtaining instant local forecasts and meteorological data via simple CLI commands.

denfly618
v1.0.0
Mar 15, 2026
0
895
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install denfly-skill

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 denfly-skill 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 provides developers and automated agents with a streamlined way to access real-time weather conditions and multi-day forecasts. By leveraging the power of Openclaw Skills, this tool eliminates the friction of API key management by utilizing high-quality, free services like wttr.in and Open-Meteo.

Whether you need a quick one-line status update for a dashboard or detailed JSON data for programmatic decision-making, this skill offers the flexibility to fetch weather information based on city names, airport codes, or precise GPS coordinates. It is designed for speed, efficiency, and zero-overhead integration into any technical environment.

Weather Use Cases

  • Monitoring local weather conditions directly from the terminal or an AI agent session.
  • Automating location-based tasks that depend on current temperature or precipitation.
  • Generating weather report images (PNG) for automated reports or notifications.
  • Fetching structured JSON weather data for inclusion in larger data analytics pipelines.

How Weather Works

  1. The skill identifies the target location via city name, airport code, or latitude/longitude coordinates.
  2. It sends a request to the primary provider, wttr.in, using specialized format codes to customize the output.
  3. For programmatic requirements, it can pivot to Open-Meteo to retrieve highly granular meteorological data in JSON format.
  4. The resulting data is either displayed as human-readable text, ANSI-colored terminal output, or parsed for further logic execution.

Weather Setup

To use this skill, ensure you have curl installed on your system. No API registration is required.

# Test the primary service
curl -s "wttr.in/London?format=3"

# For programmatic JSON access
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"

Weather Data Schema & Taxonomy

The skill handles data in several formats depending on the query parameters:

Format Description Example Command
Text Human-readable summary ?format=3
JSON Raw data for logic api.open-meteo.com
PNG Visual weather chart wttr.in/City.png
ANSI Full terminal forecast wttr.in/City?T

Available metadata includes temperature (%t), humidity (%h), wind speed (%w), and moon phase (%m).

Weather Advanced Features

  • Metric and USCS unit switching using ?m or ?u flags.
  • Support for IATA airport codes (e.g., JFK, LHR) for precise travel-related weather.
  • Custom output formatting using standard percentage-based codes for high-density information displays.
  • Fallback mechanism support for programmatic reliability using the Open-Meteo API.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*