Niwa Coastal Nz logo

Niwa Coastal Nz

Organization
thecolab-ai
niwa-coastal-nz

Search and query NIWA (National Institute of Water and Atmospheric Research) public ArcGIS open data through a lightweight no-login CLI: org-scoped dataset search plus GeoJSON layer queries for the Coastal Sensitivity Index (erosion), beach exposure, coastal landform and hinterland classification, and other national coastal and climate layers. Use when the task involves NZ coastal hazard sensitivity, coastal classification, or NIWA open geospatial datasets. Read-only; no authentication required.

Add to TypingMind

Overview

Publisherthecolab-ai
Repository.skills
Skill nameniwa-coastal-nz
Stars
39
Forks
9
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by thecolab-ai on GitHub. Read the source before you install it.

Installation

Install the Niwa Coastal Nz AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/thecolab-ai/.skills/tree/main/skills/niwa-coastal-nz
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thecolab-ai/.skills.git /tmp/.skills
mkdir -p .claude/skills
cp -r /tmp/.skills/skills/niwa-coastal-nz .claude/skills/niwa-coastal-nz
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Niwa Coastal Nz in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Niwa Coastal Nz on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Niwa Coastal Nz is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

NIWA Coastal NZ

Goal

Discover and query NIWA's public ArcGIS open data — the national Coastal Sensitivity Index, beach exposure, and coastal classification layers among ~1,400 open items — through source-native catalogue, metadata, feature-query, and MapServer identify operations.

Use this when

  • A task needs national coastal hazard sensitivity layers (CSI erosion), beach exposure, coastal landform type, or hinterland characteristics as GeoJSON
  • A task needs to discover what datasets NIWA publishes openly

The CSI inundation item is still listed in NIWA's catalogue but its backing service was withdrawn (verified 2026-07-26) — search will surface it and a query against it fails with an upstream Service not found. Use CSI erosion, or searise-nz for site-level inundation drivers.

Do not use this for

  • Weather forecasts or marine conditions (use metservice-nz)
  • Tide predictions (use nz-tides-surf)
  • Sea-level rise projections per coastal site (use searise-nz)
  • Regional council hazard layers (use wcc-arcgis-nz for Wellington)
  • Any write, upload, or account action

Commands

bash
python3 skills/niwa-coastal-nz/scripts/cli.py search "coastal sensitivity" --limit 5
python3 skills/niwa-coastal-nz/scripts/cli.py item c894b53b102f4f9db55278f7572ca4f6 --json
python3 skills/niwa-coastal-nz/scripts/cli.py layers c894b53b102f4f9db55278f7572ca4f6
python3 skills/niwa-coastal-nz/scripts/cli.py describe c894b53b102f4f9db55278f7572ca4f6 --layer-id 0 --json
python3 skills/niwa-coastal-nz/scripts/cli.py query c894b53b102f4f9db55278f7572ca4f6 --bbox "174.5,-41.5,175.2,-40.9" --limit 20 --json
python3 skills/niwa-coastal-nz/scripts/cli.py query c894b53b102f4f9db55278f7572ca4f6 --count --json
python3 skills/niwa-coastal-nz/scripts/cli.py identify 2e2f8ea5ea31453e808b36b2a1ca43a0 --point "174.78,-41.29" --no-geometry --json
  • search KEYWORD [--type TYPE] [--limit N] [--start N] [--json] — org-scoped catalogue search, newest first; JSON preserves ArcGIS start and next_start
  • item ITEM_ID [--json] — normalized title, type, owner, organisation, access, licence, description, tags, timestamps, size, raw item URL, and a verified service URL only for Feature/Map Services
  • layers ITEM_OR_URL [--json] — layers/tables of a verified NIWA Feature/Map service
  • describe SERVICE [--layer-id N] [--json] — normalized service/layer fields, aliases, types, descriptions/units when supplied, extent, spatial reference, capabilities, geometry type, object ID field, and record limit
  • query LAYER [--layer-id N] [--where SQL] [--bbox minLon,minLat,maxLon,maxLat] [--fields F1,F2] [--limit N] [--count | --ids-only] [--no-geometry] [--offset N] [--order-by FIELDS] [--geometry-precision N] [--max-allowable-offset N] [--json] — GeoJSON by default, or normalized count/ID envelopes
  • identify SERVICE --point LON,LAT [--layer-id N] [--tolerance N] [--no-geometry] [--json] — raw MapServer identify results using a WGS84 point

--count and --ids-only are mutually exclusive. Query offset, ordering, geometry precision, allowable offset, and geometry suppression map directly to the ArcGIS REST controls; they do not add scientific interpretation.

Notes

  • Licence: CC BY 4.0 — attribute NIWA (item pages carry the canonical statement)
  • Searches are scoped to NIWA's ArcGIS organisation (fp1tibNcN9mbExhG); hub-wide search APIs return a global catalogue and are deliberately not used
  • Layer queries require HTTPS and either a NIWA-owned host (gis.niwa.co.nz) or an Esri service path under the NIWA tenant; anything else is refused (exit 7). Service paths and final redirects are revalidated.
  • --point is always LON,LAT and --bbox is always minLon,minLat,maxLon,maxLat, in WGS84. Coordinates must be finite and in longitude/latitude range. For Wellington, both --point "174.78,-41.29" and --point=174.78,-41.29 forms work.
  • identify is a raw MapServer identify primitive, not a hazard assessment. Its tolerance is in display pixels and results retain upstream layer, attribute, and geometry values.
  • Useful verified items: CSI erosion c894b53b102f4f9db55278f7572ca4f6; the COAST folder on gis.niwa.co.nz/server/rest/services carries the coastal classification MapServers
  • truncated: true means the server transfer limit was hit — narrow with --where/--bbox, or page with --offset
  • Errors distinguish invalid input, blocked host/organisation, upstream failure, malformed response, and legitimate empty results as JSON on stderr.

Resources

  • CLI entrypoint: scripts/cli.py
  • Contract test: scripts/test_contract.py; smoke test: scripts/smoke_test.py
  • Org id discovery, host survey, and licence notes: references/source-notes.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Niwa Coastal Nz AI skill do?

Search and query NIWA (National Institute of Water and Atmospheric Research) public ArcGIS open data through a lightweight no-login CLI: org-scoped dataset search plus GeoJSON layer queries for the Coastal Sensitivity Index (erosion), beach exposure, coastal landform and hinterland classification, and other national coastal and climate layers. Use when the task involves NZ coastal hazard sensitivity, coastal classification, or NIWA open geospatial datasets. Read-only; no authentication required.

Why use Niwa Coastal Nz on TypingMind?

Because you install it once and use it with any model. Niwa Coastal Nz is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Niwa Coastal Nz in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/thecolab-ai/.skills/tree/main/skills/niwa-coastal-nz. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Niwa Coastal Nz?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Niwa Coastal Nz?

As many as you like. As long as a model supports skills, you can use Niwa Coastal Nz with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Niwa Coastal Nz AI skill free?

Yes. It is published on GitHub by thecolab-ai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇