Safeswim nz

From thecolab-ai/.skills · View interactive version

Safeswim nz is an AI agent skill from the GitHub repository thecolab-ai/.skills. Query SafeSwim NZ public swimming-location water quality, swimming conditions, wastewater overflow alerts, and hour-by-hour forecast data through a no-login REST API. Use when the task involves SafeSwim-supported NZ beach/lake swimming safety, water quality (GREEN/AMBER/RED/RED+/BLACK), lifeguard/pa

How to use this skill

Skill file

SafeSwim NZ

Goal

Query live SafeSwim NZ swimming-location water-quality and swimming-condition data with a deterministic CLI and JSON output.

Use this when

Do not use this for

Preferred workflow

  1. Run scripts/cli.py list to discover SafeSwim locations, optionally filtered by search text
  2. Use detail <slug> for a specific location with hour-by-hour forecast data
  3. Use nearby <lat> <lon> to find SafeSwim locations close to a coordinate
  4. Use --min-risk RED when the user wants warning-level or worse locations, not safe-swim recommendations
  5. Use --json for agent chaining, alerts, or structured reports
  6. Mention that SafeSwim data is live and can change rapidly after rainfall events

CLI

Run with:

python3 skills/safeswim-nz/scripts/cli.py <command> [flags]

Commands

Examples:

python3 skills/safeswim-nz/scripts/cli.py list --search takapuna --limit 5
python3 skills/safeswim-nz/scripts/cli.py detail takapuna --json
python3 skills/safeswim-nz/scripts/cli.py nearby -36.8485 174.7633 --radius 10 --min-risk RED

Resources

Notes

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.