/nz-skills:stats-nzfrom nz-skills
Queries official Stats NZ data including CPI, GDP, population, migration, and travel-to-work figures via a deterministic CLI. No API key or login required.
Ships in nz-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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 population
3a. Use place-travel CLASS/slug for main means of travel to work at one place. population remains the estimated-resident-population commandmigration 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 projectionplace-travel PLACE [--address usual|workplace] [--json] - main means of travel to work for one place summarymigration [--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 place-travel UR/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 regional-council place-summary pages. It still reads estimated resident population onlyplace-travel reads one place-summary page on tools.summaries.stats.govt.nz and returns the main-means-of-travel-to-work rows for usual residence or workplace address. One place per call, 15-second timeout, and a 2 MB page cap. A suppressed cell keeps the published confidentiality indicator and does not invent a percent or count. An empty travel section is a failure--json for chaining into other toolsreferences/api-notes.md (opens in a new tab)references/source-notes.md (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/provenance.py (opens in a new tab)scripts/smoke_test.py (opens in a new tab)scripts/test_contract.py (opens in a new tab)tests/fixtures/contract.json (opens in a new tab)tests/fixtures/place-travel-auckland.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thecolab-ai/.skills --plugin nz-skills186 skills in this plugin
/airnz-flightsSearch public Air New Zealand fare snapshots and timetable fallback data through a lightweight no-login CLI. Use when the task involves Air NZ route/date fare snapshots, fare products, flight numbers, departure/arrival times, duration, stops, or machine-readable current flight data. Optional --browser mode uses CloakBrowser when installed and returns cloakbrowser_not_installed when unavailable. Read-only; no login, Airpoints, seat holds, booking, payment, manage-booking, or checkout actions./akahu-personalQuery personal transactional bank-account data — account lists, balances, settled/pending transactions, account-specific transaction history, and private JSON/CSV exports — from Akahu, a New Zealand open-banking provider. Use when the task involves personal bank data exports, NZ account balances, transaction analysis, cashflow/spending categorisation, or inspecting authenticated Personal App banking data. Requires user-provided AKAHU_APP_TOKEN and AKAHU_USER_TOKEN; never smoke-test against real personal data in CI./akl-housing-capacityQuery Auckland housing supply trends and 2022/23 plan-enabled and feasible housing capacity. Use for monthly housing updates, building consents, HBA, capacity for growth, PC78, local-board growth capacity, social housing delivery and housing demolition source discovery.Other plugins' skills for the same job