Energy hardship nz

From thecolab-ai/.skills · View interactive version

Energy hardship nz is an AI agent skill from the GitHub repository thecolab-ai/.skills. Query New Zealand energy-hardship evidence from MBIE energy-hardship measure reports, Stats NZ Household Expenditure Statistics household energy and electricity expenditure tables, and Electricity Authority disconnection dashboard/source metadata. Use for NZ energy poverty, electricity affordability

How to use this skill

Skill file

Energy Hardship NZ

Overview

Read-only CLI for repeatable access to public New Zealand energy-hardship

sources. It uses Python 3 standard library only, no API key, no browser, and no

cache. It prefers public CSV/HTML/source metadata and returns explicit

blocked or partial states where the public source is an XLSX/PDF/dashboard

that cannot be fully parsed without dependencies or browser context.

Commands

Run commands through scripts/cli.py. Every command accepts --json.

| Command | Purpose |

| --- | --- |

| datasets | List MBIE, Stats NZ HES, and Electricity Authority source releases and access status |

| measures --year-ended YYYY | Return MBIE national five-measure snapshot where available |

| burden --breakdown income-decile|income-quintile --year YYYY | Return feasible HES household energy/electricity expenditure data and explain unavailable income breakdowns |

| disconnections --from YYYY-MM --to YYYY-MM | Return EA disconnection dashboard/source metadata, or counts if a public machine feed is later found |

| sources | Print detailed source URLs, parsing constraints, and caveats |

Examples

python3 scripts/cli.py datasets --json
python3 scripts/cli.py measures --year-ended 2024 --json
python3 scripts/cli.py burden --breakdown income-quintile --year 2023 --json
python3 scripts/cli.py disconnections --from 2021-10 --to 2021-12 --json
python3 scripts/cli.py sources

Notes

year ended June 2024 and its XLSX workbook. Some environments receive a 403

from MBIE's direct HTML/document URLs; the CLI reports that as a source access

block and still returns documented 2024 national summary measures.

XLSX codebook. The CLI includes a small stdlib XLSX reader only for simple

code-table cells.

gas, and other domestic fuels, but not a public income-decile/quintile burden

table. The burden command labels that limitation directly.

and documents public Azure Blob dataset access. The current disconnection

folder is metadata/PDF-only for this CLI's stdlib parser.

references/api-notes.md.

Resources

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.