Nz emergency alerts

From thecolab-ai/.skills · View interactive version

Nz emergency alerts is an AI agent skill from the GitHub repository thecolab-ai/.skills. Query official New Zealand CAP emergency alerts by location, region, agency and severity, aggregating NEMA Emergency Mobile Alerts and MetService severe weather watches/warnings. Use for current official alert retrieval; absence is not proof of safety.

How to use this skill

Skill file

NZ Emergency Alerts

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

# list active official alert resources
python3 scripts/cli.py active --json
# match alerts near a point using published CAP geometry
python3 scripts/cli.py near --lat VALUE --lon VALUE --json
# filter alerts by region
python3 scripts/cli.py region NAME --json
# filter alerts by issuing agency
python3 scripts/cli.py agency NAME --json
# filter alerts by CAP severity
python3 scripts/cli.py severity LEVEL --json
# find an alert by CAP identifier
python3 scripts/cli.py alert ID --json
# show official feed health and freshness resources
python3 scripts/cli.py feed-status --json

Add --limit N (1–100) to bound any command. Human output is the default.

Coverage and interpretation

CDEM Groups, Health, Police, MPI, FENZ) and MetService's severe weather

watches/warnings/advisories. Each alert row carries a feed field.

The CLI reads both official public CAP index feeds (NEMA Atom, MetService RSS), follows the

complete bounded set of allowlisted linked CAP entries per feed before applying the result

--limit, and parses identifiers, update/cancel relationships, agency, status, event,

effective/expiry times, instructions and geometry. near validates latitude/longitude ranges

before network access, then uses published polygons and circles. Feed health reports age and

staleness per feed; if one feed is unavailable the other still answers with an explicit warning.

An empty current feed is not presented as proof of safety.

Resources

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.