@thecolab-ai/drinking-water-register-nz
AQuery public Hinekōrako drinking-water supplier, supply, service-area and document records. Use for registration discovery; registration is not proof of current water safety.
Install
agr install @thecolab-ai/drinking-water-register-nz --target claudeWrites 1 file into .claude/skills/, pinned to git-9dd59566.
- .claude/skills/drinking-water-register-nz/SKILL.md
Document
name: drinking-water-register-nz description: "Query public Hinekōrako drinking-water supplier, supply, service-area and document records. Use for registration discovery; registration is not proof of current water safety." license: MIT compatibility: "Requires Python 3.10+ and network access for live data" metadata: thecolab.category: "environment" thecolab.source_owner: "Taumata Arowai" thecolab.source_type: "official" thecolab.auth: "none" thecolab.access_mode: "html-readonly" thecolab.data_class: "public" thecolab.writes: "false" thecolab.browser: "false" thecolab.risk: "medium" thecolab.cache_ttl: "24h" thecolab.schema_version: "1" thecolab.skill_type: "html-readonly" thecolab.pack: "nz-public-data" thecolab.source_url: "https://hinekorako.taumataarowai.govt.nz/publicregister/supplies/" thecolab.allowed_domains: "hinekorako.taumataarowai.govt.nz" thecolab.last_verified: "2026-07-19" thecolab.health: "degraded" thecolab.maintainer: "@adam91holt"
Drinking Water Register 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
# search registered suppliers
python3 scripts/cli.py supplier QUERY --json
# search supplies
python3 scripts/cli.py supply ID_OR_NAME --json
# filter by region
python3 scripts/cli.py region NAME --json
# discover nearby records where official location data permit
python3 scripts/cli.py near --lat VALUE --lon VALUE --json
# discover public documents
python3 scripts/cli.py documents ID --json
Add --limit N (1–100) to bound any command. Human output is the default.
Coverage and interpretation
- Registration is not proof of current potability or compliance.
- Missing public documents do not prove non-compliance.
- Suppression, privacy and small-supply publication limits are preserved.
The CLI uses the same public Power Pages grid and read-only detail pages as the official
register. Supply results include the public ID, name, type, community and canonical detail URL;
exact ID lookup adds registration status, population, region, authority and published documents
where present. documents requires an exact case-insensitive supply ID or name, returns a stable
document-only record (including an empty document list where none are published), and returns no
records for fuzzy-only matches. near is an explicit unsupported operation because the register does not expose
reliable public coordinates or service-area geometry.
Resources
scripts/cli.py— canonical command entrypointscripts/test_contract.py— deterministic repository contract auditscripts/smoke_test.py— parser fixture and bounded live probetests/fixtures/grid.jsonandsupply-detail.html— representative public-register fixturesreferences/source-notes.md— feasibility, provenance and source limits
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-9dd595662d6d2026-07-31