Weather Query Skill for Openclaw

A precision tool for AI agents to query and report real-time global weather conditions, including temperature, humidity, and wind speed.

diavu
v1.0.0
Mar 4, 2026
0
193
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install my-weather-query

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 my-weather-query 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 Query Skill?

The Weather Query Skill is a specialized module designed for AI agents to fetch and process meteorological data from major cities worldwide. As a key component of Openclaw Skills, it allows developers to provide users with accurate, real-time weather information through natural language interaction.

This skill focuses on delivering high-quality, formatted Chinese responses that include essential atmospheric metrics like temperature (Celsius), humidity, and wind power. It is built to bridge the gap between complex weather APIs and user-friendly conversational interfaces, ensuring that data is both accessible and actionable.

Weather Query Skill Use Cases

  • Inquiring about current weather conditions in specific cities like Beijing or New York.
  • Checking rain forecasts for upcoming travel or outdoor activities in the next 48 to 72 hours.
  • Obtaining specific environmental data such as humidity levels and wind strength for localized planning.
  • Providing daily weather briefings as part of a broader productivity workflow using Openclaw Skills.

How Weather Query Skill Works

  1. The AI agent identifies a weather-related intent and extracts the target city and requested timeframe from the user's message.
  2. The skill initiates a network request to a verified weather API to retrieve live meteorological data.
  3. Raw data is parsed to extract core attributes: temperature, weather status (sunny, rainy, etc.), humidity, and wind power.
  4. The skill generates a structured response beginning with the city and date, followed by detailed conditions and a friendly suggestion.
  5. If the location is ambiguous or the network is unavailable, the skill executes predefined error-handling protocols to guide the user.

Weather Query Skill Setup

To integrate this capability into your project, follow these steps within the Openclaw Skills framework:

# Install the weather query skill via the CLI
openclaw install weather-query

# Configure required network permissions in your skill configuration file
# Ensure your environment has access to the target weather API endpoints

Weather Query Skill Data Schema & Taxonomy

Field Type Description
city String The target city name extracted from user input (Required)
time String The forecast window, e.g., today, tomorrow, day after (Optional)
temp Number Current or forecasted temperature in Celsius
status String General weather condition (e.g., Clear, Overcast, Rain)
humidity String Percentage of atmospheric moisture
wind String Wind direction and force level

Weather Query Skill Advanced Features

  • Temporal parsing for multi-day queries (today, tomorrow, and the day after).
  • Contextual suggestions based on weather conditions (e.g., suggesting an umbrella during rain).
  • Intelligent location disambiguation that prompts for city names when inputs are vague.
  • Robust error handling for unsupported locations and network connectivity issues within the Openclaw Skills environment.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*