Weather

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.

lidge-jun 074c4c9 1.5 KB Updated

File contents

Weather Skill

Get current weather conditions and forecasts.

Scope

Current conditions and forecasts for any city, region, or airport code. For historical data, climate analysis, severe alerts, or aviation/marine weather, use specialized services instead.

Always include a location in queries.

Commands

Current Weather

# One-line summary
curl "wttr.in/London?format=3"

# Detailed current conditions
curl "wttr.in/London?0"

# Specific city
curl "wttr.in/New+York?format=3"

Forecasts

# 3-day forecast
curl "wttr.in/London"

# Week forecast
curl "wttr.in/London?format=v2"

# Specific day (0=today, 1=tomorrow, 2=day after)
curl "wttr.in/London?1"

Format Options

# 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

Notes

  • No API key needed (uses wttr.in)
  • Rate limited — avoid rapid repeated requests
  • Works for most global cities and airport codes (curl wttr.in/ORD)

lidge-jun/cli-jaw-skills/tree/main/weather commit 074c4c9000

Frequently asked questions

npx skillmds@latest add lidge-jun/weather