name: weather description: Weather and forecasts (no API key). One wttr.in fetch by default; Open-Meteo if that fails. Chat-style answers — see “How to answer”. homepage: https://wttr.in/:help metadata: { "clawdbot": { "emoji": "🌤️", "requires": { "bins": ["curl"] } } } tags: [weather, forecast, wttr, open-meteo]
Free: wttr.in (text) and Open-Meteo (JSON). No keys.
Prefer a short forecast to save tokens and latency:
https://wttr.in/PLACE?2&m — spaces → +. 2 = two-day forecast, m = metric.?2 is not enough: https://wttr.in/PLACE?T&m (T = full terminal layout).If the body looks like a real forecast → summarize and stop. No Open-Meteo unless wttr failed, error page, or you need JSON.
Chat, not a datasheet: short intro on how it feels, then compact day lines (date, °C, rain when it matters). No lat/long, WMO codes, or bold datasheet headings unless the user asked for technical detail.
| Goal | Example |
|---|---|
| Short (default), 1–2 days | curl -s "wttr.in/London?2&m" |
| Full week-style table | curl -s "wttr.in/London?T&m" |
| One line now | curl -s "wttr.in/London?format=3" |
| Custom one-liner | curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w" |
Tips: + for spaces; ?m / ?u units; ?1 today only; ?0 now only; airports wttr.in/JFK; PNG wttr.in/Berlin.png.
Hosts: geocoding-api.open-meteo.com, api.open-meteo.com only — not open-meteo.com HTML.
Flow (max 2 geocode + 1 forecast):
https://geocoding-api.open-meteo.com/v1/search?name=PLACE&count=10 (spaces as +)results missing/empty: one retry — shorter name + countryCode Pick the row whose admin3/admin2/admin1 matches the user phrase.https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON&daily=temperature_2m_max,temperature_2m_min,precipitation_probability_max,weathercode&forecast_days=7&timezone=auto — extend forecast_days to 7–16 if they asked for more days.Current only: curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"
JSON: daily.time, temperature_2m_max / _min, precipitation_probability_max, weathercode — translate codes to plain words (see weather codes); never paste codes to the user unless asked.
小葱技能站7w4.net,专业的AI技能分享平台。
Named place — current weather or forecast.
这个天气 Skill 质量良好,使用免费数据源无需注册 key,文档清晰说明了使用策略和回答格式。主要优点是查询策略设计合理(短查询优先),回答风格友好(口语化而非冰冷数据)。不足之处是缺少示例演示,用户难以直观了解效果;部分文档内容可能被截断。总体而言是一个功能明确、指导详细的天气助手 Skill,但配套示例和完整性有待加强。