weather-forecaster

Use this skill whenever the user asks about weather forecasts, weather conditions, or weekly weather outlooks for any location. Triggers include: any mention of '天气', 'weather', '预报', 'forecast', '下雨', '温度', '穿什么', or planning outdoor activities. Also use when the user asks 'should I bring an umbrella', 'what to wear', or any travel weather planning. This skill uses the free Open-Meteo API to provide 7-day weather forecasts with temperature, precipitation, wind, and UV index data, and generates a beautiful visual weather report.

16 stars

Best use case

weather-forecaster is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use this skill whenever the user asks about weather forecasts, weather conditions, or weekly weather outlooks for any location. Triggers include: any mention of '天气', 'weather', '预报', 'forecast', '下雨', '温度', '穿什么', or planning outdoor activities. Also use when the user asks 'should I bring an umbrella', 'what to wear', or any travel weather planning. This skill uses the free Open-Meteo API to provide 7-day weather forecasts with temperature, precipitation, wind, and UV index data, and generates a beautiful visual weather report.

Teams using weather-forecaster 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

$curl -o ~/.claude/skills/weather-forecaster/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/weather-forecaster/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/weather-forecaster/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How weather-forecaster Compares

Feature / Agentweather-forecasterStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use this skill whenever the user asks about weather forecasts, weather conditions, or weekly weather outlooks for any location. Triggers include: any mention of '天气', 'weather', '预报', 'forecast', '下雨', '温度', '穿什么', or planning outdoor activities. Also use when the user asks 'should I bring an umbrella', 'what to wear', or any travel weather planning. This skill uses the free Open-Meteo API to provide 7-day weather forecasts with temperature, precipitation, wind, and UV index data, and generates a beautiful visual weather report.

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.

SKILL.md Source

# Weather Forecaster Skill 🌤️

## Overview

This skill provides 7-day weather forecasts for any location worldwide using **free APIs** (no API key required):

- **Open-Meteo Geocoding API** — Convert location names to coordinates
- **Open-Meteo Forecast API** — Get detailed 7-day weather forecasts

## Workflow

### Step 1: Identify the Location

Parse the user's request to extract the location name. Examples:
- "北京未来一周天气" → location = "北京" (Beijing)
- "What's the weather in Tokyo?" → location = "Tokyo"
- "墨尔本下周会下雨吗" → location = "墨尔本" (Melbourne)

### Step 2: Geocode the Location

Use the Open-Meteo Geocoding API to convert the location name to latitude/longitude:

```
https://geocoding-api.open-meteo.com/v1/search?name={location}&count=1&language=en
```

For Chinese location names, also try with `language=zh`:
```
https://geocoding-api.open-meteo.com/v1/search?name={location}&count=1&language=zh
```

### Step 3: Fetch 7-Day Forecast

Use the Open-Meteo Forecast API:

```
https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lon}&daily=weather_code,temperature_2m_max,temperature_2m_min,apparent_temperature_max,apparent_temperature_min,precipitation_sum,precipitation_probability_max,wind_speed_10m_max,wind_direction_10m_dominant,uv_index_max,sunrise,sunset&timezone=auto&forecast_days=7
```

### Step 4: Run the Python Script

Execute the script at `scripts/weather_report.py` to fetch and format the data:

```bash
python3 scripts/weather_report.py "location_name"
```

The script will:
1. Geocode the location
2. Fetch 7-day forecast data
3. Output a formatted JSON report

### Step 5: Generate Visual Report

After getting the data, create a **React (.jsx) artifact** that displays a beautiful weather dashboard with:

- Location name and coordinates
- 7-day forecast cards showing:
  - Date and day of week
  - Weather icon/emoji based on weather code
  - High/Low temperatures
  - Precipitation probability and amount
  - Wind speed and direction
  - UV index
- Color coding for temperature (blue=cold, green=comfortable, orange=warm, red=hot)
- Precipitation warnings highlighted
- A summary paragraph with clothing/umbrella recommendations

### Weather Code Reference

| Code | Description | Emoji |
|------|------------|-------|
| 0 | Clear sky | ☀️ |
| 1 | Mainly clear | 🌤️ |
| 2 | Partly cloudy | ⛅ |
| 3 | Overcast | ☁️ |
| 45, 48 | Fog | 🌫️ |
| 51, 53, 55 | Drizzle | 🌦️ |
| 61, 63, 65 | Rain | 🌧️ |
| 66, 67 | Freezing rain | 🌧️❄️ |
| 71, 73, 75 | Snowfall | 🌨️ |
| 77 | Snow grains | 🌨️ |
| 80, 81, 82 | Rain showers | 🌧️ |
| 85, 86 | Snow showers | 🌨️ |
| 95 | Thunderstorm | ⛈️ |
| 96, 99 | Thunderstorm with hail | ⛈️🧊 |

### Response Style

- Use Chinese if the user writes in Chinese, English if the user writes in English
- Provide practical advice: 穿衣建议、是否带伞、出行建议
- Highlight extreme weather warnings
- Be friendly and conversational, like a TV weather presenter

## Error Handling

- If location not found: Ask user to provide a more specific location name or try English/Chinese alternative
- If API fails: Inform user that the weather service is temporarily unavailable
- If network is disabled: Let user know this skill requires network access to fetch weather data

Related Skills

weather

16
from diegosouzapw/awesome-omni-skill

Get weather information and forecasts using wttr.in

qweather-now

16
from diegosouzapw/awesome-omni-skill

从和风天气API获取天气数据,包括实时天气、15天预报、气象灾害预警、空气质量、生活指数等。当用户需要查询天气信息、气象预警、空气质量或提到和风天气API时使用。

openweather-api-automation

16
from diegosouzapw/awesome-omni-skill

Automate Openweather API tasks via Rube MCP (Composio). Always search tools first for current schemas.

tempest-weather

16
from diegosouzapw/awesome-omni-skill

Fetches live weather data from a WeatherFlow Tempest weather station and returns structured JSON with current conditions, wind, precipitation, and lightning. Use when the user asks about current weather, outdoor conditions, their Tempest station, wind speed, rain, lightning nearby, or any live sensor readings — even if they don't mention Tempest or API explicitly.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

clawgym

16
from diegosouzapw/awesome-omni-skill

Gym for your bot's brain. Simulates endorphin and flow states — triggers on exercise commands, intense task completion, or social highs. Makes your 🦞 think harder after a workout.

claude-scientific-skills

16
from diegosouzapw/awesome-omni-skill

Scientific research and analysis skills

claude-code-cicd

16
from diegosouzapw/awesome-omni-skill

Expert in integrating Claude Code with CI/CD pipelines. Covers headless mode for non-interactive execution, GitHub Actions and GitLab CI/CD integration, automated code review, issue triage, and PR workflows. Essential for teams wanting AI-powered automation in their development pipelines. Use when "claude code CI/CD, headless mode, GitHub Actions claude, GitLab CI claude, automated code review, PR automation, issue triage, claude-code, cicd, automation, github-actions, gitlab, headless, pipeline, devops" mentioned.

CitedResearch

16
from diegosouzapw/awesome-omni-skill

Research output with proper source citations. USE WHEN conducting research, creating sector analyses, or generating investment notes that need verifiable sources.

citations

16
from diegosouzapw/awesome-omni-skill

Automatically adds user-provided links and citations to docs/research/references.md. Use this skill whenever the user shares a URL, paper, blog post, or external reference that should be recorded.

citation-link-validator

16
from diegosouzapw/awesome-omni-skill

Validates footnote links in articles to prevent broken 404 URLs. Use when Claude needs to generate content with reference citations (research reports, technical documentation, academic articles). Supports two modes - (1) Real-time validation mode - validates each URL during content generation, ensuring zero broken links; (2) Post-validation mode - checks all footnotes in existing documents. Suitable for high-quality citation scenarios including web search data compilation, literature citation, and fact-checking tasks.

circleci-automation

16
from diegosouzapw/awesome-omni-skill

Automate CircleCI tasks via Rube MCP (Composio): trigger pipelines, monitor workflows/jobs, retrieve artifacts and test metadata. Always search tools first for current schemas.