weather-forecast
This skill should be used when users ask about weather forecasts, temperature information, or need to retrieve weather data for specific locations. It provides access to the Open-Meteo weather API for getting hourly temperature forecasts based on latitude and longitude coordinates.
Best use case
weather-forecast is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
This skill should be used when users ask about weather forecasts, temperature information, or need to retrieve weather data for specific locations. It provides access to the Open-Meteo weather API for getting hourly temperature forecasts based on latitude and longitude coordinates.
Teams using weather-forecast should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/weather-forecast/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How weather-forecast Compares
| Feature / Agent | weather-forecast | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
This skill should be used when users ask about weather forecasts, temperature information, or need to retrieve weather data for specific locations. It provides access to the Open-Meteo weather API for getting hourly temperature forecasts based on latitude and longitude coordinates.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
SKILL.md Source
# Weather Forecast Skill This skill enables querying weather forecasts using the Open-Meteo API, providing hourly temperature data for any location worldwide. ## When to Use This Skill Activate this skill when: - Users ask for weather information or forecasts - Users inquire about temperatures at specific locations - Users mention weather-related queries that require current or future data - Users provide location names and expect weather details ## Skill Components ### Scripts The `scripts/get_weather.py` script provides a reliable, reusable way to fetch weather data from the Open-Meteo API. This script is used instead of writing API calls from scratch each time because: - API endpoints and parameters need to be consistent - Error handling for network requests is standardized - JSON parsing and data extraction is automated - The script can be executed without loading into context ### References The `references/api_response_format.md` contains documentation about the Open-Meteo API response structure, including: - Request parameters (latitude, longitude, hourly data types) - Response format and field meanings - Time zone handling - Error conditions ## Workflow When this skill is activated: 1. **Extract location information** from the user's query. This may include: - City names (e.g., "Beijing", "Shanghai", "New York") - Specific coordinates (latitude, longitude) - Descriptive locations (e.g., "my current location") 2. **Convert location to coordinates**: - If city name is provided, use geocoding to get latitude and longitude - If coordinates are provided directly, use them as-is - Common city coordinates (saved in memory): Beijing (39.9042, 116.4074), Shanghai (31.2304, 121.4737), New York (40.7128, -74.0060), London (51.5074, -0.1278), Tokyo (35.6762, 139.6503) 3. **Execute the weather script** using the coordinates: - Run `scripts/get_weather.py` with latitude and longitude parameters - The script returns structured weather data including hourly temperatures 4. **Present results** to the user in a natural, readable format: - Summarize key information (current temperature, high/low, forecast) - Include relevant time information (next 24 hours or specific times mentioned) - Use units appropriate to the context (Celsius by default, Fahrenheit if requested) ## Important Notes - The Open-Meteo API provides hourly forecasts, not just current weather - Temperature values are in Celsius by default - The API is free and requires no authentication - Coordinate precision: up to 4 decimal places for better accuracy - If coordinates are not available for a location, inform the user and ask for coordinates or a different location ## Example Interactions User: "What's the weather like in Beijing?" Action: Extract "Beijing", use coordinates (39.9042, 116.4074), run script, present forecast User: "Will it be cold in Tokyo tomorrow?" Action: Extract "Tokyo" and "tomorrow", use coordinates (35.6762, 139.6503), run script, present tomorrow's temperature User: "Get the temperature for latitude 52.52 and longitude 13.41" Action: Use provided coordinates directly, run script, present hourly data User: "How hot will it be in Shanghai today?" Action: Extract "Shanghai", use coordinates (31.2304, 121.4737), run script, identify maximum temperature for today
Related Skills
Demand Forecasting Framework
Build accurate demand forecasts using multiple methodologies. Combines statistical models with market intelligence for actionable predictions.
Cash Flow Forecast
Build a 13-week rolling cash flow forecast from your actual numbers.
weather-plus
获取全球城市天气信息和预报。使用场景包括查询当前天气、未来7天预报、空气质量、穿衣建议等。适用于用户问天气、温度、预报等。
weather-checker
Get current weather information for any city
marine-forecast
Marine and sailing weather via Open-Meteo. Waves, swell, sea temperature, wind, tides, ocean currents, and sailing assessments. Free, no API key, global coverage.
weather-openmeteo
Get current weather and forecasts using Open-Meteo API (no API key required). Optimized for PowerShell environments with Chinese support.
Weather&Webcam
Fetches current weather from Open-Meteo API and automatically captures a live webcam image from Meteoblue or Windy for the requested location. Use it when the user asks for the weather and wants to see a real image of the current conditions.
shuzhi-weather
This skill should be used when users need to query weather information via the Shuzhi Weather API with HMAC-SHA256 authentication. It provides hourly weather forecasts based on latitude and longitude coordinates. Users must configure app_key and app_secret in ~/.openclaw/skills/shuzhi-weather/config.json before using this skill.
funding-trend-forecaster
Predict funding trend shifts using NLP analysis of grant abstracts from NIH, NSF, and Horizon Europe
polymarket-weather-trader
Trade Polymarket weather markets using NOAA (US) and Open-Meteo (international) forecasts via Simmer API. Inspired by gopfan2's $2M+ strategy. Use when user wants to trade temperature markets, automate weather bets, check forecasts, or run gopfan2-style trading.
soaring-weather
Segelflug- und Thermikvorhersage mit Thermik-Score (0-10). Nutze diesen Skill wenn der User nach Segelflugwetter, Thermik, Streckenflugbedingungen, Flugwetter fuer Segelflieger oder Gleitschirmflieger fragt - auch indirekt wie "lohnt sich Samstag fliegen?", "wie wird die Thermik?", "Segelflugwetter Wochenende?" oder "kann ich am Sonntag einen Streckenflug machen?" oder "Wettercheck Werdenfels". Der Skill ruft Open-Meteo (ICON-D2) ab und liefert eine Profi-Einschaetzung mit Tagesablauf, Steigwerten, Basishöhe, Alpen-Besonderheiten (Foehn, Hangflug) und Warnungen.
weather — 天气查询技能
Get current weather and forecasts (no API key required).