skills/modelscope.cn/weather-skill

weather-skill

SKILL.md

Weather Skill

Provides current weather and forecasts for any location using two free APIs:

  • Nominatim (OpenStreetMap) for geocoding locations → scripts/geocode.py
  • Open-Meteo for weather data → scripts/fetch_weather.py

Workflow

  1. Understand the user's request. Extract the location, time range, and whether they're planning travel. See examples below.
  2. Geocode the location by running scripts/geocode.py "<location>". It returns JSON with display_name, lat, lon, and an ambiguous flag. If ambiguous, ask the user to clarify.
  3. Fetch weather by running scripts/fetch_weather.py with the lat/lon and appropriate flags. See script usage below.
  4. Respond to the user with a clear summary. See example outputs below.
  5. If travel intent is detected, also read references/clothing_guide.md and include relevant clothing advice.

Scripts

Installs
7
First Seen
Mar 29, 2026