Weather Test: Implementing Weather Queries in Agents per SKILL.md Specification

Preface

In environments such as Cursor and Claude Code, users often ask in natural language, “What’s the temperature in X today? Do I need to bring an umbrella?” If the model improvises answers each time, it is neither reliable nor consistent in terms of data sources and output structure. Some community members have written the query workflow into a Skill, allowing the Agent to call APIs in fixed steps and organize responses.

Below we introduce the Weather Test (@user_f6829dd1/weather-t) on SkillHub. Before installing, it is recommended to check whether the store description matches the documentation inside the package. The core capabilities discussed in this article are based on the SKILL.md inside the v0.0.1 install package (verified via skillhub install).

What Is This

The Weather Test is a skill from SkillHub’s community source, with coordinates @user_f6829dd1/weather-t, current version 0.0.1, categorized as life-service, and published by user_f6829dd1. The description in the store page and API metadata is:

Trade Polymarket weather markets using NOAA forecasts with dynamic confidence modeling and quality filtering. Use when user wants to trade temperature markets with advanced safeguards.

However, the SKILL.md obtained by downloading the same coordinates defines the Skill as a “weather data assistant”: it parses locations and time ranges, uses the Open-Meteo API family to query current weather, forecasts, and historical data, and provides lifestyle suggestions. The tag requires_api_key=false is consistent with the documentation stating “Open-Meteo is free and requires no API Key.”

SkillHub page (as of verification time): rating 100000, downloads 1400, install count 0. Page URL: https://www.skillhub.cn/skills/user_f6829dd1/weather-t.

Core Features

All of the following comes from the SKILL.md inside the v0.0.1 package, and does not include the Polymarket / NOAA trading workflow mentioned in the store description but absent from the package.

  1. Location parsing: Chinese or English place names, cities, postal codes, latitude and longitude.
  2. Time range: current, today, next N days, or a past date.
  3. Elements: temperature, apparent temperature, humidity, wind speed and direction, precipitation, pressure, UV index, air quality, etc.
  4. Lifestyle suggestions: travel, clothing, sun protection, umbrella recommendations, with phenomenon descriptions based on the WMO weather code table.
  5. Data sources (Open-Meteo):
    - Forecast: https://api.open-meteo.com/v1/forecast (forecast_days defaults to 7 days, up to 16 days)
    - Geocoding: https://geocoding-api.open-meteo.com/v1/search (name, language=zh)
    - Air quality: https://air-quality-api.open-meteo.com/v1/air-quality
    - Historical: https://archive-api.open-meteo.com/v1/archive
  6. Output structure: location and time, current conditions, forecast summary, lifestyle suggestions, extreme weather alerts (the Skill has conventions for response paragraphs).

Installation and Activation

Method 1: Have the AI install following SkillHub instructions

Send the following prompt to the current Agent (consistent with the SkillHub page):

Please install `@user_f6829dd1/weather-t` according to https://skillhub.cn/install/skillhub.md.

Method 2: SkillHub CLI

First confirm whether the CLI is available (see the SkillHub installation documentation for complete steps):

command -v skillhub && skillhub --version

When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise it will default to ./skills/ and may not be recognized:

skillhub install weather-t --namespace user_f6829dd1 --dir <your skills directory>

Common path examples (from the official installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation, refresh or restart according to the requirements of your client so that the Skill is loaded.

Typical Usage

The Skill does not provide standalone scripts; its usage is reflected in the conversational pattern described in SKILL.md. Once activated, it can be triggered in natural language, and the Agent should follow the documentation through “geocoding → requesting forecast / air quality / historical APIs → formatting output.”

Example intents in the documentation include:

  1. Current weather: “What’s the weather like in Beijing today?”
  2. Multi-day forecast: “Will it rain in Shanghai over the next three days?” (corresponds to forecast_days=3, combined with precipitation and weather_code)
  3. Comparison: “Which is hotter today, Shenzhen or Harbin?” (query in parallel, then compare temperature and apparent temperature)
  4. Clothing suggestion: “What should I wear tomorrow in Hangzhou?” (provide clothing tips based on the next day’s temperature range)
  5. Air quality: “How’s the air quality in Chengdu today?” (first get coordinates, then call the air quality API)

Example forecast request parameters (excerpt from the Skill; latitude and longitude must first be obtained from geocoding):

https://api.open-meteo.com/v1/forecast?latitude=<lat>&longitude=<lon>&current=temperature_2m,relative_humidity_2m,apparent_temperature,wind_speed_10m,wind_direction_10m,weather_code,precipitation,pressure_msl,uv_index&forecast_days=7

Users in mainland China get Celsius by default; the documentation states that Fahrenheit can be provided as needed (℉ = ℃ × 9/5 + 32).

Use Cases and Notes

Who is it for

  • Developers or individual users already using Skills in environments such as Cursor / Claude Code / Codex, who want to use Open-Meteo for reproducible weather Q&A without providing their own API Key.

Limitations and verification items

  1. Description and package content are inconsistent: The store/API description mentions Polymarket temperature markets and NOAA forecast trading; the current 0.0.1 package implements a general Open-Meteo weather query instead. If your goal is prediction market trading, you should check whether there is a newer version or another Skill, and do not assume capabilities based on the description alone.
  2. Data and compliance: Depends on Open-Meteo public network APIs and requires network access; accuracy and coverage are subject to the Open-Meteo service; the Skill itself does not make additional SLA commitments.
  3. Naming: The name in the YAML inside the package is weather, which differs from the SkillHub display name “天气测试” and the slug weather-t. When troubleshooting loading issues, use the directory name and coordinates as the basis.

Conclusion

The Weather Test (@user_f6829dd1/weather-t) is listed on SkillHub as a community Skill in the life-service category. After installation, use it according to SKILL.md, and it can embed Open-Meteo forecast and air quality queries into Agent conversations. Before use, compare the store description with the documentation in the package to confirm whether the version meets your scenario.

Official page: https://www.skillhub.cn/skills/user_f6829dd1/weather-t
API metadata entry: https://api.skillhub.cn/user_f6829dd1/weather-t

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye