Weather

From kaivyy/kabot · View interactive version

Weather is an AI agent skill from the GitHub repository kaivyy/kabot. Use when users ask about current weather, temperature, rain, or near-term forecasts for a real location. Not for historical weather archives, official severe-weather alerts, aviation, marine, or climate-trend analysis.

How to use this skill

Skill file

Weather Skill

Get current weather and forecasts with Open-Meteo as the primary source and wttr.in as a fast human-readable fallback.

When to Use

Use this skill when the user asks things like:

Do not use this skill for:

Location

Always ground the request to a real location.

Open-Meteo (Primary)

Prefer Open-Meteo for current conditions and forecast data because it is structured, keyless, and easy to audit.

Geocoding

curl -s "https://geocoding-api.open-meteo.com/v1/search?name=London&count=1&language=en&format=json"

Current Weather

curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5072&longitude=-0.1276&current=temperature_2m,relative_humidity_2m,apparent_temperature,precipitation,weather_code,wind_speed_10m,wind_direction_10m&timezone=auto"

Hourly Rain / Next Few Hours

curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5072&longitude=-0.1276&hourly=temperature_2m,precipitation_probability,precipitation,weather_code,wind_speed_10m&forecast_days=2&timezone=auto"

Daily Forecast

curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5072&longitude=-0.1276&daily=weather_code,temperature_2m_max,temperature_2m_min,precipitation_probability_max&forecast_days=7&timezone=auto"

wttr.in (Fallback / Quick Readable Output)

Use wttr.in when you need a quick readable summary, a simple terminal forecast, or an image output.

One-Line Summary

curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity"

Rain Shortcut

curl -s "wttr.in/London?format=%l:+%c+%p"

Quick Forecast

curl -s "wttr.in/London?format=v2"

PNG

curl -s "wttr.in/London.png" -o weather.png

Quick Response Rules

Response Templates

Use short, grounded answers in the user's language unless they explicitly ask for a different language. Prefer concrete fields over vague wording.

Current Weather

[Location]: [Condition] [Temperature]
Feels like: [FeelsLike]
Wind: [Wind]
Humidity: [Humidity]
Source: Open-Meteo

Rain / Next Few Hours

For [Location], rain chance in the next few hours is [Probability].
If relevant, mention the highest nearby precipitation window instead of guessing.
Source: Open-Meteo

Daily Forecast

[Location] forecast:
- Today: [Condition], [Min]-[Max]
- Tomorrow: [Condition], [Min]-[Max]
- Next: [Condition], [Min]-[Max]
Source: Open-Meteo

If Location Is Missing

Ask briefly for the city/region instead of guessing.
Example: "Kota atau wilayahnya di mana?"

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.