Child poverty nz

From thecolab-ai/.skills · View interactive version

Child poverty nz is an AI agent skill from the GitHub repository thecolab-ai/.skills. Query official New Zealand child poverty statistics from Stats NZ — the nine Child Poverty Reduction Act measures (BHC/AHC low-income lines, material hardship, severe material hardship, DEP-17 deprivation), national rates and child numbers 2007-2025 with confidence intervals, and breakdowns by regio

How to use this skill

Skill file

Child Poverty NZ

Overview

Read-only CLI over Stats NZ's annual Child Poverty Reduction Act (CPRA) data

releases. Each release is a public ZIP of UTF-8 CSVs (no API key, no login, no

bot challenge). The CLI auto-discovers the latest release from the Stats NZ

CSV-files index, downloads the ZIP in memory, and parses the national and

disaggregated data files with the Python standard library only.

The nine measures use codes MEASA–MEASJ (Stats NZ skips MEASD). The three

primary legislated measures are MEASA (income below 50% of the median

before housing costs, moving line), MEASB (below 50% after housing costs,

anchored line) and MEASC (material hardship, DEP-17, lacking 6+ of 17

items). MEASI is severe material hardship (lacking 9+ items) — a subset of

MEASC — and MEASJ is the combined low-income-and-hardship measure.

When to Use

Use this when the task involves:

Do not use this for: household-income/housing-cost statistics, benefit payment

records, the public housing register, or non-NZ poverty data.

Commands

Run with python3 scripts/cli.py <command>. Every command supports --json.

Errors print to stderr and exit non-zero.

Examples

# Headline picture for the latest year, all nine measures
python3 scripts/cli.py latest --json

# Primary measure (BHC<50%) national trend, last three years
python3 scripts/cli.py national --measure MEASA --from 2023 --to 2025

# Material hardship among children by disability status
python3 scripts/cli.py breakdown --measure MEASC --by disability --json

# Child poverty by ethnicity for the primary measure
python3 scripts/cli.py breakdown --measure MEASA --by ethnicity

# Māori child poverty time series for charting
python3 scripts/cli.py trend --measure MEASA --demographic ETHG02 --json

# Discover the latest release ZIP
python3 scripts/cli.py releases --json

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.