Help us improve
Share bugs, ideas, or general feedback.
From nz-skills
Queries live Wellington Metlink train data via a lightweight read-only CLI using GTFS and GTFS-RT. Covers Johnsonville, Kapiti, Hutt Valley, Melling, and Wairarapa Line arrivals, delays, alerts, and vehicle positions.
npx claudepluginhub thecolab-ai/.skills --plugin nz-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/nz-skills:nz-trainsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query live Wellington train data from Metlink GTFS and GTFS-RT endpoints through a small deterministic CLI with human-readable and JSON output.
Queries live Wellington-region Metlink bus data via a CLI for stops, routes, arrivals, alerts, and vehicle positions. Use only for Metlink buses, not trains, ferries, or cable car.
Queries the Seoul Open Data API for real-time subway arrival info, summarizing line, direction, and approaching trains by station name.
Automates Bart operations via Composio toolkit through Rube MCP. Discovers tools, manages connections, and executes workflows with schema compliance.
Share bugs, ideas, or general feedback.
Query live Wellington train data from Metlink GTFS and GTFS-RT endpoints through a small deterministic CLI with human-readable and JSON output.
nz-busesat-transportMETLINK_API_KEY in the environment before running data commandsscripts/cli.py with the narrowest subcommand that answers the tasklines for a quick network snapshotarrivals or station for stop-specific next trainsdelays, vehicles, and alerts for operational status--json for agent chaining, comparisons, or structured reportsRequires a Metlink Open Data API key.
export METLINK_API_KEY=your_key_here
The CLI reads os.environ["METLINK_API_KEY"]. There is no fallback key.
Run with:
python3 skills/nz-trains/scripts/cli.py <command> [flags]
lines [--json] - list Wellington train lines with current delay, alert, and vehicle countsline <name> [--json] - detail for one line; accepts codes like WRL or names like Wairarapastations [--line <name>] [--json] - train stations, optionally filtered to one linestation <stop-id-or-name> [--limit N] [--json] - station detail with next train arrivalsarrivals <station> [--limit N] [--json] - next live train arrivals at a station; accepts stop ID or namedelays [--line <name>] [--limit N] [--json] - current late or cancelled train tripsvehicles [--line <name>] [--limit N] [--json] - live train positions with lat/lonalerts [--line <name>] [--limit N] [--json] - active train-specific service alertsExamples:
python3 skills/nz-trains/scripts/cli.py lines
python3 skills/nz-trains/scripts/cli.py line WRL --json
python3 skills/nz-trains/scripts/cli.py stations --line KPL
python3 skills/nz-trains/scripts/cli.py arrivals WELL --limit 8
python3 skills/nz-trains/scripts/cli.py station Masterton --json
python3 skills/nz-trains/scripts/cli.py delays --line Wairarapa
python3 skills/nz-trains/scripts/cli.py vehicles --line KPL --json
python3 skills/nz-trains/scripts/cli.py alerts --line HVL
scripts/cli.pyreferences/api-notes.mdMETLINK_API_KEY; never commit keys or .env filesroute_type=2 and the five Wellington train route codes onlyWELL is the Wellington Station parent stop ID; numeric city bus stops such as 5000 are not train stationsWRL) covers the long-distance Metlink rail service to Masterton