Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add iceflower/opencode-agents-and-skills --skill "accuweather"
Install specific skill from multi-skill repository
# Description
>-
# SKILL.md
name: accuweather
description: >-
AccuWeather-based weather information lookup rules.
Use when users ask for weather forecasts, hourly forecasts, weather conditions,
sunrise/sunset times, UV index, or air quality (๋ฏธ์ธ๋จผ์ง/์ด๋ฏธ์ธ๋จผ์ง).
AccuWeather Weather Information Rules
1. Overview
AccuWeather provides detailed weather forecasts including hourly forecasts, daily forecasts, air quality, and RealFeel temperature. Use the AccuWeather website to fetch weather information.
2. URL Structure
Base URL
https://www.accuweather.com/ko/kr/{city}/{location-key}/{forecast-type}/{location-key}
URL Parameters
| Parameter | Description | Example |
|---|---|---|
{city} |
City name in Korean URL format | seoul |
{location-key} |
AccuWeather location identifier | 226081 |
{forecast-type} |
Type of forecast | See table below |
Forecast Types
| Type | Description |
|---|---|
weather-forecast |
Today's weather |
hourly-weather-forecast |
Hourly forecast |
daily-weather-forecast |
30-day daily forecast |
minute-weather-forecast |
MinuteCast (precipitation) |
air-quality-index |
Air quality |
Example URLs
# Today's weather
https://www.accuweather.com/ko/kr/seoul/226081/weather-forecast/226081
# Hourly forecast (tomorrow)
https://www.accuweather.com/ko/kr/seoul/226081/hourly-weather-forecast/226081?day=2
# Daily forecast
https://www.accuweather.com/ko/kr/seoul/226081/daily-weather-forecast/226081
3. Location Keys
Major Korean Cities
| City | Location Key |
|---|---|
| ์์ธํน๋ณ์ | 226081 |
| ๋ถ์ฐ๊ด์ญ์ | 226082 |
| ๋๊ตฌ๊ด์ญ์ | 226083 |
| ์ธ์ฒ๊ด์ญ์ | 226084 |
| ๊ด์ฃผ๊ด์ญ์ | 226085 |
| ๋์ ๊ด์ญ์ | 226086 |
| ์ธ์ฐ๊ด์ญ์ | 226087 |
| ์ธ์ข ํน๋ณ์์น์ | 2330435 |
| ๊ฐ๋ฆ์ | 226088 |
| ์ถ์ฒ์ | 226089 |
| ์ ์ฃผ์ | 226090 |
| ์ฒญ์ฃผ์ | 226091 |
| ์ ์ฃผ์ | 226092 |
| ์๊ทํฌ์ | 226093 |
Finding Location Keys
If a location key is unknown:
- Search on AccuWeather website:
https://www.accuweather.com/ko/kr/{search-term} - Use web search: "AccuWeather {location name} location key"
- Check the URL after searching for the city on AccuWeather
4. Hourly Forecast Query
URL with Day Parameter
# Today
https://www.accuweather.com/ko/kr/{city}/{key}/hourly-weather-forecast/{key}?day=1
# Tomorrow
https://www.accuweather.com/ko/kr/{city}/{key}/hourly-weather-forecast/{key}?day=2
# Day after tomorrow
https://www.accuweather.com/ko/kr/{city}/{key}/hourly-weather-forecast/{key}?day=3
Hourly Forecast Availability
IMPORTANT: AccuWeather hourly forecasts are only available for up to 3 days (today + 2 days). For dates beyond 3 days, hourly data cannot be retrieved. In such cases, inform the user and provide daily forecast instead.
| Day Parameter | Availability |
|---|---|
day=1 |
Today |
day=2 |
Tomorrow |
day=3 |
Day after tomorrow |
day=4+ |
Not available - use daily forecast |
Hourly Data Points
- Temperature (๊ธฐ์จ)
- RealFeel temperature (์ฒด๊ฐ์จ๋)
- Weather condition (๋ ์จ ์ํ)
- Precipitation probability (๊ฐ์ ํ๋ฅ )
- Humidity (์ต๋)
- Wind direction and speed (ํํฅ/ํ์)
- Air quality (๋๊ธฐ์ง)
- Cloud cover (๊ตฌ๋ฆ๋)
5. Daily Forecast Query
Daily Forecast URL
https://www.accuweather.com/ko/kr/{city}/{key}/daily-weather-forecast/{key}
Daily Data Points
- High/Low temperature (์ต๊ณ /์ต์ ๊ธฐ์จ)
- RealFeel temperature range
- Weather condition
- Precipitation probability
- UV index (์์ธ์ ์ง์)
- Wind speed
Day Parameter for Specific Date
# Day 3 (2 days from today)
https://www.accuweather.com/ko/kr/seoul/226081/daily-weather-forecast/226081?day=3
6. Sunrise/Sunset Query
Sun/Moon URL
Sunrise and sunset times are available on the weather-today page:
https://www.accuweather.com/ko/kr/{city}/{key}/weather-today/{key}
Available Data
AccuWeather provides the following sun/moon information:
| Data | Korean Term |
|---|---|
| Sunrise | ์ผ์ถ |
| Sunset | ์ผ๋ชฐ |
| Moonrise | ์์ถ |
| Moonset | ์๋ชฐ |
| Day length | ๊ฐ์กฐ ์๊ฐ |
| Moon phase | ๋ฌ ์์ |
Example Output
**ํด์ ๋ฌ**
- ์ผ์ถ: ์ค์ 6:47
- ์ผ๋ชฐ: ์คํ 6:37
- ๊ฐ์กฐ ์๊ฐ: 11์๊ฐ 50๋ถ
- ์์ถ: ์ค์ 3:20
- ์๋ชฐ: ์คํ 12:27
Alternative Source: KASI (ํ๊ตญ์ฒ๋ฌธ์ฐ๊ตฌ์)
For more precise astronomical data, use the Korea Astronomy and Space Science Institute (KASI) website:
| Service | URL |
|---|---|
| ์ผ์ถ์ผ๋ชฐ์๊ฐ๊ณ์ฐ | https://astro.kasi.re.kr/life/pageView/9 |
| ์๋ณ ํด/๋ฌ ์ถ๋ชฐ์๊ฐ | https://astro.kasi.re.kr/life/pageView/6 |
KASI provides:
- Sunrise/sunset times (์ผ์ถ/์ผ๋ชฐ)
- Moonrise/moonset times (์์ถ/์๋ชฐ)
- Civil twilight (์๋ฏผ๋ฐ๋ช )
- Nautical twilight (ํญํด๋ฐ๋ช )
- Astronomical twilight (์ฒ๋ฌธ๋ฐ๋ช )
7. UV Index Query
UV Index in Daily Forecast
UV index is available in daily forecast and weather-today pages:
# Daily forecast with UV index
https://www.accuweather.com/ko/kr/{city}/{key}/daily-weather-forecast/{key}
UV Index Scale
| Index Range | Korean Level | English Level |
|---|---|---|
| 0-2 | ์ข์ | Good |
| 3-5 | ๋ณดํต | Moderate |
| 6-7 | ํด๋ก์ (๋ฏผ๊ฐ ๊ทธ๋ฃน) | High |
| 8-10 | ๊ฑด๊ฐ์ ํด๋ก์ | Very High |
| 11+ | ๋งค์ฐ ํด๋ก์ | Extreme |
UV Index Output Example
- ์์ธ์ ์ง์: 6 (ํด๋ก์ - ๋ฏผ๊ฐ ๊ทธ๋ฃน)
8. Air Quality Query
Air Quality URL
https://www.accuweather.com/ko/kr/{city}/{key}/air-quality-index/{key}
AQI (Air Quality Index)
AccuWeather provides comprehensive air quality data including:
| Pollutant | Korean Name | Description |
|---|---|---|
| PM2.5 | ์ด๋ฏธ์ธ๋จผ์ง | Particles โค 2.5 micrometers |
| PM10 | ๋ฏธ์ธ๋จผ์ง | Particles โค 10 micrometers |
| O3 | ์ค์กด | Ground-level ozone |
| NO2 | ์ด์ฐํ์ง์ | Nitrogen dioxide |
| SO2 | ์ด์ฐํํฉ | Sulfur dioxide |
| CO | ์ผ์ฐํํ์ | Carbon monoxide |
AQI Scale
| AQI Range | Korean Level | English Level | Health Impact |
|---|---|---|---|
| 0-19 | ์๋ฒฝํจ | Perfect | Suitable for all outdoor activities |
| 20-49 | ๋ณดํต | Fair | Acceptable for most people |
| 50-99 | ๋์จ | Poor | Sensitive groups may be affected |
| 100-149 | ๊ฑด๊ฐ์ ํด๋ก์ | Unhealthy | Limit outdoor activities |
| 150-249 | ๊ฑด๊ฐ์ ๋งค์ฐ ํด๋ก์ | Very Unhealthy | Avoid outdoor activities |
| 250+ | ์ํ | Hazardous | Everyone should avoid outdoor exposure |
Air Quality Output Example
**๋๊ธฐ์ง**
- AQI: 55 (๋์จ)
- PM2.5 (์ด๋ฏธ์ธ๋จผ์ง): 30 ยตg/mยณ (๋ณดํต)
- PM10 (๋ฏธ์ธ๋จผ์ง): 17 ยตg/mยณ (์๋ฒฝํจ)
- ์ค์กด (O3): 50 ยตg/mยณ (์๋ฒฝํจ)
9. Output Format
Hourly Forecast Table
Present hourly data in a table format:
| ์๊ฐ | ๊ธฐ์จ | ์ฒด๊ฐ์จ๋ | ๋ ์จ | ๊ฐ์ํ๋ฅ | ์ต๋ | ํํฅ/ํ์ |
|------|------|----------|------|----------|------|-----------|
| 0์ | 3โ | 4โ | ํ๋ฆผ | 0% | 56% | ๋ถ์ 6km/h |
Daily Forecast Summary
**๋ ์ง** (์์ผ)
- ๋ ์จ: [์ํ]
- ๊ธฐ์จ: ์ต์ Xโ / ์ต๊ณ Yโ
- ์ฒด๊ฐ์จ๋: Xโ ~ Yโ
- ๊ฐ์ํ๋ฅ : X%
- ์์ธ์ ์ง์: X (๋ฑ๊ธ)
- ํ์: X km/h
Air Quality Summary
**๋๊ธฐ์ง**
- AQI: X (๋ฑ๊ธ)
- ์ด๋ฏธ์ธ๋จผ์ง(PM2.5): X ยตg/mยณ (๋ฑ๊ธ)
- ๋ฏธ์ธ๋จผ์ง(PM10): X ยตg/mยณ (๋ฑ๊ธ)
10. Weather Terms (Korean)
| Korean Term | English Term |
|---|---|
| ๋ง์ | Clear/Sunny |
| ๋์ฒด๋ก ๋ง์ | Mostly clear |
| ์ผ๋ถ ํ์ฐฝ | Partly sunny |
| ๊ฐํ์ ์ผ๋ก ํ๋ฆผ | Intermittent clouds |
| ์ฝ๊ฐ ํ๋ฆผ | Mostly cloudy |
| ๋์ฒด๋ก ํ๋ฆผ | Mostly cloudy |
| ํ๋ฆผ | Cloudy |
| ๊ตฌ๋ฆ์ด ์ค์ด๋ฆ | Decreasing clouds |
| ์ ์ฐจ ํ๋ ค์ง | Increasing clouds |
| ๋น | Rain |
| ์๋๊ธฐ | Shower |
| ๊ฐ๋ฒผ์ด ๋น | Light rain |
| ๋ | Snow |
| ๋น ๋๋ ๋ | Rain or snow |
| ์ฒ๋ฅ | Thunderstorm |
11. Best Practices
Query Strategy
- For current weather: Use
weather-forecastpage - For hourly forecast: Use
hourly-weather-forecastwithdayparameter - For multi-day forecast: Use
daily-weather-forecast - For sunrise/sunset: Use
weather-todaypage - For air quality: Use
air-quality-indexpage
Information Prioritization
When user asks for weather without specifying details:
- Temperature (high/low or current)
- Weather condition
- Precipitation probability
- Wind information
- UV index and Air quality (if relevant)
- Sunrise/sunset (if relevant)
Time Reference
- Always clarify the date being referenced (today, tomorrow, specific date)
- Use 24-hour format for time in Korean context
- Note the forecast issuance time if available
Attribution
Always cite AccuWeather as the source:
์ถ์ฒ: AccuWeather
12. Limitations
- AccuWeather website may change structure; adapt as needed
- Some detailed data may require JavaScript rendering
- Location keys may change; verify periodically
- Forecast accuracy decreases with longer time ranges
- Hourly forecasts are only available for up to 3 days (day=1 to day=3). For dates beyond 3 days, only daily forecasts can be provided.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.