Get current weather and forecasts from MeteoSwiss (official Swiss weather service). Use when querying Swiss weather data, local measurements from Swiss weather stations, or Swiss-specific forecasts. Provides real-time measurements (temperature, humidity, wind, precipitation, pressure) from 100+ Swiss stations and multi-day forecasts by postal code. Ideal for Swiss locations - more accurate than generic weather services for Switzerland.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install swissweather或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install swissweather⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/swissweather/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: swissweather description: Get current weather and forecasts from MeteoSwiss (official Swiss weather service). Use when querying Swiss weather data, local measurements from Swiss weather stations, or Swiss-specific forecasts. Provides real-time measurements (temperature, humidity, wind, precipitation, pressure) from 100+ Swiss stations and multi-day forecasts by postal code. Ideal for Swiss locations - more accurate than generic weather services for Switzerland. ---
Get current weather measurements and forecasts from MeteoSwiss, the official Swiss Federal Office of Meteorology and Climatology.
Get real-time measurements from a specific Swiss weather station:
Option 1: Shell script (no dependencies)
scripts/current_weather_curl.sh --station RAG
Option 2: Python script (requires: pip3 install requests)
scripts/current_weather.py --station RAG
Example output:
Station: RAG
Time: 2026-01-15 11:40 UTC
Temperature (°C)........................ 8.6
Rel. humidity (%)...................... 56.3
Wind speed (km/h)...................... 6.8
Precipitation (mm)..................... 0.0
Popular stations:
scripts/current_weather_curl.sh --list
# or
scripts/current_weather.py --list
Returns 100+ Swiss weather stations with codes and last update time.
Get multi-day weather forecast:
scripts/forecast.py 8640 # Rapperswil-Jona
scripts/forecast.py 8001 --days 7 # Zurich, 7-day forecast
Note: The forecast API may occasionally be unstable. If it fails, fall back to current weather measurements.
Updated every 10 minutes from automated stations:
Multi-day forecasts by Swiss postal code:
Choose the nearest station to your location:
Tip: Avoid mountain stations for valley locations due to altitude differences.
See references/api_info.md for complete station list and details.
All scripts support --json flag for programmatic use:
scripts/current_weather.py --station RAG --json
scripts/forecast.py 8640 --json
Show all current measurements:
scripts/current_weather.py --all
scripts/current_weather.py --listData updates every 10 minutes. Cache responses appropriately:
# Cache current weather for 5-10 minutes
# Cache forecasts for 1-2 hours
See references/api_info.md for:
pip3 install requests
Forecast API fails: The MeteoSwiss app API occasionally changes. If forecast.py fails, use current weather measurements instead, or check references/api_info.md for alternative methods.
Station not found: Use --list to see available stations. Station codes are 3-letter abbreviations (case-insensitive).
Missing data: Some stations don't measure all parameters. Look for - or N/A in output.
安装 Swiss-Weather 后,可以对 AI 说这些话来触发它
Help me get started with Swiss-Weather
Explains what Swiss-Weather does, walks through the setup, and runs a quick demo based on your current project
Use Swiss-Weather to get current weather and forecasts from MeteoSwiss (official Swiss w...
Invokes Swiss-Weather with the right parameters and returns the result directly in the conversation
What can I do with Swiss-Weather in my data & analytics workflow?
Lists the top use cases for Swiss-Weather, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/swissweather/ 目录(个人级,所有项目可用),或 .claude/skills/swissweather/(项目级)。重启 AI 客户端后,用 /swissweather 主动调用,或让 AI 根据上下文自动发现并使用。
Swiss-Weather 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Swiss-Weather 可免费安装使用。请查阅仓库了解许可证信息。
Get current weather and forecasts from MeteoSwiss (official Swiss weather service). Use when querying Swiss weather data, local measurements from Swiss weather stations, or Swiss-specific forecasts. Provides real-time measurements (temperature, humidity, wind, precipitation, pressure) from 100+ Swiss stations and multi-day forecasts by postal code. Ideal for Swiss locations - more accurate than generic weather services for Switzerland.
Automate my data & analytics tasks using Swiss-Weather
Identifies repetitive steps in your workflow and sets up Swiss-Weather to handle them automatically
Swiss-Weather 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。