← スキル一覧に戻る

swiss-weather
by peschee
Collection of claude code (and opencode) shared things
⭐ 0🍴 0📅 2026年1月16日
SKILL.md
name: swiss-weather description: Retrieve current weather and today's forecast for Swiss locations using Open-Meteo APIs. Accepts city names or 4-digit Swiss postal codes. argument-hint: metadata: author: peschee version: "0.0.1"
Swiss Weather (CH)
Retrieve current weather and today's forecast for Swiss locations using Open-Meteo.
When to use
- User asks for weather in Switzerland.
- Input is a Swiss city/place name or 4-digit Swiss ZIP code.
Inputs
query: Place name or Swiss ZIP (e.g.,Zürich,8001).
APIs
- Geocoding:
https://geocoding-api.open-meteo.com/v1/search - Forecast:
https://api.open-meteo.com/v1/forecast
Steps
- Detect ZIP vs place name.
- ZIP pattern:
^\d{4}$→ treat as postal code. - Otherwise treat as place name.
- ZIP pattern:
- Geocode with Switzerland filter:
name=<query>count=1language=decountryCode=CH
- If no results, return:
Kein Ort in der Schweiz gefunden für "<query>". - Fetch weather using resolved
latitudeandlongitude:timezone=autocurrent=temperature_2m,apparent_temperature,weather_code,wind_speed_10m,precipitationdaily=temperature_2m_max,temperature_2m_min,weather_code,precipitation_sum,sunrise,sunsetforecast_days=1
- Map
weather_codeto a short German description (see table). - Output a concise summary in German (see template).
Output template (German)
Wetter für <Ort>, Schweiz
Aktuell: <temp>°C (gefühlt <feels>°C), <Bedingung>
Wind: <wind> km/h | Niederschlag: <precip> mm
Tagesprognose:
Höchst: <max>°C | Tiefst: <min>°C
Bedingungen: <Bedingung>
Niederschlag: <sum> mm erwartet
Sonnenaufgang: <sunrise> | Sonnenuntergang: <sunset>
WMO weather code mapping (concise)
- 0: Klar
- 1–3: Leicht bewölkt bis bedeckt
- 45, 48: Nebel
- 51–55: Nieselregen
- 61–65: Regen
- 71–75: Schnee
- 80–82: Regenschauer
- 95–99: Gewitter
スコア
総合スコア
45/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です