metservice-nz
Query New Zealand weather data from the MetOcean API (MetService's data arm). Use when the task involves NZ weather forecasts, current conditions, marine/wave…
от thecolab-ai★ 41 звезда на GitHub
Установить metservice-nz в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
MetService NZ (MetOcean API)
Goal
Query point forecasts from the MetOcean API for New Zealand locations — weather, marine, and atmospheric data through a CLI that is easy for agents to script and easy for humans to scan.
Use this when
- A user asks about current or forecast weather in New Zealand
- A user wants temperature, rain, wind, or cloud data for an NZ location
- A user asks about marine conditions — wave height, swell, sea temperature
- A user wants a multi-day weather outlook for NZ
- A user asks about wind conditions for a specific NZ location
Do not use this for
- Weather outside New Zealand (API coverage is NZ/Pacific focused)
- Historical weather data (API provides forecasts, not archives)
- Long-range forecasts beyond ~7 days
Preferred workflow
- Run
scripts/cli.pywith the narrowest subcommand that answers the task - Use default human output for direct answers
- Use
--jsonwhen another tool or agent needs machine-readable output - Use
--location lat,lonfor custom coordinates not in the named list
Setup
Requires a MetOcean API key (free tier available).
- Sign up at https://forecast-v2.metoceanapi.com
- Add to your
.env:METOCEAN_API_KEY=your_key_here - The Python CLI reads
os.environ["METOCEAN_API_KEY"]lazily — no fallback, key is required.
CLI
Run with:
python3 skills/metservice-nz/scripts/cli.py <command> [flags]
now [location] [--json] [--location lat,lon]
Current conditions snapshot: temperature, wind, rain, humidity, pressure, cloud cover, visibility.
Examples:
python3 skills/metservice-nz/scripts/cli.py now auckland
python3 skills/metservice-nz/scripts/cli.py now wellington --json
python3 skills/metservice-nz/scripts/cli.py now --location -37.0,175.5
forecast [location] [--json] [--location lat,lon]
24-hour hourly forecast: time, temperature, rain, wind speed/direction, cloud cover.
Examples:
python3 skills/metservice-nz/scripts/cli.py forecast auckland
python3 skills/metservice-nz/scripts/cli.py forecast christchurch --json
daily [location] [--json] [--location lat,lon]
7-day daily summary: high/low temperature, total rain, average wind, dominant wind direction.
Examples:
python3 skills/metservice-nz/scripts/cli.py daily queenstown
python3 skills/metservice-nz/scripts/cli.py daily wellington --json
marine [location] [--json] [--location lat,lon]
Marine forecast: wave height, swell height, swell period, swell direction, sea temperature (where available).
Examples:
python3 skills/metservice-nz/scripts/cli.py marine auckland
python3 skills/metservice-nz/scripts/cli.py marine clevedon --json
wind [location] [--json] [--location lat,lon]
Detailed wind forecast: speed, gusts, direction — hourly for 24 hours.
Examples:
python3 skills/metservice-nz/scripts/cli.py wind wellington
python3 skills/metservice-nz/scripts/cli.py wind auckland
rain [location] [--json] [--location lat,lon]
Precipitation forecast: hourly rain rate for 24 hours.
Examples:
python3 skills/metservice-nz/scripts/cli.py rain christchurch
python3 skills/metservice-nz/scripts/cli.py rain queenstown --json
warnings [--json]
Scrape MetService severe weather warnings page for active alerts, watches, and advisories.
Examples:
python3 skills/metservice-nz/scripts/cli.py warnings
python3 skills/metservice-nz/scripts/cli.py warnings --json
cyclone [location] [--json] [--location lat,lon] [--hours n]
Cyclone-specific data: pressure trend, extreme wind, storm surge indicators. Fetches 48h by default. Shows current snapshot, pressure trend, peak conditions, and hourly table.
Examples:
python3 skills/metservice-nz/scripts/cli.py cyclone auckland
python3 skills/metservice-nz/scripts/cli.py cyclone wellington --hours 72
python3 skills/metservice-nz/scripts/cli.py cyclone clevedon --json
pressure [location] [--json] [--location lat,lon]
Barometric pressure trend — the #1 cyclone indicator. Shows 12h history + 12h forecast with rate of change and severity classification.
Examples:
python3 skills/metservice-nz/scripts/cli.py pressure auckland
python3 skills/metservice-nz/scripts/cli.py pressure wellington --json
watch [location] [--location lat,lon] [--interval minutes] [--json]
Continuous cyclone monitoring. Polls every 5 minutes (configurable) and alerts on significant changes. Shows pressure change between polls.
Examples:
python3 skills/metservice-nz/scripts/cli.py watch auckland
python3 skills/metservice-nz/scripts/cli.py watch wellington --interval 2
python3 skills/metservice-nz/scripts/cli.py watch clevedon --json
locations [--json]
List all named locations with coordinates.
Examples:
python3 skills/metservice-nz/scripts/cli.py locations
python3 skills/metservice-nz/scripts/cli.py locations --json
Named Locations
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/cyclone-tracking.md
- references/source-notes.md
- scripts/cli.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл metservice-nz?
Query New Zealand weather data from the MetOcean API (MetService's data arm). Use when the task involves NZ weather forecasts, current conditions, marine/wave data, wind, rain, or atmospheric conditions for New Zealand locations. Requires METOCEAN_API_KEY.
Как установить скилл metservice-nz?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл metservice-nz запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…