weather ยท git:20260308.b387a85 ยท 2026-03-08 ยท sha256 0970f2a7ed28cfb8
weather git:20260308.b387a85A
Immutable. This exact content is served forever at /api/v1/blob/0970f2a7ed28cfb8.
---
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
metadata: { "openclaw": { "emoji": "๐ค๏ธ", "requires": { "bins": ["curl"] } } }
---
# Weather Skill
Get current weather conditions and forecasts.
## 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
### Units
- **Metric (recommended):** add `&m` (ยฐC, km/h)
- **US:** add `&u` (ยฐF, mph)
### Current Weather
```bash
# One-line summary
curl "wttr.in/London?format=3&m"
# Detailed current conditions
curl "wttr.in/London?0&m"
# Specific city
curl "wttr.in/New+York?format=3&u"
```
### Forecasts
```bash
# 3-day forecast
curl "wttr.in/London?m"
# Week forecast
curl "wttr.in/London?format=v2&m"
# Specific day (0=today, 1=tomorrow, 2=day after)
curl "wttr.in/London?1&m"
```
### Format Options
```bash
# One-liner
curl "wttr.in/London?format=%l:+%c+%t+%w"
# JSON output
curl "wttr.in/London?format=j1"
# PNG image
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?"**
```bash
curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity&m"
```
**"Will it rain?"**
```bash
curl -s "wttr.in/London?format=%l:+%c+%p&m"
```
**"Weekend forecast"**
```bash
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`