Skill: faleksic/dhmz-weather (version 1.0.0)

--- name: dhmz-weather description: Get Croatian weather data, forecasts, and alerts from DHMZ (meteo.hr) - no API key required. homepage: https://meteo.hr/proizvodi.php?section=podaci&param=xml_korisnici metadata: { "openclaw": { "emoji": "🇭🇷", "requires": { "bins": ["curl"] } } } --- # 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): ```bash curl -s "https://vrijeme.hr/hrvatska_n.xml" ``` By regions: ```bash curl -s "https://vrijeme.hr/hrvatska1_n.xml" ``` European cities: ```bash curl -s "https://vrijeme.hr/europa_n.xml" ``` ## Temperature Extremes Max temperatures: ```bash curl -s "https://vrijeme.hr/tx.xml" ``` Min temperatures: ```bash curl -s "https://vrijeme.hr/tn.xml" ``` Min at 5cm (ground frost): ```bash curl -s "https://vrijeme.hr/t5.xml" ``` ## Sea & Water Adriatic sea temperature: ```bash curl -s "https://vrijeme.hr/more_n.xml" ``` River temperatures: ```bash curl -s "https://vrijeme.hr/temp_vode.xml" ``` ## Precipitation & Snow Precipitation data: ```bash curl -s "https://vrijeme.hr/oborina.xml" ``` Snow height: ```bash curl -s "https://vrijeme.hr/snijeg_n.xml" ``` ## Forecasts Today's forecast: ```bash curl -s "https://prognoza.hr/prognoza_danas.xml" ``` Tomorrow's forecast: ```bash curl -s "https://prognoza.hr/prognoza_sutra.xml" ``` 3-day outlook: ```bash curl -s "https://prognoza.hr/prognoza_izgledi.xml" ``` Regional forecasts: ```bash curl -s "https://prognoza.hr/regije_danas.xml" ``` 3-day meteograms (detailed): ```bash curl -s "https://prognoza.hr/tri/3d_graf_i_simboli.xml" ``` 7-day meteograms: ```bash curl -s "https://prognoza.hr/sedam/hrvatska/7d_meteogrami.xml" ``` ## Weather Alerts (CAP format) Today's warnings: ```bash curl -s "https://meteo.hr/upozorenja/cap_hr_today.xml" ``` Tomorrow's warnings: ```bash curl -s "https://meteo.hr/upozorenja/cap_hr_tomorrow.xml" ``` Day after tomorrow: ```bash curl -s "https://meteo.hr/upozorenja/cap_hr_day_after_tomorrow.xml" ``` ## Specialized Data UV index: ```bash curl -s "https://vrijeme.hr/uvi.xml" ``` Forest fire risk index: ```bash curl -s "https://vrijeme.hr/indeks.xml" ``` Biometeorological forecast (health): ```bash curl -s "https://prognoza.hr/bio_novo.xml" ``` Heat wave alerts: ```bash curl -s "https://prognoza.hr/toplinskival_5.xml" ``` Cold wave alerts: ```bash curl -s "https://prognoza.hr/hladnival.xml" ``` ## Maritime / Adriatic Nautical forecast: ```bash curl -s "https://prognoza.hr/jadran_h.xml" ``` Maritime forecast (sailors): ```bash curl -s "https://prognoza.hr/pomorci.xml" ``` ## Agriculture Agro bulletin: ```bash curl -s "https://klima.hr/agro_bilten.xml" ``` Soil temperature: ```bash curl -s "https://vrijeme.hr/agro_temp.xml" ``` 7-day agricultural data: ```bash curl -s "https://klima.hr/agro7.xml" ``` ## Hydrology Hydro bulletin: ```bash 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: ```bash curl -s "https://vrijeme.hr/hrvatska_n.xml" | xmllint --xpath "//Grad[GradIme='Zagreb']" - ``` Convert to JSON (requires `xq` from yq package): ```bash 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: <https://meteo.hr>

path: README.md
content: # DHMZ Weather Skill for Claude Code

A Claude Code skill for fetching Croatian weather data from DHMZ (Croatian Meteorological and Hydrological Service). No API key required.

## Features

- Current weather for 50+ Croatian stations
- 3-day and 7-day forecasts
- Adriatic sea temperatures
- Weather alerts (CAP format)
- Temperature extremes (min/max)
- Precipitation and snow data
- Maritime/nautical forecasts
- UV index, forest fire risk
- Agricultural and hydrological data

## Installation

Copy the `SKILL.md` file to your Claude Code skills directory:

```bash
# Create skills directory if it doesn't exist
mkdir -p ~/.claude/skills/dhmz-weather

# Copy the skill file
cp SKILL.md ~/.claude/skills/dhmz-weather/
```

## Usage

In Claude Code, use the slash command:

```
/dhmz-weather Zagreb
/dhmz-weather Split 3 dana
/dhmz-weather temperatura mora
```

### Examples

| Command | Description |
|---------|-------------|
| `/dhmz-weather` | Current weather for Zagreb (default) |
| `/dhmz-weather Zadar` | Current weather for Zadar |
| `/dhmz-weather Split 3 dana` | 3-day forecast for Split |
| `/dhmz-weather temperatura mora` | Adriatic sea temperatures |

## Supported Cities

Zagreb, Split, Rijeka, Osijek, Zadar, Pula, Dubrovnik, Slavonski Brod, Karlovac, Varazdin, Sisak, Bjelovar, Cakovec, Gospic, Knin, Makarska, Sibenik, and 30+ more stations.

## Requirements

- `curl` (for fetching XML data from DHMZ APIs)

## Data Source

All weather data is provided by [DHMZ](https://meteo.hr) (Drzavni hidrometeoroloski zavod) - the official Croatian Meteorological and Hydrological Service.

## License

MIT


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)