/nz-skills:niwa-rivers-nzfrom nz-skills
Queries NIWA River Maps hydrology predictions, hourly station metadata, regional flood product coverage, and Fish Passage surveys for New Zealand rivers. No API keys required.
Ships in nz-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use scripts/cli.py for NIWA freshwater source discovery, hourly series metadata,
River Maps hydrology predictions, regional flood product coverage and public
Fish Passage surveys.
Python 3.10+; stdlib only; no keys, accounts or browser required by the CLI.
python3 skills/niwa-rivers-nz/scripts/cli.py sources --json
python3 skills/niwa-rivers-nz/scripts/cli.py stations --json
python3 skills/niwa-rivers-nz/scripts/cli.py stations --region Canterbury --bbox 170,-44,174,-42 --format geojson
python3 skills/niwa-rivers-nz/scripts/cli.py flow --station 90612 --from 2026-03-01 --to 2026-03-02 --json
python3 skills/niwa-rivers-nz/scripts/cli.py rivers --near 174.7,-36.9 --json
python3 skills/niwa-rivers-nz/scripts/cli.py flood-hazard --region Auckland --bbox 174.6,-37,174.9,-36.7 --format geojson
python3 skills/niwa-rivers-nz/scripts/cli.py fish-passage --bbox 174.6,-37,174.9,-36.7 --limit 5 --json
sources returns a maintained source directory with access status and provenance.stations reads all public hourly station/parameter product listings, paging
up to 10 pages. Each result is a series listing, so a station may occur more
than once. station is the numeric ID accepted by flow. Dates describe
available series coverage; they do not imply a real-time feed.flow exits 4 with a structured access error: the advertised DataHub
file API requires customer authentication. It accepts no credentials.rivers is opt-in: invoke it explicitly to query River Maps' public Shiny interface, then rank reaches by
distance to the requested point. Default --metric "Mean Flow", --limit 5.
Seven hydrology metrics are listed by rivers --help. --radius-km (0.1–10,
default 5) sets the half-size of a local search box; --bbox overrides it.
Returns the app's rounded map values, units and metric description. Metrics
are static model estimates, not observed flow or forecasts.flood-hazard returns regional product metadata and coverage footprints.
GeoJSON polygons are product coverage bounding boxes, not inundation extents.
Depth and depth–velocity rasters require account/licence access and raster tools.fish-passage fetches keyless WFS survey points. --limit is 1–1000;
--offset pages the matched records. Inspect meta.truncated and
meta.number_matched; surveys are not a complete structure inventory.Spatial commands accept WGS84 --bbox minLon,minLat,maxLon,maxLat and
--format geojson (implies JSON). Station and flood catalogue filtering is local:
point containment / coverage-box intersection. Station --region uses point-in-
polygon membership in NIWA's generalised regional council boundary layer.
River Maps uses an upstream map view plus local geometry-box intersection
and approximate point-to-line distances. The app's stream-order visibility
threshold is returned in meta.visibility; nearby results may omit small
streams. Fish Passage bbox intersection occurs upstream using explicit
longitude/latitude CRS84. Negative-leading boxes use --bbox=-180,-90,180,90.
JSON returns meta and an array results; GeoJSON returns a FeatureCollection
with meta. Product records carry their page URL, publisher, licence,
retrieval time and source-stated series end or catalogue update timestamp.
Errors return one JSON envelope and stable exit codes, never an empty success.
Read references/source-notes.md for source schemas,
licences and access evidence. Run scripts/test_contract.py for deterministic
checks and scripts/smoke_test.py for bounded live probes. River Maps checks a 50-second deadline
between requests; polls time out after up to 30 seconds and retry once on timeout
within that deadline. Other calls time out after 10 seconds (session close:
2 seconds). Shared HTTP retries may extend elapsed time.
Use lawa-nz for observed council/LAWA river information, gwrc-hilltop-nz
for Wellington Hilltop observations and niwa-coastal-nz for NIWA coastal
ArcGIS data. Use nz-arcgis for supported council hazard polygons. This skill
keeps those existing connectors separate.
references/source-notes.md (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/provenance.py (opens in a new tab)scripts/rivermaps.py (opens in a new tab)scripts/smoke_test.py (opens in a new tab)scripts/test_contract.py (opens in a new tab)tests/fixtures/contract.json (opens in a new tab)tests/fixtures/fpat.json (opens in a new tab)tests/fixtures/products.html (opens in a new tab)tests/fixtures/regions.json (opens in a new tab)tests/fixtures/rivermaps.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thecolab-ai/.skills --plugin nz-skills186 skills in this plugin
/airnz-flightsSearch public Air New Zealand fare snapshots and timetable fallback data through a lightweight no-login CLI. Use when the task involves Air NZ route/date fare snapshots, fare products, flight numbers, departure/arrival times, duration, stops, or machine-readable current flight data. Optional --browser mode uses CloakBrowser when installed and returns cloakbrowser_not_installed when unavailable. Read-only; no login, Airpoints, seat holds, booking, payment, manage-booking, or checkout actions./akahu-personalQuery personal transactional bank-account data — account lists, balances, settled/pending transactions, account-specific transaction history, and private JSON/CSV exports — from Akahu, a New Zealand open-banking provider. Use when the task involves personal bank data exports, NZ account balances, transaction analysis, cashflow/spending categorisation, or inspecting authenticated Personal App banking data. Requires user-provided AKAHU_APP_TOKEN and AKAHU_USER_TOKEN; never smoke-test against real personal data in CI./akl-housing-capacityQuery Auckland housing supply trends and 2022/23 plan-enabled and feasible housing capacity. Use for monthly housing updates, building consents, HBA, capacity for growth, PC78, local-board growth capacity, social housing delivery and housing demolition source discovery.Other plugins' skills for the same job