/nz-skills:nz-utility-outagesfrom nz-skills
Queries NZ utility outages: Watercare Auckland water faults, Wellington electricity outages, KiwiRail rail works and closures. Supports spatial search and JSON/GeoJSON output.
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 to read public operator notices. Start with sources to
check coverage and access. All data commands support --json; network requests
have 10 s timeouts. The skill needs no credentials and makes no upstream changes.
python3 scripts/cli.py sources --json
python3 scripts/cli.py outages --utility watercare --status current --json
python3 scripts/cli.py outages --utility watercare --status planned --bbox 174.5,-37.2,175,-36.5 --format geojson
python3 scripts/cli.py outages --utility wellington --status planned --json
python3 scripts/cli.py outages --utility kiwirail --json
python3 scripts/cli.py rail-closures --from 2026-02-01 --to 2026-04-30 --json
python3 scripts/cli.py near --near 174.76,-36.85 --radius 5 --json
python3 scripts/cli.py near --utility all --near 174.76,-36.85 --radius 5 --format geojson
near defaults to Watercare, with a 5 km radius. --utility all combines
Watercare and Wellington. outages also recognises vector, powernet and
counties, returning explicit unsupported/blocked errors for those sources.
See references/source-notes.md for the reasons.
utility, id, kind,
status, start, end, area, geometry, affected_count, description
and provenance. Missing times, counts and locations remain null.current as listed by the operator. Planned
windows are planned before they start, current during the published window,
and unknown after the estimated end; an estimate does not prove restoration.Pacific/Auckland daylight saving, then become UTC. Alternate dates are used
only when the source's useAlternateDate flag is set.passenger_closure_confirmed: false. source_status keeps KiwiRail's label;
unparseable dates stay null with the published date_text.rail-closures reads the official colour-coded PDF. Its verified coverage is
January–May 2026, with publication date 2 February 2026, rather than a
complete 2026 timetable. meta.coverage_start and meta.coverage_end always
describe the fetched version. An empty result outside coverage is not evidence
that trains run. Closure rows preserve the published schedule as planned,
including historical dates; source_status is published_schedule.--bbox minLon,minLat,maxLon,maxLat uses WGS84 longitude then latitude. Filtering
occurs locally and includes point locations on the box boundary. near uses
haversine distance to the operator's published point, which is representative
rather than a guaranteed affected-property boundary. Unlocated records are
excluded from spatial matches and counted in meta.excluded_unlocated.
The KiwiRail adapter reads no coordinates: outages --utility kiwirail --bbox ...
returns an unsupported-operation error. Unfiltered GeoJSON may use null geometry.
--format geojson implies JSON output and emits a FeatureCollection with
meta and provenance in feature properties. Other JSON commands return
{"meta": {...}, "results": [...]}; mixed sources preserve per-record provenance.
retrieved_at is UTC with a trailing Z. latest_data comes only from source
updates or calendar publication, never the retrieval clock.
Errors return the same JSON envelope with empty results and a typed error:
2 invalid input, 4 blocked/rate limited, 5 upstream unavailable, 6 changed schema,
7 unsupported operation. Mixed-source queries fail if either feed fails, so an
upstream error cannot masquerade as an empty or incomplete successful search.
scripts/rail_calendar.py: restricted stdlib PDF calendar parser; changed
legends, colours or incomplete month grids fail with a schema error.scripts/provenance.py: JSON envelope and spatial argument helpers.scripts/test_contract.py: deterministic repository and parser contracts.scripts/smoke_test.py: synthetic fixtures plus bounded, outage-aware live probes.tests/fixtures/: made-up values in the verified source formats, including
a synthetic PDF. No operator datasets are bundled.python3 scripts/test_contract.py
python3 scripts/smoke_test.py
references/source-notes.md (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/fixture_checks.py (opens in a new tab)scripts/provenance.py (opens in a new tab)scripts/rail_calendar.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/calendar.pdf (opens in a new tab)tests/fixtures/contract.json (opens in a new tab)tests/fixtures/kiwirail.json (opens in a new tab)tests/fixtures/watercare.json (opens in a new tab)tests/fixtures/wellington.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