Nz local government data

From thecolab-ai/.skills · View interactive version

Nz local government data is an AI agent skill from the GitHub repository thecolab-ai/.skills. Discover and preview official New Zealand local government finance, performance, and statistics datasets from Stats NZ/data.govt.nz, DIA local council downloads, DIA council performance metrics, and OAG local-government insight sources. Use when the task involves council profiles, rates revenue, loc

How to use this skill

Skill file

NZ Local Government Data

Goal

Find and preview official New Zealand local government datasets without login, mutation, API keys, browser automation, or invented structure for PDF-only sources.

The skill focuses on discovery-first access to:

Use this when

Do not use this for

Preferred workflow

  1. Run scripts/cli.py datasets --json to discover source catalogues and key official resources.
  2. Run scripts/cli.py downloads --json to enumerate DIA Local Councils CSV/XLSX/PDF downloads.
  3. Run scripts/cli.py performance-metrics --json for a small DIA council profile data preview.
  4. Run scripts/cli.py councils --json when you need council names, DIA profile group codes, and source identifiers.
  5. Run scripts/cli.py local-authority-stats --query <topic> --json for Stats NZ/data.govt.nz local-authority dataset discovery.
  6. Use compare only for simple comparisons against columns present in the DIA performance workbook.
  7. Always include source URLs, date/cadence notes, format/licence caveats, and any fetch errors in user-facing summaries.

CLI

Run with:

python3 skills/nz-local-government-data/scripts/cli.py <command> [flags]

Commands

Examples:

python3 skills/nz-local-government-data/scripts/cli.py datasets --json
python3 skills/nz-local-government-data/scripts/cli.py downloads --format CSV --json
python3 skills/nz-local-government-data/scripts/cli.py councils --query Auckland --json
python3 skills/nz-local-government-data/scripts/cli.py performance-metrics --council Wellington --json
python3 skills/nz-local-government-data/scripts/cli.py local-authority-stats --council Auckland --json
python3 skills/nz-local-government-data/scripts/cli.py compare --metric rates --councils Auckland,Wellington --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.