Nz ministers

From thecolab-ai/.skills · View interactive version

Nz ministers is an AI agent skill from the GitHub repository thecolab-ai/.skills. Query New Zealand government ministers, their portfolios, and their press releases from beehive.govt.nz. Use when the task involves NZ ministers, who holds a portfolio (health, finance, energy, etc.), a minister's bio, or all the releases/speeches by a given minister, plus the latest government anno

How to use this skill

Skill file

NZ Ministers

Query NZ government ministers, the portfolios they hold, and the press releases /

speeches attributed to them, from beehive.govt.nz (the official NZ Government

website). Read-only; no login, account, or API key.

Use this when

Do not use this for

Commands

cli=skills/nz-ministers/scripts/cli.py

# Latest government releases/speeches — KEYLESS, no browser needed
python3 $cli latest --limit 10
python3 $cli latest --type speech --json

# A minister's full profile: roles, biography, latest diary, recent articles
python3 $cli minister hon-simeon-brown --browser --json
python3 $cli minister "Simeon Brown" --browser

# Roles & responsibilities (portfolios + position)
python3 $cli roles hon-simeon-brown --browser --json

# Latest published ministerial diary (calendar) + archive link
python3 $cli diary hon-simeon-brown --browser --json

# All releases/speeches by a minister
python3 $cli articles hon-simeon-brown --limit 20 --browser --json

Arguments

A minister is identified by slug (hon-simeon-brown, rt-hon-christopher-luxon,

hon-dr-shane-reti) or plain name ("Simeon Brown", "Shane Reti"); the CLI tries the

hon- / rt-hon- / hon-dr- honorific forms.

Bot protection & `--browser`

Only the latest-releases RSS feed is openly accessible. Minister pages are behind

Incapsula bot protection, so minister, roles, diary, and articles need a

browser to clear the challenge once:

clear the wall, and cache the clearance cookies (~5-minute TTL in a temp file).

until the cookies expire.

(clearance_required, cloakbrowser_not_installed if CloakBrowser is missing,

browser_session_limit (exit 76) if its licence session limit is in use, or

browser_launch_failed (exit 1) if it cannot start for another reason);

latest always works regardless.

The full ministerial-diary archive is rendered by a JavaScript search on beehive;

diary returns the latest diary (title, date, PDF) directly plus the archive_url

for the complete history.

Resources

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.