/nz-skills:nz-regulatory-analysisfrom nz-skills
Discovers and inspects official New Zealand regulatory analysis publications (RAS, RIS, RIA) from the Ministry for Regulation and Ministry for the Environment. Returns classified links to PDFs without downloading them.
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.
Discover current official regulatory-analysis publication pages and inspect their linked PDFs. The skill reads the Ministry for Regulation's RAS index and the Ministry for the Environment's Cabinet-paper/RIS index. It classifies records without downloading or interpreting PDF contents.
search with a narrow policy phrase. Use --source when the publisher is known.inspect URL --json to list linked official PDFs and their distinct document types.source.retrieved_at; explain that listings can change.Run from the repository root:
python3 skills/nz-regulatory-analysis/scripts/cli.py <command> [flags]
Commands:
search QUERY [--source all|regulation|environment] [--limit 1-25] [--json] searches one or both current indexes. QUERY is positional.inspect URL [--json] fetches one supported official HTML publication page and lists same-site linked PDFs. URL is positional.Examples:
python3 skills/nz-regulatory-analysis/scripts/cli.py search "climate disclosures" --json
python3 skills/nz-regulatory-analysis/scripts/cli.py search freshwater --source environment --limit 5
python3 skills/nz-regulatory-analysis/scripts/cli.py inspect "https://www.regulation.govt.nz/publications-and-resources/regulatory-analysis-summaries/EXAMPLE/" --json
--json emits the repository result envelope (schema_version: "1"). Successful live results include source.url, source.retrieved_at, query, data, warnings, and blocked: false.
title, official url, displayed publication date, publisher, and document_type; source-specific author/tags are retained when shown. Regulation searches follow all result pages within the safety bound so source_totals.regulation is not a page-one count. Multi-document environment packages use publication_package and expose every labelled type in document_types rather than collapsing Cabinet and regulatory documents into one type.documents with official PDF URLs and separate document types.ok: true with results: [].blocked: true; upstream outages are exit 5; changed/malformed page structures are exit 6. They never become empty success.Document types include regulatory_analysis_summary, regulatory_impact_statement, regulatory_impact_assessment, supplementary_analysis_report, cost_recovery_impact_statement, quality-assessment variants, Cabinet paper/minute, briefing, and conservative fallback types.
scripts/cli.py — bounded stdlib HTTP client and parser.scripts/test_contract.py — deterministic repository contract runner.tests/test_parser.py and tests/fixtures/ — scrubbed minimal parser and adversarial cases.scripts/smoke_test.py — fixture checks plus bounded normal/empty/blocked-aware live contracts.references/source-notes.md — source surfaces, limits, and parser assumptions.references/source-notes.md (opens in a new tab)scripts/cli.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/detail-page.html (opens in a new tab)tests/fixtures/environment-search.html (opens in a new tab)tests/fixtures/regulation-search-page-2.html (opens in a new tab)tests/fixtures/regulation-search.html (opens in a new tab)tests/fixtures/source-sample.json (opens in a new tab)tests/test_parser.py (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