/nz-skills:akl-ontrackfrom nz-skills
Reads AKLOnTrack's public Auckland train observation archive for stop-by-stop lateness, cancellations, and skipped stops from data.aklontrack.com.
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.
Read-only client for the public observation archive at data.aklontrack.com.
It lists catalogue dates and fetches one day file named by that catalogue.
It does not call the live Auckland Transport API, GTFS timetable zips, trip-outcome
files, monthly CSV bundles, or the station-name reference.
Run from the repository root. Python 3.10+, standard library only. Each network
call times out after 15 seconds. --json prints a provenance envelope.
python3 skills/akl-ontrack/scripts/cli.py index --limit 20 --json
python3 skills/akl-ontrack/scripts/cli.py day 2026-07-23 --limit 20 --json
python3 skills/akl-ontrack/scripts/cli.py day --latest --limit 20 --json
index returns observation dates, byte sizes, row counts, trip counts, sha256
and written_at, newest first. The default returns every catalogue date, up to
a hard bound of 800. --limit accepts 1–500.
day takes one YYYY-MM-DD date or --latest. --latest selects the newest
index day whose row count is greater than zero and whose file is within the
byte cap, then fetches that file only. A date that is not in the index is an
error. An indexed day with zero stop rows returns an empty results array.
Stop observations keep the publisher's units: arrival_delay and
departure_delay are seconds late (negative means early); arrival and
departure are seconds from t0, Auckland midnight at the start of
service_date. arrival_time and departure_time are that instant in
Pacific/Auckland. If the day file omits a time field or sends JSON null, the
result uses null and does not substitute zero. state 0 is stopped, 1 cancelled,
2 skipped, 3 no report.
trip_rel and stop_rel stay as Auckland Transport sent them. Empty trip_id
stays empty. The default window is 20 observations; --limit is 1–500 and
--offset is 0–20000.
The day file's byte length and sha256 must match the index, and the index rows value must match the number of stop rows.
A licence object other than CC BY 4.0, a non-JSON body, an off-host redirect,
HTTP 429 or HTTP 503 is an error, not an empty timetable.
scripts/test_contract.py is offline. scripts/smoke_test.py replays fixtures
and then performs one live day --latest call (the index plus that one day).
Details and the column layout are in references/source-notes.md.
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/contract.json (opens in a new tab)tests/fixtures/day-bad-width.json (opens in a new tab)tests/fixtures/day-empty.json (opens in a new tab)tests/fixtures/day-positive.json (opens in a new tab)tests/fixtures/index-empty-day.json (opens in a new tab)tests/fixtures/index-empty.json (opens in a new tab)tests/fixtures/index-match.json (opens in a new tab)tests/fixtures/index-off-host.json (opens in a new tab)tests/fixtures/index-positive.json (opens in a new tab)tests/fixtures/index-unlicensed.json (opens in a new tab)tests/fixtures/malformed-body.txt (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