← 返回 Skills 市场
nikolicjakov

Croatia Weather

作者 Jakov Nikolić · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
103
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install croatia-weather
功能描述
Swiss-army knife for Croatian weather — 27 commands covering current conditions, forecasts (7-day, 3-day, 3-hourly, regional, outlook), warnings (CAP, heat/c...
使用说明 (SKILL.md)

Croatia Weather — DHMZ Data

Fetches official weather data from DHMZ (Državni hidrometeorološki zavod) via their free XML feeds. Data is licensed under Open Licence (data.gov.hr) — attribution: Izvor: DHMZ.

Home Station (Configurable)

The default station is Zagreb-Grič (current) / Zagreb_Maksimir (forecast). Customise via environment variables:

Variable Purpose Default
DHMZ_HOME_CURRENT Station for current conditions Zagreb-Grič
DHMZ_HOME_FORECAST Station for forecasts Zagreb_Maksimir
DHMZ_HOME_ALIASES Extra words that resolve to home (comma-separated) (empty)

Any query mentioning "home", "my location", or "doma" uses the configured home station.

CLI Tool

All commands go through a single Python script — no external dependencies (stdlib only).

python3 {baseDir}/scripts/dhmz.py \x3Ccommand> [options]

Commands — Weather & Forecasts

Current conditions

python3 {baseDir}/scripts/dhmz.py current                  # Home station
python3 {baseDir}/scripts/dhmz.py current Zagreb            # Fuzzy match → Zagreb-Grič
python3 {baseDir}/scripts/dhmz.py current --all             # All 50+ stations

Returns: temperature, humidity, pressure (with trend), wind direction/speed, weather description.

7-day forecast

python3 {baseDir}/scripts/dhmz.py forecast                  # Home station
python3 {baseDir}/scripts/dhmz.py forecast Split

Returns: daily min/max temperature, precipitation total, peak wind, weather symbol — for 7 days.

3-day 3-hourly forecast

python3 {baseDir}/scripts/dhmz.py forecast3                 # Home station
python3 {baseDir}/scripts/dhmz.py forecast3 Dubrovnik

Returns: 3-hourly breakdown for 3 days — temperature, precipitation, wind, weather per time slot.

3-day text outlook (with temperature/wind summary)

python3 {baseDir}/scripts/dhmz.py outlook

Returns: prose overview for next 3 days + Kopno/More temperature, wind, and warning level.

Regional text forecast

python3 {baseDir}/scripts/dhmz.py regions

Returns: DHMZ prose forecast for 6 regions (Istočna, Središnja, Gorska, Sj. Jadran, Dalmacija, Istra).

Temperature extremes (min/max)

python3 {baseDir}/scripts/dhmz.py temp-extremes             # All stations
python3 {baseDir}/scripts/dhmz.py temp-extremes Zagreb

European weather

python3 {baseDir}/scripts/dhmz.py europe                    # All European capitals
python3 {baseDir}/scripts/dhmz.py europe Beograd            # Specific city

Commands — Warnings & Health

Weather warnings (CAP)

python3 {baseDir}/scripts/dhmz.py warnings

Returns: active warnings for today/tomorrow/day-after — severity color-coded (🟡🟠🔴), regions, description.

Heat wave warnings (5-day)

python3 {baseDir}/scripts/dhmz.py heatwave

Returns: 5-day heat wave indicator per city (🟢 Green → 🔴 Red).

Cold wave warnings (4-day)

python3 {baseDir}/scripts/dhmz.py coldwave

Returns: 4-day cold wave indicator per city.

Biometeorological forecast

python3 {baseDir}/scripts/dhmz.py bio

Returns: 3-day biometeo outlook — human health impact + per-region severity.


Commands — Agriculture & Land

Ground frost indicator (5cm temperature)

python3 {baseDir}/scripts/dhmz.py frost                     # All stations
python3 {baseDir}/scripts/dhmz.py frost Zagreb

Returns: min temperature at 5cm above ground — critical for frost/agriculture. Flags 🥶 MRAZ when ≤0°C.

Soil temperatures (5/10/20cm depths)

python3 {baseDir}/scripts/dhmz.py soil

Returns: soil temperature at 3 depths (07/14/21/00h readings) + soil state (smrznuto/vlažno/mokro/suho/snijeg).

Agrometeorological bulletin

python3 {baseDir}/scripts/dhmz.py agro

Returns: comprehensive weekly agro analysis + 5-region forecast (Istočna, Središnja, Lika, Istra/Primorje, Dalmacija) + 3-day outlook. Includes temperature sums, soil temps, precipitation, plant protection advice.

Weekly agro summary data

python3 {baseDir}/scripts/dhmz.py agro7

Returns: 7-day per-station data table — Tmax, Tmin, T5cm min, precipitation, humidity range, sunshine hours, soil temps at 5cm and 20cm.


Commands — Water & Hydrology

Precipitation

python3 {baseDir}/scripts/dhmz.py precip                    # All stations with rain
python3 {baseDir}/scripts/dhmz.py precip Zagreb

Snow depth

python3 {baseDir}/scripts/dhmz.py snow

River water temperatures

python3 {baseDir}/scripts/dhmz.py rivers

Returns: latest hourly temperature from 19 hydrological stations — Drava, Dunav, Sava basin, Krapina, Korana, Krka, Neretva, etc.

Hydrological forecast (river levels)

python3 {baseDir}/scripts/dhmz.py hydro

Returns: river level status for Sava, Kupa, Dunav, Mura, Drava — with flood defense alert levels (pripremno stanje, redovne mjere, izvanredne mjere).

Adriatic sea temperature

python3 {baseDir}/scripts/dhmz.py sea

Commands — Maritime & Sailing

Adriatic nautical forecast

python3 {baseDir}/scripts/dhmz.py adriatic

Returns: Maritime Meteorological Centre Split report — synoptic situation, warnings (knots, sea state), 12h + 12h forecast text.

Maritime forecast for sailors

python3 {baseDir}/scripts/dhmz.py maritime

Returns: detailed 24h forecast split by North/Middle/South Adriatic + station observation table (wind, sea state, temperature, cloud cover, pressure).


Commands — Environment

UV index

python3 {baseDir}/scripts/dhmz.py uvi

Returns: hourly UV readings for all stations with risk level (🟢 low → 🟣 extreme).

Forest fire danger index

python3 {baseDir}/scripts/dhmz.py fire

Returns: FWI-based fire danger for ~35 stations — temp, humidity, wind, precipitation, FWI score, danger level.


Commands — Climate & History

Historical monthly climate averages

python3 {baseDir}/scripts/dhmz.py climate zagreb_maksimir
python3 {baseDir}/scripts/dhmz.py climate dubrovnik
python3 {baseDir}/scripts/dhmz.py climate split_marjan

Available cities: bjelovar, dubrovnik, gospic, hvar, karlovac, knin, krizevci, mali_losinj, ogulin, osijek, parg, pazin, rijeka, senj, sisak, slavonski_brod, split_marjan, sibenik, varazdin, zadar, zagreb_gric, zagreb_maksimir, zavizan.

Returns: monthly mean temp, absolute max/min (with year), sunshine hours, precipitation, max snow depth, fog/frost/rain/snow days, ice/cold/warm/hot day counts.

Annual precipitation by month

python3 {baseDir}/scripts/dhmz.py climate-rain 2025         # Specific year
python3 {baseDir}/scripts/dhmz.py climate-rain              # Previous year (default)

Available years: 2014–2026. Returns monthly rainfall totals per station.


Commands — Utility

List stations

python3 {baseDir}/scripts/dhmz.py stations

Full overview (combined)

python3 {baseDir}/scripts/dhmz.py full                      # Home station
python3 {baseDir}/scripts/dhmz.py full Split

Combines: current + frost + warnings + 7-day forecast + regional forecast + biometeo + hydro.


Station Matching

Fuzzy matching — exact names not required:

User says Matches
home, doma, my + configured aliases Configured home station
Zagreb Zagreb-Grič / Zagreb_Maksimir
Split Split-Marjan / Split
Dubrovnik Dubrovnik
Rijeka Rijeka
Any partial name Fuzzy: exact → contains → word match

Data Sources

All feeds are free under DHMZ Open Licence. Updated multiple times per day.

Category Feed Content
Current vrijeme.hr/hrvatska_n.xml Live conditions (50+ stations)
Current vrijeme.hr/europa_n.xml European capitals weather
Temp vrijeme.hr/tx.xml / tn.xml / t5.xml Max/min/ground frost temps
Precip vrijeme.hr/oborina.xml / snijeg_n.xml Rainfall, snow depth
Sea vrijeme.hr/more_n.xml Adriatic sea temperature
UV vrijeme.hr/uvi.xml Hourly UV index
Fire vrijeme.hr/indeks.xml Forest fire danger (FWI)
Rivers vrijeme.hr/temp_vode.xml River water temperatures
Soil vrijeme.hr/agro_temp.xml Soil temps at 5/10/20cm
Agro klima.hr/agro_bilten.xml / agro7.xml Agro bulletin + 7-day data
Warnings meteo.hr/upozorenja/cap_hr_*.xml CAP alerts (3 days)
Waves prognoza.hr/toplinskival_5.xml / hladnival.xml Heat/cold wave indicators
Forecast prognoza.hr/prognoza_danas.xml Today's forecast
Forecast prognoza.hr/regije_danas.xml Regional text forecast
Forecast prognoza.hr/prognoza_izgledi.xml 3-day outlook
Forecast prognoza.hr/tri/3d_graf_i_simboli.xml 3-day 3-hourly meteogram
Forecast prognoza.hr/sedam/hrvatska/7d_meteogrami.xml 7-day meteogram
Health prognoza.hr/bio_novo.xml Biometeorological forecast
Maritime prognoza.hr/jadran_h.xml / pomorci.xml Adriatic nautical + maritime
Hydro hidro.hr/hidro_bilten.xml River levels + flood alerts
Climate klima.hr/k1/tablice/{city}.xml Monthly averages (125+ years)
Climate klima.hr/k2/{year}/oborina_{year}.xml Annual precipitation

Notes

  • No API key needed — all feeds are public
  • Zero external dependencies — Python 3 stdlib only
  • Feed updates: current conditions ~hourly, forecasts ~twice daily (00:00/12:00 UTC)
  • Wind format in forecasts: NE2 = NE direction, strength 2 (1=slab, 2=umjeren, 3=jak, 4=olujni)
  • Always attribute: Izvor: DHMZ
安全使用建议
This skill appears to do what it says: a Python CLI that pulls public DHMZ/prognoza/vrijeme/klima/hidro XML feeds. Before installing: (1) inspect the raw SKILL.md for invisible Unicode control characters (the scanner flagged these) and remove them if present, (2) read scripts/dhmz.py yourself (it fetches many public URLs — expected) and run it in a sandboxed agent or separate environment first, (3) verify the feed URLs are legitimate (they appear to be official Croatian domains), and (4) be aware the included Python script may contain minor bugs (truncated snippet shows a likely typo) — test commands manually to confirm behavior. If you lack the ability to inspect files, treat this as potentially risky and avoid granting it autonomous privileges until a manual review is done.
功能分析
Type: OpenClaw Skill Name: croatia-weather Version: 1.0.0 The croatia-weather skill bundle is a comprehensive and well-documented tool for accessing official Croatian weather data. The core logic in scripts/dhmz.py uses only the Python standard library to fetch and parse XML feeds from legitimate DHMZ domains (meteo.hr, klima.hr, etc.). The script implements safe station matching and handles configuration via specific environment variables without exposing sensitive system data. There is no evidence of malicious intent, data exfiltration, or prompt injection; the instructions in SKILL.md and the decision logic in references/quick-guide.md are strictly aligned with the stated purpose of providing weather information.
能力评估
Purpose & Capability
Name/description match the implementation: a Python 3 CLI that fetches DHMZ and related Croatian meteorological XML feeds. Required binary (python3) and optional env vars (home station aliases) are proportional and expected.
Instruction Scope
SKILL.md instructs the agent to run the included dhmz.py script and to optionally read environment variables for home stations — all within scope. However, the SKILL.md triggered a 'unicode-control-chars' prompt-injection detector (invisible characters can be used to manipulate agent parsing). Inspect the raw SKILL.md for hidden control characters before trusting it.
Install Mechanism
No install spec; skill is delivered as files (README, SKILL.md, Python script, references). This is low-risk compared with remote downloads or package installs. The Python script uses only stdlib and fetches public XML URLs — no external installers or archives.
Credentials
The skill does not require secrets or unrelated environment variables. Only optional DHMZ_HOME_* variables (for home station configuration) are used, which are reasonable for this functionality.
Persistence & Privilege
Skill does not request always:true and is user-invocable only. It does not declare any system-wide config changes or privilege escalation. Autonomous invocation is allowed (platform default) but not combined with other high-risk indicators here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install croatia-weather
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /croatia-weather 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — a comprehensive toolkit for Croatian weather data from DHMZ. - 27 commands cover current conditions, forecasts, warnings, agriculture, maritime, hydrology, environment, climate, and European weather. - All data sourced from official DHMZ feeds; fully attributed and open licensed. - Customizable home station for personalized weather queries. - Single Python script with no external dependencies (stdlib only). - Intended for all Croatian and European weather needs; non-European queries are forwarded to a default weather skill.
元数据
Slug croatia-weather
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Croatia Weather 是什么?

Swiss-army knife for Croatian weather — 27 commands covering current conditions, forecasts (7-day, 3-day, 3-hourly, regional, outlook), warnings (CAP, heat/c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。

如何安装 Croatia Weather?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install croatia-weather」即可一键安装,无需额外配置。

Croatia Weather 是免费的吗?

是的,Croatia Weather 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Croatia Weather 支持哪些平台?

Croatia Weather 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Croatia Weather?

由 Jakov Nikolić(@nikolicjakov)开发并维护,当前版本 v1.0.0。

💬 留言讨论