Legislation nz

From thecolab-ai/.skills · View interactive version

Legislation nz is an AI agent skill from the GitHub repository thecolab-ai/.skills. Resolves, searches, and checks New Zealand Acts, Bills, secondary legislation, sections, point-in-time versions, and update feeds from official legislation.govt.nz and PCO sources. Use when a task needs NZ legislation text, exact section citations, current in-force status, amendments since a date, c

How to use this skill

Skill file

New Zealand Legislation

Goal

Use official New Zealand Legislation sources to resolve legislation records, quote current or point-in-time sections, list versions, inspect current Bills, and check recent publication/update feeds.

Quick triage

Use this when:

Do not use this for:

CLI

python3 skills/legislation-nz/scripts/cli.py search "Grocery Industry" --type act --json
python3 skills/legislation-nz/scripts/cli.py get-act 2003/52 --json
python3 skills/legislation-nz/scripts/cli.py get-section 2003/52 9C --json
python3 skills/legislation-nz/scripts/cli.py get-section 1993/105 "Schedule 7" --json
python3 skills/legislation-nz/scripts/cli.py get-section 1993/105 "Schedule 7 clause 1" --json
python3 skills/legislation-nz/scripts/cli.py versions 2003/52 --json
python3 skills/legislation-nz/scripts/cli.py updates --since 2026-07-01 --json
python3 skills/legislation-nz/scripts/cli.py list-bills --json
python3 skills/legislation-nz/scripts/cli.py sources --json

Commands:

ACT_ID can be a year/number pair such as 2003/52, a work/version id such as act_public_2003_52, or a canonical legislation.govt.nz URL.

SECTION accepts a body section label (9C), a schedule (Schedule 7, sch 7, sched 7), or a clause within a schedule (Schedule 7 clause 1, sch 7 cl 1). Schedules live in a separate XML tree from body sections, so they must be asked for by name. Bare numeric labels always resolve to the body section first — get-section 1993/105 7 returns s7 "Control defined", not Schedule 7. Each result carries a kind field of section, schedule, or schedule-clause; schedule clauses also carry a schedule field. Check kind before quoting a result as a section.

Source Behaviour

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.