Niwa Rivers Nz logo

Niwa Rivers Nz

Organization
thecolab-ai
niwa-rivers-nz

Query NIWA River Maps hydrology predictions, hourly station metadata, regional flood product coverage and Fish Passage surveys without keys. Use for NZ river flow and flood context, with explicit limits on account-gated observations and rasters.

Overview

Publisherthecolab-ai
Repository.skills
Skill nameniwa-rivers-nz
Stars
39
Forks
9
Bundled files
6
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.

  • 6 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 Rivers 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-rivers-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-rivers-nz .claude/skills/niwa-rivers-nz
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Niwa Rivers 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 Rivers 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 Rivers 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 Rivers NZ

Use scripts/cli.py for NIWA freshwater source discovery, hourly series metadata, River Maps hydrology predictions, regional flood product coverage and public Fish Passage surveys. Python 3.10+; stdlib only; no keys, accounts or browser required by the CLI.

bash
python3 skills/niwa-rivers-nz/scripts/cli.py sources --json
python3 skills/niwa-rivers-nz/scripts/cli.py stations --json
python3 skills/niwa-rivers-nz/scripts/cli.py stations --region Canterbury --bbox 170,-44,174,-42 --format geojson
python3 skills/niwa-rivers-nz/scripts/cli.py flow --station 90612 --from 2026-03-01 --to 2026-03-02 --json
python3 skills/niwa-rivers-nz/scripts/cli.py rivers --near 174.7,-36.9 --json
python3 skills/niwa-rivers-nz/scripts/cli.py flood-hazard --region Auckland --bbox 174.6,-37,174.9,-36.7 --format geojson
python3 skills/niwa-rivers-nz/scripts/cli.py fish-passage --bbox 174.6,-37,174.9,-36.7 --limit 5 --json
  • sources returns a maintained source directory with access status and provenance.
  • stations reads all public hourly station/parameter product listings, paging up to 10 pages. Each result is a series listing, so a station may occur more than once. station is the numeric ID accepted by flow. Dates describe available series coverage; they do not imply a real-time feed.
  • flow exits 4 with a structured access error: the advertised DataHub file API requires customer authentication. It accepts no credentials.
  • rivers is opt-in: invoke it explicitly to query River Maps' public Shiny interface, then rank reaches by distance to the requested point. Default --metric "Mean Flow", --limit 5. Seven hydrology metrics are listed by rivers --help. --radius-km (0.1–10, default 5) sets the half-size of a local search box; --bbox overrides it. Returns the app's rounded map values, units and metric description. Metrics are static model estimates, not observed flow or forecasts.
  • flood-hazard returns regional product metadata and coverage footprints. GeoJSON polygons are product coverage bounding boxes, not inundation extents. Depth and depth–velocity rasters require account/licence access and raster tools.
  • fish-passage fetches keyless WFS survey points. --limit is 1–1000; --offset pages the matched records. Inspect meta.truncated and meta.number_matched; surveys are not a complete structure inventory.

Spatial commands accept WGS84 --bbox minLon,minLat,maxLon,maxLat and --format geojson (implies JSON). Station and flood catalogue filtering is local: point containment / coverage-box intersection. Station --region uses point-in- polygon membership in NIWA's generalised regional council boundary layer. River Maps uses an upstream map view plus local geometry-box intersection and approximate point-to-line distances. The app's stream-order visibility threshold is returned in meta.visibility; nearby results may omit small streams. Fish Passage bbox intersection occurs upstream using explicit longitude/latitude CRS84. Negative-leading boxes use --bbox=-180,-90,180,90.

JSON returns meta and an array results; GeoJSON returns a FeatureCollection with meta. Product records carry their page URL, publisher, licence, retrieval time and source-stated series end or catalogue update timestamp. Errors return one JSON envelope and stable exit codes, never an empty success.

Read references/source-notes.md for source schemas, licences and access evidence. Run scripts/test_contract.py for deterministic checks and scripts/smoke_test.py for bounded live probes. River Maps checks a 50-second deadline between requests; polls time out after up to 30 seconds and retry once on timeout within that deadline. Other calls time out after 10 seconds (session close: 2 seconds). Shared HTTP retries may extend elapsed time.

Use lawa-nz for observed council/LAWA river information, gwrc-hilltop-nz for Wellington Hilltop observations and niwa-coastal-nz for NIWA coastal ArcGIS data. Use nz-arcgis for supported council hazard polygons. This skill keeps those existing connectors separate.

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 Rivers Nz AI skill do?

Query NIWA River Maps hydrology predictions, hourly station metadata, regional flood product coverage and Fish Passage surveys without keys. Use for NZ river flow and flood context, with explicit limits on account-gated observations and rasters.

Why use Niwa Rivers Nz on TypingMind?

Because you install it once and use it with any model. Niwa Rivers 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 Rivers Nz in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/thecolab-ai/.skills/tree/main/skills/niwa-rivers-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 Rivers 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 Rivers Nz?

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

Is the Niwa Rivers 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 👇