Help us improve
Share bugs, ideas, or general feedback.
From nz-skills
Queries official Stats NZ data including CPI, GDP, population estimates/projections, migration, and CSV catalogue via CLI without API keys or authentication.
npx claudepluginhub thecolab-ai/.skills --plugin nz-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/nz-skills:stats-nzThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query official New Zealand statistics through a small deterministic CLI with human-readable and JSON output, without browser automation, login, API keys, or local cache state.
Queries official NZ MSD benefit statistics (Jobseeker Support, Sole Parent Support, NZ Super, etc.) by quarter, gender, ethnicity, age group, and region from frozen 2014-2019 CSV releases.
Queries public statistical data from Data Commons (demographics, economics, health, environment) via the Python API v2. Use for population, GDP, unemployment, disease prevalence, and geographic entity resolution.
Finds the authoritative official source for any statistical indicator, including where to get the latest figures and what to watch for.
Share bugs, ideas, or general feedback.
Query official New Zealand statistics through a small deterministic CLI with human-readable and JSON output, without browser automation, login, API keys, or local cache state.
This skill ships support for:
scripts/cli.py with the narrowest subcommand that answers the taskcpi for the headline quarterly all-groups CPI index
2a. Use fpi for the headline monthly all-groups Food Price Indexpopulation for national estimates, population --projection YEAR for national projections, or population --region REGION for regional council populationmigration for latest long-term migrant arrivals, departures, and net migrationgdp for quarterly headline GDP production and expenditure seriesseries <id> when the user gives a Stats NZ Series_referencesearch <query> before adding a new Stats NZ CSV-backed command--json when another tool or agent needs machine-readable outputRun with:
python3 skills/stats-nz/scripts/cli.py <command> [flags]
cpi [--from DATE] [--to DATE] [--json] - Consumers price index quarterly all-groups index for New Zealandfpi [--from DATE] [--to DATE] [--json] - Food price index monthly all-groups index for New Zealandpopulation [--region REGION] [--projection YEAR] [--scenario SCENARIO] [--json] - national population, regional council population, or national projectionmigration [--json] - latest estimated long-term migrant arrivals, departures, and net migrationgdp [--from DATE] [--to DATE] [--json] - quarterly headline GDP production and expenditure measuresseries ID [--from DATE] [--to DATE] [--limit N] [--json] - observations for a wired Stats NZ Series_referencesearch QUERY [--limit N] [--json] - search the Stats NZ large-datasets CSV catalogueExamples:
python3 skills/stats-nz/scripts/cli.py cpi
python3 skills/stats-nz/scripts/cli.py cpi --from 2025-03 --json
python3 skills/stats-nz/scripts/cli.py fpi --json
python3 skills/stats-nz/scripts/cli.py population --json
python3 skills/stats-nz/scripts/cli.py population --region auckland --json
python3 skills/stats-nz/scripts/cli.py population --projection 2050 --json
python3 skills/stats-nz/scripts/cli.py migration --json
python3 skills/stats-nz/scripts/cli.py gdp --json
python3 skills/stats-nz/scripts/cli.py series CPIQ.SE9A --limit 4 --json
python3 skills/stats-nz/scripts/cli.py search "gross domestic product" --limit 5 --json
scripts/cli.pyreferences/api-notes.mdcpi, fpi, gdp, migration, series, and search use the public Stats NZ large-datasets CSV catalogue at https://www.stats.govt.nz/large-datasets/csv-files-for-download/fpi resolves the latest Food Price Index "index numbers" CSV on that page; the bulk-CSV page can host an older FPI release than Infoshare, so it auto-freshens when a newer CSV is postedpopulation uses public Stats NZ indicator, projection release, and place-summary pages--json for chaining into other tools