/nz-skills:oia-statistics-nzfrom nz-skills
Queries New Zealand Public Service Commission OIA compliance statistics by period and agency, covering timeliness, extensions, transfers, refusals, proactive publication, and Ombudsman complaints.
Ships in nz-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Expose the Public Service Commission six-monthly Official Information Act (OIA) statistics in a small, deterministic CLI that removes scraping friction for downstream civic-transparency workflows.
The skill uses the PSC all-data CSV and official dated release workbooks. The CSV retains historical rows, including undated records when the upstream date column is damaged.
list-agencies [--json] - list distinct agencies that have a PSC OrgID. Release records without an OrgID are not listed separately; when merged by name (see Notes) they count toward that agency's period_count, otherwise query them by exact name with agency.agency <name-or-org-id> [--period YYYY-MM-DD|latest] [--json] - full per-period time series for one agency or one period. Name matching ignores case, macrons and the CSV ? placeholder. A name that resolves to one OrgID returns that agency's whole dated history, including a published short name that is a whole-word prefix of that OrgID only. If the same words also match a different OrgID, the query is ambiguous.period <YYYY-MM-DD|latest> [--sort name|worst|best|requests] [--json] - all agencies for one period with computed timeliness percentage.periods [--json] - list all discovered survey periods with simple period-level counts.tables [--format all|csv|xlsx|pdf] [--json] - discover PSC OIA table assets from the landing page (plus the stable all-data CSV fallback).timeliness [--period latest] [--sort worst|best|name] [--limit 20] [--json] - agency timeliness metrics for a period.refusals [--period latest] [--sort worst|best|name] [--limit 20] [--json] - refusal count and percentage per agency.extensions [--period latest] [--sort worst|best|name] [--limit 20] [--json] - extension count and percentage per agency.complaints [--period latest] [--sort complaints|final_opinions|worst|best|name] [--limit 20] [--json] - Ombudsman complaints and final-opinion counts.totals [--period latest] [--json] - sector-wide totals and computed aggregate on-time rate for a period.Run with:
python3 skills/oia-statistics-nz/scripts/cli.py <command> [flags]
scripts/oia_workbooks.py reads dated release workbooks using stdlib ZIP/XML..cache/ inside the skill. Cached provenance retains the original retrieval time.org_id: null and an identity_warning. CSV rows that match no release record remain undated and are excluded from period totals. Published ID conflicts remain explicit warnings; use exact agency names for affected records.? placeholder ignored) equals, is a two-or-more-word whole-word prefix of, or is a whole-word part of, the names of exactly one OrgID agency that has no record of its own in that period. A name that also fits a different OrgID is not merged. Merged records keep org_id: null and add inferred_org_id; they never count as a separate agency for ambiguity. Period totals are unaffected. Housing New Zealand Corporation (OrgID 145) stays separate from Kāinga Ora–Homes and Communities (OrgID 3118): the July–December 2019 workbook already includes that half-year's Housing New Zealand requests inside the Kāinga Ora row, and earlier Housing New Zealand periods are not added again.null with timeliness_pct: null; it is never treated as 0%. Aggregate on-time counts and percentages (totals, periods, period, timeliness) exclude such agencies from both numerator and denominator, report on_time_coverage (covered and missing agencies/requests) and add a warning. requests_handled totals still include them, and timeliness --sort worst|best lists them last.references/api-notes.mdreferences/api-notes.md (opens in a new tab)references/source-notes.md (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/oia_workbooks.py (opens in a new tab)scripts/smoke_test.py (opens in a new tab)scripts/test_contract.py (opens in a new tab)tests/fixtures/contract.json (opens in a new tab)tests/fixtures/release-tables.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thecolab-ai/.skills --plugin nz-skills186 skills in this plugin
/airnz-flightsSearch public Air New Zealand fare snapshots and timetable fallback data through a lightweight no-login CLI. Use when the task involves Air NZ route/date fare snapshots, fare products, flight numbers, departure/arrival times, duration, stops, or machine-readable current flight data. Optional --browser mode uses CloakBrowser when installed and returns cloakbrowser_not_installed when unavailable. Read-only; no login, Airpoints, seat holds, booking, payment, manage-booking, or checkout actions./akahu-personalQuery personal transactional bank-account data — account lists, balances, settled/pending transactions, account-specific transaction history, and private JSON/CSV exports — from Akahu, a New Zealand open-banking provider. Use when the task involves personal bank data exports, NZ account balances, transaction analysis, cashflow/spending categorisation, or inspecting authenticated Personal App banking data. Requires user-provided AKAHU_APP_TOKEN and AKAHU_USER_TOKEN; never smoke-test against real personal data in CI./akl-housing-capacityQuery Auckland housing supply trends and 2022/23 plan-enabled and feasible housing capacity. Use for monthly housing updates, building consents, HBA, capacity for growth, PC78, local-board growth capacity, social housing delivery and housing demolition source discovery.Other plugins' skills for the same job