Weather Forecast

Use when the user asks about weather, temperature, forecast, rain, or conditions for any city — current, hourly, multi-day via wttr.in. No API key or install needed.

aashutosh396 Updated

File contents

Weather Forecast

Get weather via curl and wttr.in — no API key, nothing to install.

When to use

Any question about current weather, forecast, temperature, or conditions for a location.

Commands

curl -s "wttr.in?format=3"                # Current, auto-location, one line
curl -s "wttr.in/London"                  # Specific city
curl -s "wttr.in/New+York"                # Multi-word city
curl -s "wttr.in/Berlin?1"                # Today only
curl -s "wttr.in"                         # Full forecast (today + 2 days)
curl -s "wttr.in/London?format=j1"        # JSON for parsing
curl -s "wttr.in/Moon"                    # Moon phase
curl -s "wttr.in/Paris?format=%l:+%c+%t+(feels+like+%f)+%h+%w"   # Custom

Format codes

%c icon · %t temp · %f feels-like · %h humidity · %w wind · %p precip · %l location · %S sunrise · %s sunset

Guidelines

  • Default to the user's known city (check memory) if none given.
  • Use format=3 for quick checks, full output for detailed forecasts.
  • Always include temperature and conditions; mention "feels like" when it differs.

aashutosh396/mindpalace commit 8fcc975428

Frequently asked questions

npx get-skill add aashutosh396/weather-forecast