weather

Fetches current weather and forecasts via wttr.in and Open-Meteo APIs.

8|2|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/luojiaaoo/xpeech --skill weather-luojiaaoo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: weather
Source: https://github.com/luojiaaoo/xpeech/tree/main/xpeech/agent/skills/buildin/weather
Command: npx skills add https://github.com/luojiaaoo/xpeech --skill weather-luojiaaoo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Getting quick weather information without signing up for API keys or managing credentials is often harder than it should be. This Skill lets you retrieve current conditions and forecasts for any location using free, keyless services. ## Core Features & Use Cases - Current Conditions: Query wttr.in for compact one-line weather summaries including temperature, humidity, and wind. - Full Forecasts: Retrieve multi-day forecasts in terminal-friendly text or PNG image format. - Programmatic JSON Data: Use the Open-Meteo API as a fallback for structured JSON responses suitable for further processing. - Location Inference: Automatically detect the user's approximate location from their IP address when no city is specified. - Use Case: A user asks "What's the weather like today?" and the agent infers their location via IP, then returns a compact summary like "London: ⛅️ +8°C 71% ↙5km/h". ## Quick Start Ask the agent what the weather is like in a specific city, such as "What's the weather in New York today?"

Frequently Asked Questions about weather

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

FAQPage Schema
How do I get current weather from the command line without an API key?▼

Use curl with wttr.in, for example: curl -s "wttr.in/London?format=3". It returns a compact one-line summary like "London: ⛅️ +8°C" with no registration or API key required.

What free weather APIs work without an API key?▼

wttr.in provides formatted text and PNG weather reports, while Open-Meteo returns structured JSON forecasts. Both are free and require no authentication, making them suitable for scripts and agents.

How do I get weather data as JSON for programmatic use?▼

Query the Open-Meteo API with latitude and longitude, for example: curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true". It returns JSON with temperature, windspeed, and weathercode.

Can I get weather for a location the user did not specify?▼

Yes, you can infer the user's approximate location from their IP address by querying https://ipwho.is/ with curl, then use the resulting coordinates or city for the weather lookup.

What are the limitations of wttr.in for weather queries?▼

wttr.in is designed for human-readable terminal output rather than structured parsing, so it is less suitable for automated data pipelines. For programmatic consumption, use Open-Meteo's JSON API instead.