Install
openclaw skills install tianqiGet current weather and forecasts via wttr.in and Open-Meteo. Use when: user asks in Chinese about weather, temperature, rain, wind, or short-range forecasts...
openclaw skills install tianqi面向中文用户的天气查询技能。
默认用中文回答,优先使用中文地名、摄氏度,以及“今天/明天/后天/周末”这类中文表达。
wttr.in 做快速文本天气查询,适合“今天天气怎么样”“现在多少度”。wttr.in 地名识别不稳定,先用 Open-Meteo 地理编码确认经纬度,再查预报。# One-line summary
curl "wttr.in/北京?format=3"
# 更详细的当前天气
curl "wttr.in/北京?0"
# 明天
curl "wttr.in/上海?1"
# 周视图
curl "wttr.in/杭州?format=v2"
# 自定义一行摘要
curl -s "wttr.in/深圳?format=%l:+%c+%t+(体感+%f),+风%w,+湿度%h"
# JSON
curl "wttr.in/北京?format=j1"
# 用中文地名地理编码,减少重名地点误判
curl --get "https://geocoding-api.open-meteo.com/v1/search" \
--data-urlencode "name=北京" \
--data "count=5" \
--data "language=zh" \
--data "format=json"
# 结构化天气预报
curl "https://api.open-meteo.com/v1/forecast?latitude=39.9042&longitude=116.4074&daily=weather_code,temperature_2m_max,temperature_2m_min,precipitation_probability_max,precipitation_sum&forecast_days=3&timezone=auto"
wttr.in 给一个快摘要。precipitation_probability_max 和 precipitation_sum。wttr.in 适合快查,Open-Meteo 适合结构化字段。