Weather Skill
Get weather information using free services.
When to use
- User asks about weather
- User asks about forecast
- Morning briefing needs weather info
How to execute
wttr.in (Primary - No API key needed)
Quick one-liner:
curl -s "wttr.in/Seoul?format=3"
# Output: Seoul: ⛅️ +8°C
Compact format:
curl -s "wttr.in/Seoul?format=%l:+%c+%t+%h+%w"
# Output: Seoul: ⛅️ +8°C 71% ↙5km/h
Full forecast:
curl -s "wttr.in/Seoul?T"
Format codes:
%ccondition%ttemperature%hhumidity%wwind%llocation%mmoon phase
Tips:
- URL-encode spaces:
wttr.in/New+York - Airport codes:
wttr.in/ICN - Units:
?m(metric)?u(USCS) - Today only:
?1 - Current only:
?0
Open-Meteo (Fallback - JSON API)
curl -s "https://api.open-meteo.com/v1/forecast?latitude=37.5665&longitude=126.9780¤t_weather=true"
Returns JSON with temp, windspeed, weathercode.