Weather
Use this skill when the user asks about current weather, forecasts, conditions, sunrise/sunset, or what to wear outside.
Default Location
- Read
/root/.openclaw/workspace/USER.mdand use theLocationfield as the default weather location. - If the user asks about a different place, use the location from their request instead.
- Do not expose raw coordinates. Prefer human-readable places from
USER.mdor the user's message.
wttr.in Commands
Use curl with wttr.in for weather data:
- Compact current conditions:
curl -s 'https://wttr.in/<location>?format=3' - Forecast text:
curl -s 'https://wttr.in/<location>?n&Q' - JSON for structured details:
curl -s 'https://wttr.in/<location>?format=j1'
Encode spaces as + or %20 in URLs. Keep answers concise and practical, and include units shown by wttr.in.