AI Agent Hub
Back to skills
Global City Weather Forecast icon

Global City Weather Forecast

Life Service Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_20ab24cd/weather-2026.

About this skill

Problem

When users ask about weather in natural language, city, time frame, and required fields can be mixed together. The skill needs to identify the target city and turn sparse API data into a readable summary.

How It Works

  • Trigger and parameters: Recognizes requests like “Shenzhen weather” or “weather in Beijing”; falls back to Shenzhen when no city is given.
  • Data source: Calls the free wttr.in service without an API key, supporting Chinese, English, and pinyin city names.
  • Parsing: Reads current_condition fields such as temp_C, FeelsLikeC, humidity, windspeedKmph, winddir16Point, and uvIndex, then parses today’s and next two days’ maxtempC, mintempC, and hourly entries.
  • Output: Starts with a short current-condition summary, adds a table for temperature, feels-like, humidity, wind, and UV, then lists a 3-day forecast with practical tips such as bringing an umbrella or applying sunscreen.

Boundaries

Best for quick lookups and lightweight guidance, not minute-by-minute warnings. If wttr.in times out, check the network; if a city is not found, try its English name. Descriptions default to Chinese but can switch to English when the user asks in English.

Use Cases

  • Ask for Shenzhen weather today and get current temperature, feels-like, and a 3-day summary.
  • Check whether Beijing will rain and include practical tips such as umbrella or sunscreen.
  • When the user only says weather, default to Shenzhen and prompt for another city.
  • Ask for weather in Shanghai in English and receive English descriptions plus a 3-day forecast.

Best For

  • Assistant integration engineers who need a city weather Q&A flow using a no-API-key endpoint.
  • Operations staff drafting travel or field notes who need quick checks on rain and sunscreen.
  • Product reviewers of life-service skills who need to verify default city, triggers, and output tables.
  • English demo developers who need weather in Shanghai to return English descriptions and a 3-day forecast.