🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Weather

by @shaojie66

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: historic...

Versionv1.0.0
Downloads321
TERMINAL
clawhub install shaojie66-weather

πŸ“– About This Skill


name: weather description: "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." homepage: https://wttr.in/:help metadata: { "openclaw": { "emoji": "β˜”", "requires": { "bins": ["curl"] } } }

Weather 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
  • 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.)
  • Location

    Always include a city, region, or airport code in weather 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
  • Quick Responses

    "What's the weather?"

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

    "Will it rain?"

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

    "Weekend forecast"

    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
  • ⚑ When to Use

    TriggerAction
    - "What's the weather?"
    - "Will it rain today/tomorrow?"
    - "Temperature in [city]"
    - "Weather forecast for the week"
    - Travel planning weather checks

    πŸ“‹ Tips & Best Practices

  • 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