Gns hazards nz

From thecolab-ai/.skills · View interactive version

Gns hazards nz is an AI agent skill from the GitHub repository thecolab-ai/.skills. Use when a task needs source-derived New Zealand active-fault features, ArcGIS layer metadata, latest modelled shaking contours, or versioned GeoNet ShakingLayers event files and contour GeoJSON. Provides read-only GNS Science and GeoNet discovery, count, ID, paging, metadata, and spatial-query prim

How to use this skill

Skill file

GNS Hazards NZ

Goal

Query GNS Science's ArcGIS hazard layers and GeoNet's versioned ShakingLayers

archive through a deterministic, read-only, standard-library CLI.

Use this when

fault avoidance zones, or fault awareness areas as GeoJSON

published ShakingLayers version with explicit units and provenance

Do not use this for

(use wcc-arcgis-nz for the Wellington region)

Commands

python3 skills/gns-hazards-nz/scripts/cli.py layers --service faults
python3 skills/gns-hazards-nz/scripts/cli.py describe faults --layer-id 0 --json
python3 skills/gns-hazards-nz/scripts/cli.py faults --bbox "174.6,-41.5,175.1,-41.0" --limit 20 --json
python3 skills/gns-hazards-nz/scripts/cli.py faults --layer-id 7 --count --json
python3 skills/gns-hazards-nz/scripts/cli.py shaking --measure mmi --min-contour 6 --json
python3 skills/gns-hazards-nz/scripts/cli.py events --year 2023 --json
python3 skills/gns-hazards-nz/scripts/cli.py versions 771645 --json
python3 skills/gns-hazards-nz/scripts/cli.py event-files 771645 --version latest --json
python3 skills/gns-hazards-nz/scripts/cli.py event-data 771645 --measure pga --version latest --json

ArcGIS query controls are --count, --ids-only, --no-geometry,

--offset N, --order-by FIELDS, --geometry-precision N, and

--max-allowable-offset X. Count and IDs-only modes are mutually exclusive.

Ordinary queries keep the existing feature payload; count and ID modes return

small normalized JSON envelopes.

Notes

attribution: CC BY 3.0 New Zealand — attribute GeoNet.

PGV = cm/s. Available measures come from each version's actual files.

measured-only data or a permanent hazard map; the upstream system may

incorporate recorded observations where applicable.

source URL must be preserved.

region; absence of features is not evidence of no fault hazard

--where/--bbox

Resources

references/source-notes.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.