Child Poverty Nz logo

Child Poverty Nz

Organization
thecolab-ai
child-poverty-nz

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 region, ethnicity (Māori, Pacific, European, Asian) and disability. Use for tasks about NZ child poverty rates, kids in hardship or deprivation, poverty by region or ethnic group, annual change, or finding the latest Stats NZ child-poverty release.

Overview

Publisherthecolab-ai
Repository.skills
Skill namechild-poverty-nz
Stars
39
Forks
9
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by thecolab-ai on GitHub. Read the source before you install it.

Installation

Install the Child Poverty Nz AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/thecolab-ai/.skills/tree/main/skills/child-poverty-nz
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thecolab-ai/.skills.git /tmp/.skills
mkdir -p .claude/skills
cp -r /tmp/.skills/skills/child-poverty-nz .claude/skills/child-poverty-nz
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Child Poverty Nz in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Child Poverty Nz on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Child Poverty Nz is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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:

  • NZ child poverty rates, child numbers, or annual change for any CPRA measure
  • material hardship / severe hardship / DEP-17 deprivation among children
  • poverty broken down by region, ethnicity (Māori, Pacific, European, Asian), or disability
  • a time series of child-poverty rates for charting (2007-2025 national; 2019-2025 disaggregated)
  • finding the latest Stats NZ child-poverty release ZIP

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.

  • measures [--json] — list the nine CPRA measure codes with plain-English names.
  • national --measure CODE [--year Y] [--from Y] [--to Y] [--json] — proportion (%), number (000s), annual change and child population for a measure, with confidence intervals. Defaults to MEASA, full 2007-2025 range.
  • latest [--json] — the most recent year's headline proportion + CI for all nine measures.
  • breakdown --measure CODE --by region|ethnicity|disability [--year Y] [--json] — disaggregated proportion/number across the demographic codes (2019-2025).
  • trend --measure CODE [--demographic CODE] [--json] — full time series for charting; pass a demographic code (e.g. REGC02, ETHG02, DISD01) for a disaggregated series.
  • releases [--json] — scrape the Stats NZ CSV-files index to list available child-poverty releases and their ZIP URLs.

Errors print to stderr and exit non-zero.

Examples

bash
# 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

  • Estimates carry sampling error; always surface the confidence interval (*_lower_ci / *_upper_ci) alongside a rate, not just the point estimate.
  • Regional figures are unavailable for 2022 and regional annual change is unavailable for 2023 (2022 data-quality issues). 2025 material-hardship and disability questions changed in the transition to the Household Income and Living Survey, so disabled-children hardship is not comparable to earlier years.
  • Flags: NA = no prior-year data (change not applicable); cells may be suppressed (S) for confidentiality when fewer than six units contribute.
  • All commands hit the network. Run scripts/smoke_test.py for a live check.
  • Endpoint detail, file layout, and the full code legend are in references/api-notes.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Child Poverty Nz AI skill do?

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 region, ethnicity (Māori, Pacific, European, Asian) and disability. Use for tasks about NZ child poverty rates, kids in hardship or deprivation, poverty by region or ethnic group, annual change, or finding the latest Stats NZ child-poverty release.

Why use Child Poverty Nz on TypingMind?

Because you install it once and use it with any model. Child Poverty Nz is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Child Poverty Nz in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/thecolab-ai/.skills/tree/main/skills/child-poverty-nz. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Child Poverty Nz?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Child Poverty Nz?

As many as you like. As long as a model supports skills, you can use Child Poverty Nz with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Child Poverty Nz AI skill free?

Yes. It is published on GitHub by thecolab-ai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇