← 返回 Skills 市场
faleksic

DHMZ Weather

作者 faleksic · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1787
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dhmz-weather
功能描述
Get Croatian weather data, forecasts, and alerts from DHMZ (meteo.hr) - no API key required.
使用说明 (SKILL.md)

DHMZ Weather (Croatia)

Croatian Meteorological and Hydrological Service (DHMZ) provides free XML APIs. All data in Croatian, no authentication needed.

Default Behavior

When this skill is invoked:

  1. If a city is provided as argument (e.g., /dhmz-weather Zagreb): Immediately fetch and display weather for that city
  2. If no city is provided: Infer the city from conversation context (user's location, previously mentioned cities, or project context). If no context available, default to Zagreb (capital city)

Do not ask the user what they want - just fetch the weather data immediately and present it in a readable format.

Weather Emojis

Use these emojis when displaying weather data to make it more intuitive:

Conditions

Croatian English Emoji
vedro, sunčano clear, sunny ☀️
djelomično oblačno partly cloudy
pretežno oblačno mostly cloudy 🌥️
potpuno oblačno overcast ☁️
slaba kiša light rain 🌦️
kiša rain 🌧️
jaka kiša heavy rain 🌧️🌧️
grmljavina thunderstorm ⛈️
snijeg snow 🌨️
susnježica sleet 🌨️🌧️
magla fog 🌫️
rosa dew 💧

Metrics

Metric Emoji
Temperature 🌡️
Humidity 💧
Pressure 📊
Wind 💨
Rain/Precipitation 🌧️
UV Index ☀️
Sea temperature 🌊

Wind Strength

Description Emoji
calm, light 🍃
moderate 💨
strong/windy (vjetrovito) 💨💨
stormy (olujni) 🌬️

Alerts

Level Emoji
Green (no warning) 🟢
Yellow 🟡
Orange 🟠
Red 🔴

Current Weather

All Croatian stations (alphabetical):

curl -s "https://vrijeme.hr/hrvatska_n.xml"

By regions:

curl -s "https://vrijeme.hr/hrvatska1_n.xml"

European cities:

curl -s "https://vrijeme.hr/europa_n.xml"

Temperature Extremes

Max temperatures:

curl -s "https://vrijeme.hr/tx.xml"

Min temperatures:

curl -s "https://vrijeme.hr/tn.xml"

Min at 5cm (ground frost):

curl -s "https://vrijeme.hr/t5.xml"

Sea & Water

Adriatic sea temperature:

curl -s "https://vrijeme.hr/more_n.xml"

River temperatures:

curl -s "https://vrijeme.hr/temp_vode.xml"

Precipitation & Snow

Precipitation data:

curl -s "https://vrijeme.hr/oborina.xml"

Snow height:

curl -s "https://vrijeme.hr/snijeg_n.xml"

Forecasts

Today's forecast:

curl -s "https://prognoza.hr/prognoza_danas.xml"

Tomorrow's forecast:

curl -s "https://prognoza.hr/prognoza_sutra.xml"

3-day outlook:

curl -s "https://prognoza.hr/prognoza_izgledi.xml"

Regional forecasts:

curl -s "https://prognoza.hr/regije_danas.xml"

3-day meteograms (detailed):

curl -s "https://prognoza.hr/tri/3d_graf_i_simboli.xml"

7-day meteograms:

curl -s "https://prognoza.hr/sedam/hrvatska/7d_meteogrami.xml"

Weather Alerts (CAP format)

Today's warnings:

curl -s "https://meteo.hr/upozorenja/cap_hr_today.xml"

Tomorrow's warnings:

curl -s "https://meteo.hr/upozorenja/cap_hr_tomorrow.xml"

Day after tomorrow:

curl -s "https://meteo.hr/upozorenja/cap_hr_day_after_tomorrow.xml"

Specialized Data

UV index:

curl -s "https://vrijeme.hr/uvi.xml"

Forest fire risk index:

curl -s "https://vrijeme.hr/indeks.xml"

Biometeorological forecast (health):

curl -s "https://prognoza.hr/bio_novo.xml"

Heat wave alerts:

curl -s "https://prognoza.hr/toplinskival_5.xml"

Cold wave alerts:

curl -s "https://prognoza.hr/hladnival.xml"

Maritime / Adriatic

Nautical forecast:

curl -s "https://prognoza.hr/jadran_h.xml"

Maritime forecast (sailors):

curl -s "https://prognoza.hr/pomorci.xml"

Agriculture

Agro bulletin:

curl -s "https://klima.hr/agro_bilten.xml"

Soil temperature:

curl -s "https://vrijeme.hr/agro_temp.xml"

7-day agricultural data:

curl -s "https://klima.hr/agro7.xml"

Hydrology

Hydro bulletin:

curl -s "https://hidro.hr/hidro_bilten.xml"

Tips

  • All responses are XML format
  • Data is in Croatian language
  • Station names use Croatian characters (UTF-8)
  • Updates vary: current data ~hourly, forecasts ~daily
  • For parsing, use xmllint or pipe to a JSON converter

Extract specific station with xmllint:

curl -s "https://vrijeme.hr/hrvatska_n.xml" | xmllint --xpath "//Grad[GradIme='Zagreb']" -

Convert to JSON (requires xq from yq package):

curl -s "https://vrijeme.hr/hrvatska_n.xml" | xq .

Common Station Names

Zagreb, Split, Rijeka, Osijek, Zadar, Pula, Dubrovnik, Slavonski Brod, Karlovac, Varazdin, Sisak, Bjelovar, Cakovec, Gospic, Knin, Makarska, Sibenik

Data Source

Official DHMZ (Drzavni hidrometeoroloski zavod) - Croatian Meteorological and Hydrological Service: \x3Chttps://meteo.hr>

安全使用建议
This is an instruction-only weather skill that fetches public XML feeds from official Croatian meteorological sites using curl — no credentials or installs are required. Before installing, consider: (1) privacy: the skill is written to infer a city from conversation context and 'just fetch' results (or default to Zagreb) rather than asking the user, so it may retrieve data tied to an inferred location without explicit confirmation; (2) parsing: it recommends xmllint/xq for nicer output but won't install them for you; (3) network access: the agent will make outbound HTTP requests to vrijeme.hr, prognoza.hr, meteo.hr, klima.hr, and hidro.hr — verify you trust those domains and your environment's policy for outbound requests; (4) if you prefer confirmation before queries, provide explicit city arguments when calling the skill or disable autonomous invocation in your agent if that's an option. Overall the skill appears coherent and appropriate for its stated purpose.
功能分析
Type: OpenClaw Skill Name: dhmz-weather Version: 1.0.0 The skill is benign. It uses `curl` to fetch weather data in XML format from official Croatian meteorological service domains (`meteo.hr`, `vrijeme.hr`, `prognoza.hr`, `klima.hr`, `hidro.hr`). There is no evidence of data exfiltration, malicious execution (e.g., piping `curl` output to `bash`), persistence mechanisms, or harmful prompt injection against the agent. The instructions for the agent are to fetch and display weather data directly, which aligns with the stated purpose.
能力评估
Purpose & Capability
Name/description, required binary (curl), and the listed endpoints are consistent: the skill simply fetches public XML weather data from DHMZ and related Croatian sites. No credentials, unrelated binaries, or surprising config paths are requested.
Instruction Scope
SKILL.md instructs the agent to immediately fetch data (default Zagreb if no city provided) and to infer the city from conversation context instead of asking the user. That is coherent for an auto-serving weather skill but has a privacy/behavior implication: the agent may fetch data about an inferred location without explicit user confirmation. It does not instruct reading system files, environment variables, or contacting unexpected endpoints beyond the listed meteorological sites. It suggests optional tools (xmllint, xq) for parsing but does not require them.
Install Mechanism
No install spec or downloadable code — instruction-only. This minimizes disk footprint and supply-chain risk.
Credentials
No environment variables, secrets, or credentials requested. The skill does not ask for unrelated tokens or keys.
Persistence & Privilege
always:false and default model-invocation allowed. The skill does not request permanent system presence or modify other skills. Note: allowing autonomous invocation means the agent can call the listed network endpoints when invoked without further user prompts — this is expected for such a skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dhmz-weather
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dhmz-weather 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Croatian weather data skill
元数据
Slug dhmz-weather
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

DHMZ Weather 是什么?

Get Croatian weather data, forecasts, and alerts from DHMZ (meteo.hr) - no API key required. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1787 次。

如何安装 DHMZ Weather?

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

DHMZ Weather 是免费的吗?

是的,DHMZ Weather 完全免费(开源免费),可自由下载、安装和使用。

DHMZ Weather 支持哪些平台?

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

谁开发了 DHMZ Weather?

由 faleksic(@faleksic)开发并维护,当前版本 v1.0.0。

💬 留言讨论