/nz-skills:worksafe-nzfrom nz-skills
Queries WorkSafe New Zealand public datasets for workplace incidents, concerns, serious harm notifications, and fatalities. Supports filtering by industry, region, and date range.
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.
Use the keyless scripts/cli.py to fetch public workplace harm exports. All
filters run locally. Every data command supports --json with a meta/results
provenance envelope. Python 3.10+ standard library only.
python3 skills/worksafe-nz/scripts/cli.py sources --json
python3 skills/worksafe-nz/scripts/cli.py datasets --json
python3 skills/worksafe-nz/scripts/cli.py incidents --industry Construction --region Auckland --from 2025-01 --to 2025-12 --json
python3 skills/worksafe-nz/scripts/cli.py incidents --dataset concerns --industry Construction --limit 5 --json
python3 skills/worksafe-nz/scripts/cli.py incidents --dataset injuries_serious_harm --json
python3 skills/worksafe-nz/scripts/cli.py incidents --dataset serious_harm --json
python3 skills/worksafe-nz/scripts/cli.py fatalities --year 2025 --industry Construction --json
python3 skills/worksafe-nz/scripts/cli.py fatalities --industry Construction --industry-match any-level --json
python3 skills/worksafe-nz/scripts/cli.py summary --by industry --region Auckland --json
python3 skills/worksafe-nz/scripts/cli.py summary --dataset fatalities --by year --json
sources: discover current CSV URLs and page update dates, including the
separate historical HSE serious-harm file.datasets: download all five exports and report row counts, summed counts,
first and latest CSV months. These counts may differ from dashboard labels.incidents: grouped notification rows, defaulting to notifiable incidents.
--dataset also selects concerns, injuries_serious_harm (HSWA), or
serious_harm (historical HSE). Default --limit 100; --limit 0 returns all.
Metadata gives matched rows, summed count and truncation explicitly.fatalities: counts grouped by year, top-level industry and region. Optional
--year and --industry filters. No individual fatality records are returned.summary --by industry|region|year: sums notification counts or fatality rows
for one --dataset (default incidents), with optional industry, region and
inclusive --from YYYY-MM --to YYYY-MM filters.Industry filters match the exact top-level industry name without case sensitivity
by default (--industry-match top-level). Use --industry-match any-level on
incidents, fatalities or summary to search substrings across all industry
levels and AFF2017 groups. This broader search can include other sectors, such
as Mining's Construction Material Mining, in a search for Construction.
Region filters use local government regions, not
WorkSafe operational zones. Construction provides W1 C&D sector safety context;
these exports contain no material inventories or building locations.
Every command accepts --max-age SECONDS (default 86400, 0 forces a refresh).
Downloads are cached in the skill's .cache/ directory; expired caches are not
used on upstream failure. Cache writes are internal and optional. Each HTTP
request has a 10-second timeout. JSON failures use stable exit codes 2, 4, 5 or 6.
Treat notifications as reported events, not a census of harm or near misses. Notification dates can differ from occurrence dates. Read references/source-notes.md for endpoint details, fatality lag, licence uncertainty and breaks in comparability. Region labels do not include coordinates, so bounding boxes and GeoJSON are not supported.
Run scripts/test_contract.py for offline parser, cache and output checks;
scripts/smoke_test.py checks synthetic fixtures and bounded live commands.
tests/fixtures/ contains synthetic values in the source CSV and HTML shapes.
references/source-notes.md (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/provenance.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/fatalities.csv (opens in a new tab)tests/fixtures/notifications.csv (opens in a new tab)tests/fixtures/serious-harm.csv (opens in a new tab)tests/fixtures/source-page.html (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