weather

Fetch current weather or forecast data for a city via Open-Meteo API.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/walcon/opencode-example --skill weather
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weather
Source: https://github.com/walcon/opencode-example/tree/main/.opencode/skills/weather
Command: npx skills add https://github.com/walcon/opencode-example --skill weather

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides quick access to weather information for planning, travel, and daily activities by querying a reliable Open-Meteo API.

Core Features & Use Cases

  • Current weather: Retrieve current temperature, wind, and overall conditions for a given city.
  • Forecast: Retrieve daily forecast data for a specific date (temperature range, wind, and conditions).
  • Use Case: Plan a trip by checking weather in your destination city for specific dates to avoid surprises.

Quick Start

To get current weather for a city, run: npx tsx .opencode/skills/weather/scripts/get-weather.ts "City" To get forecast for a date, run: npx tsx .opencode/skills/weather/scripts/get-weather.ts "City" "YYYY-MM-DD"

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 for a city using the command line?

To retrieve current weather conditions, run `npx tsx .opencode/skills/weather/scripts/get-weather.ts "City"`. The Skill fetches temperature, wind speed, and weather conditions from Open-Meteo and displays the results for your specified city.

Can I get a weather forecast for a specific date?

Yes, you can retrieve forecast data by providing a date: `npx tsx .opencode/skills/weather/scripts/get-weather.ts "City" "YYYY-MM-DD"`. The Skill returns daily forecast temperature ranges, wind, and conditions for that date.

What data does the weather API return?

The Open-Meteo API returns city name, current or forecast temperatures, wind speed, and weather condition codes. The Skill validates your city input, geocodes it to coordinates, and queries the appropriate endpoint for current or daily forecast data.

Do I need an API key to check weather forecasts?

No API key is required. The Skill uses Open-Meteo, which provides free weather data without authentication, making it straightforward to retrieve forecasts for any city without additional setup.

Can I automate weather checks for multiple cities?

The Skill accepts a city name as a CLI argument, enabling you to run it repeatedly or script it into automation workflows. Each invocation fetches fresh weather data, supporting batch queries for planning trips across multiple destinations.