Nz road closures

From thecolab-ai/.skills · View interactive version

Nz road closures is an AI agent skill from the GitHub repository thecolab-ai/.skills. Query NZTA / Waka Kotahi state-highway road closures, roadworks, incidents, traffic cameras, routes, and regions. Use for NZ state highway conditions. Read-only; no alerts, accounts, or reporting.

How to use this skill

Skill file

NZ Road Closures

Goal

Query live NZTA / Waka Kotahi Journey Planner road-event and traffic-camera data through a small deterministic CLI with human-readable and JSON output, without browser automation, account login, or API keys.

Use this when

Do not use this for

Preferred workflow

  1. Run scripts/cli.py with the narrowest subcommand that answers the task
  2. Use closures for the national state-highway overview and add --region when the user names a region
  3. Use --type closure, --type roadworks, or --type incident to reduce noise
  4. Use incident <id> when an exact NZTA Journey Planner event id is known
  5. Use cameras --region <region> for traffic camera image URLs and camera status
  6. Use routes or regions to discover Journey Planner route and region names
  7. Use --json for agent chaining, comparisons, alerts, or structured reports
  8. Mention that the upstream source is NZTA / Waka Kotahi Journey Planner and that local roads may require council sources

CLI

Run with:

python3 skills/nz-road-closures/scripts/cli.py <command> [flags]

Commands

Examples:

python3 skills/nz-road-closures/scripts/cli.py closures --limit 10
python3 skills/nz-road-closures/scripts/cli.py closures --region Waikato --type roadworks --json
python3 skills/nz-road-closures/scripts/cli.py incident 541438 --json
python3 skills/nz-road-closures/scripts/cli.py cameras --region Canterbury --limit 5
python3 skills/nz-road-closures/scripts/cli.py routes --region Wellington --json
python3 skills/nz-road-closures/scripts/cli.py regions

Resources

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.