weather

Fetches current weather conditions and forecasts from wttr.in via web_fetch or curl.

1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/JEROME-PRAKASH-L/openclaw --skill weather-jerome-prakash-l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weather
Source: https://github.com/JEROME-PRAKASH-L/openclaw/tree/main/skills/weather
Command: npx skills add https://github.com/JEROME-PRAKASH-L/openclaw --skill weather-jerome-prakash-l

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl.

What problem does it solve? Getting quick, accurate weather information for a city, airport code, or coordinates requires querying an external service and parsing its response correctly. This Skill standardizes how to retrieve current conditions, rain, temperature, and multi-day forecasts from wttr.in without manual API research. ## Core Features & Use Cases - Current Conditions & Forecasts: Retrieve temperature, feels-like, precipitation, humidity, wind, and daily forecasts using wttr.in JSON output (format=j2/j1). - Dual Retrieval Paths: Prefer the web_fetch tool for safer fetching, with a curl fallback when web_fetch is unavailable or disabled. - Custom Format Strings: Use wttr.in format tokens (%l, %c, %t, %f, %w, %h, %p) for compact one-line summaries. - Use Case: Before planning a weekend trip, ask for the forecast in New York and get a summarized report of conditions, temperature range, and precipitation pulled from wttr.in. ## Quick Start Ask the assistant for the current weather and 3-day forecast for London using the weather skill.

Frequently Asked Questions about weather

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get the current weather for a city from the command line?

Query wttr.in with curl using a format string, for example: curl "https://wttr.in/London?format=3" for a short summary or "?format=j1" for full JSON. Quote the URL and prefer HTTPS for reliable results.

What JSON fields does wttr.in return for weather data?

The JSON response includes current_condition with temperature, feels-like, precipitation, humidity, and wind fields, plus a weather array with date, maxtempC, and mintempC for forecasts. Use format=j2 to omit bulky hourly data.

Should I use web_fetch or curl to fetch weather data?

Use web_fetch first when available, since it is safer than shell curl and handles output caps well. Fall back to curl only when web_fetch is unavailable or disabled, always quoting URLs and setting a timeout.

Why does wttr.in return HTML instead of JSON?

wttr.in serves browser-oriented HTML when it detects a browser-like User-Agent. Request JSON explicitly with format=j1 or j2 and use text extraction mode to avoid parsing HTML output.

When should I not use wttr.in for weather information?

Avoid wttr.in for severe weather alerts, aviation, marine, or official decisions, where official local weather services are required. It also does not provide historical climate data or hyper-local microclimate readings.