Install
openclaw skills install weather-forecastThis skill should be used when users ask about weather forecasts, temperature information, or need to retrieve weather data for specific locations. It provid...
openclaw skills install weather-forecastThis skill enables querying weather forecasts using the Open-Meteo API, providing hourly temperature data for any location worldwide.
Activate this skill when:
The scripts/get_weather.py script provides a reliable, reusable way to fetch weather data from the Open-Meteo API. This script is used instead of writing API calls from scratch each time because:
The references/api_response_format.md contains documentation about the Open-Meteo API response structure, including:
When this skill is activated:
Extract location information from the user's query. This may include:
Convert location to coordinates:
Execute the weather script using the coordinates:
scripts/get_weather.py with latitude and longitude parametersPresent results to the user in a natural, readable format:
User: "What's the weather like in Beijing?" Action: Extract "Beijing", use coordinates (39.9042, 116.4074), run script, present forecast
User: "Will it be cold in Tokyo tomorrow?" Action: Extract "Tokyo" and "tomorrow", use coordinates (35.6762, 139.6503), run script, present tomorrow's temperature
User: "Get the temperature for latitude 52.52 and longitude 13.41" Action: Use provided coordinates directly, run script, present hourly data
User: "How hot will it be in Shanghai today?" Action: Extract "Shanghai", use coordinates (31.2304, 121.4737), run script, identify maximum temperature for today