/nz-skills:akl-rainfallfrom nz-skills
Queries Auckland Council rainfall gauges and river/stream levels and flows via the Environment Auckland AQUARIUS WebPortal. Discovers monitoring sites, retrieves observed time series, and fetches latest rainfall with spatial filters.
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 the stdlib Python CLI in scripts/cli.py to query Auckland Council's
Environment Auckland AQUARIUS WebPortal. Site discovery and JSON exports work
without a login, API key, cookies or browser.
sites, selecting rainfall, river/stream level or flow.site identifier into series and choose a date window.latest for each rainfall gauge's most recent non-null increment within
the last 72 hours. Inspect observation time, age and quality before using it.python3 skills/akl-rainfall/scripts/cli.py sites --parameter rainfall --json
python3 skills/akl-rainfall/scripts/cli.py sites --parameter level --bbox '174.8,-37.1,175.0,-36.9' --format geojson --json
python3 skills/akl-rainfall/scripts/cli.py series --site 649940 --parameter rainfall --from 2026-10-07 --to 2026-10-08 --interval hour --json
python3 skills/akl-rainfall/scripts/cli.py series --site 43803 --parameter level --from 2026-10-07 --to 2026-10-08 --json
python3 skills/akl-rainfall/scripts/cli.py series --site 43803 --parameter flow --from 2026-10-07 --to 2026-10-08 --interval day --json
python3 skills/akl-rainfall/scripts/cli.py latest --parameter rainfall --bbox '174.88,-36.99,174.89,-36.97' --json
sites [--parameter rainfall|level|flow] [--bbox minLon,minLat,maxLon,maxLat]
lists monitoring sites, coordinates and available dataset identifiers. With
no parameter it returns the union of those three parameters. Includes old
gauges; inspect end_of_record (the Council's advertised record bound).
bbox filtering is local, inclusive point containment on site coordinates;
sites without coordinates are excluded. Bounds must strictly increase.series --site ID --parameter rainfall|level|flow --from ISO --to ISO [--interval hour|day] [--max-points N] returns source observations or upstream aggregates.
Exact site names also work; identifiers avoid ambiguity. Windows are inclusive,
at most 31 days, and boundaries must have minute precision. A date means midnight.
Raw output (no --interval) has --max-points (default and maximum 5,000);
excess fails with code 2. Set a smaller positive limit to bound output further.
Use --interval hour|day or a shorter window to reduce the output.latest --parameter rainfall [--bbox minLon,minLat,maxLon,maxLat] returns
the most recent non-null recorded increment per gauge within 72 hours, with
age_hours and stale (over 24 hours). Reports gauges outside the lookback and
gauges without values separately. This is an increment, not a 24-hour total.Every command accepts --json, returning {"meta": {...}, "results": [...]}.
Shared meta includes source_url, publisher, licence, retrieved_at, and
latest_data when published, plus counts, warnings and query details. Errors
return the same meta, empty results, and error with code, type and message.
Spatial commands also accept --format json|geojson; either implies machine
output. GeoJSON uses WGS84 longitude, latitude order and top-level meta.
Latest gauges retain their individual export source_url; other shared
provenance appears once in meta. Retrieval times are UTC; data times are
fixed NZST (UTC+12) even in summer. Do not interpret naive input as
daylight-saving Auckland time.
Dataset records use start_of_record/end_of_record for coverage; sites report
end_of_record. Series meta.latest_data is the advertised end of that dataset's record; it can be
newer than the requested historical window.
Latest metadata reports the newest returned observation. POST source_url is
the bare public endpoint; meta.request/meta.catalogue_requests record its
method and form separately. GET export URLs retain replayable query parameters.
With --interval, rainfall is the total over the preceding interval; level/flow
are averages. Aggregate time is the interval end. Use period_start and
period_end for day attribution; days run midnight–midnight NZST (01:00–01:00
NZDT in summer). Retain grade_code, grade_name, approvals, qualifiers and
interpolation fields. Missing source values ("NaN") become null, with
missing: true and the original source_missing_marker. Never treat them as zero.
An empty valid time window remains an empty result; malformed exports fail.
A window outside the dataset's advertised record includes a metadata warning;
an empty series is not evidence of no rain.
See references/source-notes.md for verified endpoints, source terms and schema
details. Hand-written synthetic parser fixtures are in tests/fixtures/;
fixtures.json marks their fictional contents and the source shapes they mirror.
python3 scripts/validate_skill.py skills/akl-rainfall --strict
python3 skills/akl-rainfall/scripts/test_contract.py
python3 scripts/run_smoke_tests.py akl-rainfall
scripts/test_contract.py checks synthetic parsers and the shared CLI contract.
scripts/smoke_test.py checks fixtures before bounded live sites, rainfall, level,
flow and latest probes. Network outages are skips; parser failures are failures.
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/smoke_test.py (opens in a new tab)scripts/test_contract.py (opens in a new tab)tests/fixtures/catalogue.json (opens in a new tab)tests/fixtures/contract.json (opens in a new tab)tests/fixtures/fixtures.json (opens in a new tab)tests/fixtures/flow-day.json (opens in a new tab)tests/fixtures/level-raw.json (opens in a new tab)tests/fixtures/rainfall-bulk-hour.json (opens in a new tab)tests/fixtures/rainfall-hour.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