| name | weather |
| description | Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed. |
| homepage | https://wttr.in/:help |
Weather Skill
Get current weather conditions and forecasts.
Metis / magic-cli(必读)
- 优先使用内置
weather 工具(HTTP 直连 wttr.in,不要用 Shell 执行 curl)。在 Windows 上 Shell 往往会走 PowerShell,易出现 Invoke-WebRequest 交互或参数解析问题。
- 地点尽量用 英文(如
Nanjing、Beijing),与工具参数一致。
- 下列
curl 示例仅作 原理说明 或你在 非 Metis 环境 下手动验证时使用;在本 CLI / 网关内以 weather 工具为准。
When to Use
✅ USE this skill when:
- "What's the weather?"
- "Will it rain today/tomorrow?"
- "Temperature in [city]"
- "Weather forecast for the week"
- Travel planning weather checks
When NOT to Use
❌ DON'T use this skill when:
- Historical weather data → use weather archives/APIs
- Climate analysis or trends → use specialized data sources
- Hyper-local microclimate data → use local sensors
- Severe weather alerts → check official NWS sources
- Aviation/marine weather → use specialized services (METAR, etc.)
Location
Always include a city, region, or airport code in weather queries.
Commands
Current Weather
curl "wttr.in/London?format=3"
curl "wttr.in/London?0"
curl "wttr.in/New+York?format=3"
Forecasts
curl "wttr.in/London"
curl "wttr.in/London?format=v2"
curl "wttr.in/London?1"
Format Options
curl "wttr.in/London?format=%l:+%c+%t+%w"
curl "wttr.in/London?format=j1"
curl "wttr.in/London.png"
Format Codes
%c — Weather condition emoji
%t — Temperature
%f — "Feels like"
%w — Wind
%h — Humidity
%p — Precipitation
%l — Location
Quick Responses
"What's the weather?"
curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity"
"Will it rain?"
curl -s "wttr.in/London?format=%l:+%c+%p"
"Weekend forecast"
curl "wttr.in/London?format=v2"
Notes
- No API key needed (uses wttr.in)
- Rate limited; don't spam requests
- Works for most global cities
- Supports airport codes:
curl wttr.in/ORD