NZ Ministers
SkillMediaQuery 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 announcements. The latest-releases feed is keyless; per-minister data uses an optional --browser (CloakBrowser) bootstrap to clear bot protection, then cached cookies for plain HTTP. Read-only; no login or account.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the NZ Ministers skill
What this skill tells your AI
The instructions your AI receives, as published by thecolab-ai/.skills in skills/nz-ministers/SKILL.md and read by ahel’s review.
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
- A user asks who is the Minister of , or what portfolios a minister holds
- A user wants a minister's profile (roles, biography, latest diary, recent articles)
- A user wants a minister's roles & responsibilities (portfolios + position)
- A user wants all articles by a minister (releases, speeches, features)
- A user wants a minister's diary / calendar (latest published ministerial diary)
- A user wants the latest government announcements site-wide
Do not use this for
- Drafting, editing, or sending anything (read-only)
- General NZ news — use the
nz-newsskill - Parliamentary bills/Hansard, MP voting records, or electorate data
- Defeating CAPTCHAs or bot walls — challenges are treated as blocked states
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
latest—--limit N,--type {release,speech,feature},--jsonminister <slug|name>—--browser,--jsonroles <slug|name>—--browser,--jsondiary <slug|name>—--browser,--jsonarticles <slug|name>—--limit N,--type {release,speech,feature},--browser,--json
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:
- Pass
--browserto launch CloakBrowser, clear the wall, and cache the clearance cookies (~5-minute TTL in a temp file). - After that, those commands work over plain HTTP from the cache — no browser — until the cookies expire.
- Without clearance, those commands return a machine-readable blocked state
(
clearance_required, orcloakbrowser_not_installedif CloakBrowser is missing);latestalways 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
- CLI entrypoint:
scripts/cli.py - Smoke test:
scripts/smoke_test.py - Source, bot-protection, parsing, and blocked-state details:
references/api-notes.md
Notes
- Data are live snapshots from beehive.govt.nz; releases reflect current site content.
- Use NZ English in any summaries you build from the output (organisation, colour).
--jsonon every command gives machine-readable output for agent chaining.
Signals
- GitHub stars
- 25
- Forks
- 6
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
nz-ministers- Source
- github.com/thecolab-ai/.skills