weather
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWeather Skill
天气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
✅ 使用本Skill的场景:
- "今天天气怎么样?"
- "今天/明天会下雨吗?"
- "[城市]的气温"
- "本周天气预报"
- 出行规划时的天气查询
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.)
❌ 请勿使用本Skill的场景:
- 历史天气数据 → 使用天气档案/API
- 气候分析或趋势 → 使用专业数据源
- 超本地化微气候数据 → 使用本地传感器
- 恶劣天气警报 → 查询官方NWS来源
- 航空/海洋天气 → 使用专业服务(如METAR等)
Location
位置要求
Always include a city, region, or airport code in weather queries.
天气查询中必须包含城市、地区或机场代码。
Commands
命令示例
Current Weather
当前天气
bash
undefinedbash
undefinedOne-line summary
One-line summary
curl "wttr.in/London?format=3"
curl "wttr.in/London?format=3"
Detailed current conditions
Detailed current conditions
curl "wttr.in/London?0"
curl "wttr.in/London?0"
Specific city
Specific city
curl "wttr.in/New+York?format=3"
undefinedcurl "wttr.in/New+York?format=3"
undefinedForecasts
天气预报
bash
undefinedbash
undefined3-day forecast
3-day forecast
curl "wttr.in/London"
curl "wttr.in/London"
Week forecast
Week forecast
curl "wttr.in/London?format=v2"
curl "wttr.in/London?format=v2"
Specific day (0=today, 1=tomorrow, 2=day after)
Specific day (0=today, 1=tomorrow, 2=day after)
curl "wttr.in/London?1"
undefinedcurl "wttr.in/London?1"
undefinedFormat Options
格式选项
bash
undefinedbash
undefinedOne-liner
One-liner
curl "wttr.in/London?format=%l:+%c+%t+%w"
curl "wttr.in/London?format=%l:+%c+%t+%w"
JSON output
JSON output
curl "wttr.in/London?format=j1"
curl "wttr.in/London?format=j1"
PNG image
PNG image
curl "wttr.in/London.png"
undefinedcurl "wttr.in/London.png"
undefinedFormat Codes
格式代码
- — Weather condition emoji
%c - — Temperature
%t - — "Feels like"
%f - — Wind
%w - — Humidity
%h - — Precipitation
%p - — Location
%l
- — 天气状况表情符号
%c - — 气温
%t - — 体感温度
%f - — 风力
%w - — 湿度
%h - — 降水量
%p - — 位置
%l
Quick Responses
快速响应示例
"What's the weather?"
bash
curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity""Will it rain?"
bash
curl -s "wttr.in/London?format=%l:+%c+%p""Weekend forecast"
bash
curl "wttr.in/London?format=v2""今天天气怎么样?"
bash
curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity""会下雨吗?"
bash
curl -s "wttr.in/London?format=%l:+%c+%p""周末天气预报"
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
- 无需API密钥(基于wttr.in)
- 存在请求频率限制;请勿频繁发送请求
- 支持全球大多数城市
- 支持机场代码:
curl wttr.in/ORD