Nz council

From thecolab-ai/.skills · View interactive version

Nz council is an AI agent skill from the GitHub repository thecolab-ai/.skills. Query NZ council events and public recreation facilities (pools, leisure centres) for Auckland, Wellington, Christchurch, Rotorua, Hamilton, Dunedin, and 10 other NZ council areas. Optional --browser mode uses CloakBrowser for public pages that direct HTTP cannot fetch. Not for rates, consents, paym

How to use this skill

Skill file

NZ Council

Goal

Use a small read-only CLI to look up two NZ council public-information domains:

This v1 is deliberately narrow. It is not a general council-services skill.

Use this when

Do not use this for

Preferred workflow

  1. Start with events for what's-on questions. Eventfinda public pages are the primary cross-NZ source because the official Eventfinda REST API requires authentication.
  2. Use event <id> only with an event URL/path returned by events --json.
  3. Use pools --council akl --json for Auckland pool lists with parsed hours.
  4. Use pool "Tepid Baths" --json for a single Auckland pool, including public lane availability when Auckland Leisure exposes it.
  5. Use Wellington City recreation commands for basic Wellington pool/recreation-centre listings; open linked WCC pages if exact opening times are needed.
  6. Use pools --council rot --json or pool "Rotorua Aquatic" --json for Rotorua Lakes aquatic facilities.
  7. Use pools --council npl --json for New Plymouth public pool listings, including Todd Energy Aquatic Centre and selected seasonal/community pools.
  8. Use pools --council npr --json for Napier Aquatic Centre / Onekawa Pools.
  9. Use pools --council has --json for Hastings aquatic recreation facilities, including Splash Planet and Aquatics Hastings pools.
  10. Use pools --council ham --json or pool "Waterworld" --json for Hamilton Pools facilities, including Waterworld, Gallagher Aquatic Centre, and current seasonal partner pools.
  11. Use Wellington region council codes for aquatic facilities beyond Wellington City: hutt, porirua, uhutt, and kapiti.
  12. Use pools --council whg --json or pool "ASB Leisure" --json for Whangarei Aquatic Centre. ASB Leisure is treated as a legacy/search alias for the current Ewing Road aquatic-centre source.
  13. Use Nelson and Tasman recreation commands for council-sourced static facility details; open linked council/operator pages for current hours.
  14. Use pools --council chc --json, facilities --council chc --type pool --json, or pool "Jellie Park" --json for Christchurch Recreation and Sport facilities. The CLI reads public recandsport CCC endpoints and public facility pages; it does not book sessions or use authenticated portals.
  15. Use pools --council pmn --json or pool "Lido" --json for Palmerston North council-listed swimming facilities, with PNCC details and public CLM hours where linked.
  16. Use pools --council tga --json or facilities --council tga --type pool --json for Tauranga City Council aquatic centres operated by Bay Venues, including current closed-status notes where exposed.
  17. Use Queenstown Lakes recreation commands for QLDC pools, Queenstown Events Centre, Wānaka Recreation Centre, Paetara Aspiring Central, and Alpine Health and Fitness.

CLI

Run from this skill directory or point directly at the script:

python3 skills/nz-council/scripts/cli.py --help

Every data command supports --json and optional --browser. Browser mode imports CloakBrowser only when requested and is intended for public council/facility pages where direct HTTP is Cloudflare/Akamai/Incapsula/Radware challenged; it does not book, log in, submit forms, or bypass CAPTCHA/challenge pages. If CloakBrowser is missing the JSON error is cloakbrowser_not_installed; if the licence's concurrent-session limit is in use the JSON error is browser_session_limit (exit code 76); any other CloakBrowser start-up failure is browser_launch_failed (exit code 1).

Commands

python3 skills/nz-council/scripts/cli.py events [--council akl|wlg|chc|rot|npl|nsn|tdc|npr|has|ham|whg|pmn|tga|qldc|dud] [--from DATE] [--to DATE] [--category SLUG] [--free] [--limit N] [--json]
python3 skills/nz-council/scripts/cli.py event <id-or-url> [--json]

python3 skills/nz-council/scripts/cli.py pools [--council akl|wlg|chc|rot|npl|nsn|tdc|npr|has|ham|hutt|porirua|uhutt|kapiti|whg|pmn|tga|qldc|dud] [--region central|east|north|south|west] [--limit N] [--json]
python3 skills/nz-council/scripts/cli.py pool <name> [--council akl|wlg|chc|rot|npl|nsn|tdc|npr|has|ham|hutt|porirua|uhutt|kapiti|whg|pmn|tga|qldc|dud] [--json]
python3 skills/nz-council/scripts/cli.py facilities [--council akl|wlg|chc|rot|npl|nsn|tdc|npr|has|ham|hutt|porirua|uhutt|kapiti|whg|pmn|tga|qldc|dud] [--type pool|gym|leisure-centre|library] [--region central|east|north|south|west] [--limit N] [--json]

Examples

python3 skills/nz-council/scripts/cli.py events --council akl --from 2026-05-23 --to 2026-05-24 --limit 5 --json
python3 skills/nz-council/scripts/cli.py events --council wlg --from 2026-05-24 --to 2026-05-24 --limit 5 --json
python3 skills/nz-council/scripts/cli.py event /2026/some-event/auckland --json

python3 skills/nz-council/scripts/cli.py pools --council akl --region central --json
python3 skills/nz-council/scripts/cli.py pool "Tepid Baths" --json
python3 skills/nz-council/scripts/cli.py facilities --council wlg --type pool --json
python3 skills/nz-council/scripts/cli.py pools --council rot --json
python3 skills/nz-council/scripts/cli.py pool "Rotorua Aquatic" --json
python3 skills/nz-council/scripts/cli.py pools --council npl --json
python3 skills/nz-council/scripts/cli.py pool "Todd Energy" --json
python3 skills/nz-council/scripts/cli.py pools --council npr --json
python3 skills/nz-council/scripts/cli.py pools --council has --json
python3 skills/nz-council/scripts/cli.py pool "Onekawa" --json
python3 skills/nz-council/scripts/cli.py pool "Splash Planet" --json
python3 skills/nz-council/scripts/cli.py pools --council ham --json
python3 skills/nz-council/scripts/cli.py pool "Waterworld" --json
python3 skills/nz-council/scripts/cli.py pools --council hutt --limit 3 --json --browser
python3 skills/nz-council/scripts/cli.py pool "Naenae Pool" --council hutt --json
python3 skills/nz-council/scripts/cli.py pools --council kapiti --json
python3 skills/nz-council/scripts/cli.py pools --council whg --json
python3 skills/nz-council/scripts/cli.py pool "ASB Leisure" --json
python3 skills/nz-council/scripts/cli.py pools --council chc --json
python3 skills/nz-council/scripts/cli.py pool "Jellie Park" --json
python3 skills/nz-council/scripts/cli.py pools --council pmn --json
python3 skills/nz-council/scripts/cli.py pool "Lido" --json
python3 skills/nz-council/scripts/cli.py pools --council tga --json
python3 skills/nz-council/scripts/cli.py pool "Baywave" --json
python3 skills/nz-council/scripts/cli.py pool "Baywave" --council tga --json
python3 skills/nz-council/scripts/cli.py pools --council qldc --json
python3 skills/nz-council/scripts/cli.py pool "Alpine Aqualand" --json
python3 skills/nz-council/scripts/cli.py facilities --council qldc --type leisure-centre --json
python3 skills/nz-council/scripts/cli.py pools --council nsn --json
python3 skills/nz-council/scripts/cli.py facilities --council tdc --type leisure-centre --json

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.