elections-nz
Query official New Zealand election results, electorate voting, turnout, aggregate party political finance and reporting rules from the Electoral Commission.
Skill by thecolab-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/thecolab-ai-elections-nz
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 4
codeload.github.com· found in install commandelectionresults.govt.nz· found in codeelections.nz· found in codeelections.nz.evil.test· found in code
Files it touches
~/.claude/skills/elections-nz
What's inside
- Skill name
elections-nz- Description
- Query official New Zealand election results, electorate voting, turnout, aggregate party political finance and reporting rules from the Electoral Commission.
- License
- MIT
- Compatibility
- Requires Python 3.10+ and network access for live data
- Metadata
- thecolab.auth: none · thecolab.pack: nz-public-data · thecolab.risk: low · thecolab.health: healthy · thecolab.writes: false · thecolab.browser: false · thecolab.category: government · thecolab.cache_ttl: 24h · thecolab.data_class: public · thecolab.maintainer: @adam91holt · thecolab.skill_type: public-download · thecolab.source_url: https://elections.nz/stats-and-research/ · thecolab.access_mode: public-download · thecolab.source_type: official · thecolab.source_owner: Electoral Commission · thecolab.last_verified: 2026-09-12 · thecolab.schema_version: 1 · thecolab.allowed_domains: elections.nz,www.elections.nz,electionresults.govt.nz,www.electionresults.govt.nz
- Instructions
- 53 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (15)
- SKILL.md
- source-notes.md · references/
- cli.py · scripts/
- election_results.py · scripts/
- political_finance.py · scripts/
- smoke_test.py · scripts/
- test_contract.py · scripts/
- test_finance.py · scripts/
- contract.json · tests/fixtures/
- finance-annual.html · tests/fixtures/
- finance-expenses.html · tests/fixtures/
- finance.html · tests/fixtures/
- overall-results.csv · tests/fixtures/
- turnout.csv · tests/fixtures/
- winning-candidates.csv · tests/fixtures/
SKILL.md (first lines)
# Elections NZ Use the read-only Python CLI to retrieve and filter records exposed by the official first-party source. Every command supports `--json`, bounded requests, stable exit codes, source URLs and retrieval timestamps. ## Commands ```bash # discover election results python3 scripts/cli.py results --year VALUE --json # discover electorate results python3 scripts/cli.py electorate NAME --year VALUE --json # discover party-vote results python3 scripts/cli.py party-vote --year VALUE --json # discover turnout series python3 scripts/cli.py turnout --year VALUE --json # discover candidate results python3 scripts/cli.py candidate NAME --year VALUE --json # discover party donation returns python3 scripts/cli.py donations --party VALUE --json # discover candidate expense returns python3 scripts/cli.py expenses --candidate VALUE --json # query Commission-published annual donation/loan aggregates (optional party filter) python3 scripts/cli.py finance-aggregates [PARTY] --kind annual --year 2025 --json # query Commission-published election-expense aggregates python3 scripts/cli.py finance-aggregates [PARTY] --kind expenses --year 2023 --json # retrieve exact source-wording rules (optional topic filter) python3 scripts/cli.py finance-rules [TOPIC] --kind annual --year 2025 --json ``` Add `--limit N` (1–100) to bound any command. Human output is the default. ## Coverage and interpretation - Only Electoral Commission outcomes are authoritative. - Preserve preliminary versus official status and publication date. - Finance aggregates retain reporting period, metric and missing-value context. Donation, loan, expense, expense-limit and broadcasting metrics remain distinct. - Reporting rules preserve source wording and mentioned amounts. Unknown effective dates stay unknown; this output is not legal advice. - Finance aggregation uses only the Commission's published party-summary tables. It never extracts donor/contributor names, addresses or donor-level records, and never recomputes totals from detailed schedules. - Do not derive voter-level profiles or political persuasion. Result commands parse the Commission's published CSV tables. Existing `donations` and `expenses` commands continue to return matching first-party return documents. `finance-aggregates` returns structured party-summary facts; `finance-rules` returns scoped official wording. A valid unmatched filter is an empty success, while source-layout or amount drift fails explicitly. ## Resources - `scripts/cli.py` — canonical command entrypoint - `scripts/test_contract.py` — deterministic repository contract audit - `scripts/test_finance.py` — aggregate-only, adversarial and CLI-state tests - `scripts/smoke_test.py` — parser fixture and bounded live probe - `tests/fixtures/overall-results.csv`, `turnout.csv`, `winning-candidates.csv`, `finance.html`, `finance-annual.html` and `finance-expenses.html` — scrubbed export-specific fixtures - `references/source-notes.md` — feasibility, provenance and source limits
From thecolab-ai/.skills, MIT.
More from thecolab-ai/.skills
- 0.658score
bkg-starkregen-wms
thecolab-ai
Query the BKG Hinweiskarte Starkregengefahren WMS for Germany heavy-rain hint layers and one extraordinary-event flow-velocity point.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
auckland-bin-schedule
thecolab-ai
Query Auckland Council rubbish, recycling, and food scraps collection days for Auckland properties using the public collection-day website flow.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
dft-pedal-cycle-factsheet
thecolab-ai
Read the Department for Transport 2025 Great Britain pedal-cycle road casualty factsheet tables.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
belib-ev-live
thecolab-ai
Look up live Belib electric-vehicle charge-point availability in Paris.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
au-energy-rating
thecolab-ai
Look up Australian and New Zealand Energy Rating labelled appliance registrations from the Australian Government data.gov.au CKAN package.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
brisbane-intersection-traffic
thecolab-ai
Read keyless Brisbane City Council real-time intersection lane volume, occupancy and traffic-signal locations from data.brisbane.qld.gov.au.
SkillAFreshness: A★ 34Claude Code +9 - 0.655score
akl-ontrack
thecolab-ai
Read AKLOnTrack's public Auckland train observation archive.
SkillAFreshness: A★ 34Claude Code +9 - 0.655score
akl-housing-capacity
thecolab-ai
Query Auckland housing supply trends and 2022/23 plan-enabled and feasible housing capacity.
SkillAFreshness: A★ 34Claude Code +9 - 0.655score
fenz-incidents-nz
thecolab-ai
Query official Fire and Emergency New Zealand operational reports and annual incident datasets by place, type and period.
SkillAFreshness: A★ 34Claude Code +9 - 0.655score
berlin-starkregen-wfs
thecolab-ai
Read Berlin Starkregen flood model areas from the official Geoportal Berlin WFS.
SkillAFreshness: A★ 34Claude Code +9 - 0.655score
akl-transport-performance
thecolab-ai
Query Auckland Transport patronage by mode and route, monthly punctuality and reliability, car park facility inventory with undated availability, and…
SkillAFreshness: A★ 34Claude Code +9 - 0.655score
akl-rainfall
thecolab-ai
Query Auckland Council rainfall gauges and river or stream levels and flows.
SkillAFreshness: A★ 34Claude Code +9
Signals
- Stars
- 34
- Forks
- 7
- Open issues
- 10
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/thecolab-ai/.skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from thecolab-ai
- 0.658score
auckland-bin-schedule
thecolab-ai
Query Auckland Council rubbish, recycling, and food scraps collection days for Auckland properties using the public collection-day website flow.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
au-energy-rating
thecolab-ai
Look up Australian and New Zealand Energy Rating labelled appliance registrations from the Australian Government data.gov.au CKAN package.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
belib-ev-live
thecolab-ai
Look up live Belib electric-vehicle charge-point availability in Paris.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
bkg-starkregen-wms
thecolab-ai
Query the BKG Hinweiskarte Starkregengefahren WMS for Germany heavy-rain hint layers and one extraordinary-event flow-velocity point.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
brisbane-intersection-traffic
thecolab-ai
Read keyless Brisbane City Council real-time intersection lane volume, occupancy and traffic-signal locations from data.brisbane.qld.gov.au.
SkillAFreshness: A★ 34Claude Code +9 - 0.658score
dft-pedal-cycle-factsheet
thecolab-ai
Read the Department for Transport 2025 Great Britain pedal-cycle road casualty factsheet tables.
SkillAFreshness: A★ 34Claude Code +9
Cite this page
elections-nz skill. Agent Mart. https://agentmart.dev/skills/thecolab-ai-elections-nz (last updated 2026-10-24)