Weather Query
Use this skill to answer weather questions for a specific location.
Workflow
- Identify the requested location from the user's message.
- If the user did not provide a location, ask for one.
- Run the bundled script:
python3 scripts/weather.py "Shanghai"
Optional forecast days:
python3 scripts/weather.py "Shanghai" --days 3
- Summarize the result in the user's language. Include:
- Location
- Current temperature
- Apparent temperature
- Weather condition
- Humidity
- Wind speed
- Short forecast if requested
Notes
- The script uses Open-Meteo geocoding and forecast APIs.
- No API key is required.
- If geocoding returns multiple locations, the script uses the first match and prints the resolved location.
- Weather data changes frequently; always run the script instead of relying on memory.