Install
openclaw skills install weather-openmeteoGet current weather and forecasts using Open-Meteo API (no API key required). Optimized for PowerShell environments with Chinese support.
openclaw skills install weather-openmeteoA reliable weather skill using Open-Meteo API, specifically optimized for PowerShell environments with full Chinese support.
# Navigate to skill directory
cd ~/.openclaw/workspace/skills/weather-openmeteo
# Get current weather (English version)
.\weather-en.ps1 -City Shanghai
# Get current weather (Chinese version)
.\weather-cn.ps1 -City Beijing
https://api.open-meteo.com/v1/forecast?
latitude=31.2304&
longitude=121.4737&
current_weather=true&
timezone=Asia/Shanghai
https://api.open-meteo.com/v1/forecast?
latitude=31.2304&
longitude=121.4737&
daily=weathercode,temperature_2m_max,temperature_2m_min,precipitation_sum&
timezone=Asia/Shanghai
| Code | English | Chinese |
|---|---|---|
| 0 | Clear sky | 晴天 |
| 1 | Mainly clear | 主要晴朗 |
| 2 | Partly cloudy | 部分多云 |
| 3 | Overcast | 多云 |
| 45 | Fog | 雾 |
| 48 | Depositing rime fog | 雾凇 |
| 51-55 | Drizzle | 雨 |
| 61-65 | Rain | 雨 |
| 71-77 | Snow | 雪 |
| 80-86 | Rain showers | 雨 |
| 95-99 | Thunderstorm | 雷暴 |
=== Current Weather - Shanghai ===
Time: 2026-03-03T17:45
Temperature: 8.7C
Wind speed: 12.0 km/h
Wind direction: 16 degrees
Weather: Overcast
# Set execution policy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Edit the $cityCoords hash table to add new cities:
"CityName" = @{ latitude = 纬度; longitude = 经度; timezone = "Asia/Shanghai" }
SKILL.md - Skill descriptionREADME.md - Usage instructionsUSAGE.md - Detailed usage guideCREATION.md - Creation process documentationweather.ps1 - Complete script (Chinese)weather-en.ps1 - English versionweather-cn.ps1 - Chinese version (Pinyin)weather-simple.ps1 - Simplified versionexample.ps1 - Usage examples| Feature | Original | New Skill |
|---|---|---|
| API Key | Not needed | Not needed |
| PowerShell Support | Problematic | Optimized |
| Chinese Display | Limited | Full support |
| City Database | None | Built-in Chinese cities |
| Error Handling | Basic | Comprehensive |
| Service | API Key | PowerShell | Chinese |
|---|---|---|---|
| Open-Meteo | ❌ | ✅ | ✅ |
| wttr.in | ❌ | ❌ | Limited |
| WeatherAPI | ✅ | ✅ | ✅ |
MIT License - Free to use and modify