Logo Akl Rainfall

Akl Rainfall

Tổ chức
thecolab-ai
akl-rainfall

Query Auckland Council rainfall gauges and river or stream levels and flows. Use for Auckland monitoring sites, observed rainfall or water-level time series, and latest rainfall with spatial filters.

Tổng quan

Nhà phát hànhthecolab-ai
Kho mã.skills
Tên kỹ năngakl-rainfall
Sao
39
Bản fork
9
Tệp đi kèm
5
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được thecolab-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Akl Rainfall trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/thecolab-ai/.skills/tree/main/skills/akl-rainfall
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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/akl-rainfall .claude/skills/akl-rainfall
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Akl Rainfall trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Akl Rainfall ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Akl Rainfall với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Auckland rainfall and rivers

Use the stdlib Python CLI in scripts/cli.py to query Auckland Council's Environment Auckland AQUARIUS WebPortal. Site discovery and JSON exports work without a login, API key, cookies or browser.

Workflow

  1. Find gauges with sites, selecting rainfall, river/stream level or flow.
  2. Copy the site's site identifier into series and choose a date window.
  3. Use latest for each rainfall gauge's most recent non-null increment within the last 72 hours. Inspect observation time, age and quality before using it.
bash
python3 skills/akl-rainfall/scripts/cli.py sites --parameter rainfall --json
python3 skills/akl-rainfall/scripts/cli.py sites --parameter level --bbox '174.8,-37.1,175.0,-36.9' --format geojson --json
python3 skills/akl-rainfall/scripts/cli.py series --site 649940 --parameter rainfall --from 2026-10-07 --to 2026-10-08 --interval hour --json
python3 skills/akl-rainfall/scripts/cli.py series --site 43803 --parameter level --from 2026-10-07 --to 2026-10-08 --json
python3 skills/akl-rainfall/scripts/cli.py series --site 43803 --parameter flow --from 2026-10-07 --to 2026-10-08 --interval day --json
python3 skills/akl-rainfall/scripts/cli.py latest --parameter rainfall --bbox '174.88,-36.99,174.89,-36.97' --json

Commands and output

  • sites [--parameter rainfall|level|flow] [--bbox minLon,minLat,maxLon,maxLat] lists monitoring sites, coordinates and available dataset identifiers. With no parameter it returns the union of those three parameters. Includes old gauges; inspect end_of_record (the Council's advertised record bound). bbox filtering is local, inclusive point containment on site coordinates; sites without coordinates are excluded. Bounds must strictly increase.
  • series --site ID --parameter rainfall|level|flow --from ISO --to ISO [--interval hour|day] [--max-points N] returns source observations or upstream aggregates. Exact site names also work; identifiers avoid ambiguity. Windows are inclusive, at most 31 days, and boundaries must have minute precision. A date means midnight. Raw output (no --interval) has --max-points (default and maximum 5,000); excess fails with code 2. Set a smaller positive limit to bound output further. Use --interval hour|day or a shorter window to reduce the output.
  • latest --parameter rainfall [--bbox minLon,minLat,maxLon,maxLat] returns the most recent non-null recorded increment per gauge within 72 hours, with age_hours and stale (over 24 hours). Reports gauges outside the lookback and gauges without values separately. This is an increment, not a 24-hour total.

Every command accepts --json, returning {"meta": {...}, "results": [...]}. Shared meta includes source_url, publisher, licence, retrieved_at, and latest_data when published, plus counts, warnings and query details. Errors return the same meta, empty results, and error with code, type and message. Spatial commands also accept --format json|geojson; either implies machine output. GeoJSON uses WGS84 longitude, latitude order and top-level meta. Latest gauges retain their individual export source_url; other shared provenance appears once in meta. Retrieval times are UTC; data times are fixed NZST (UTC+12) even in summer. Do not interpret naive input as daylight-saving Auckland time.

Dataset records use start_of_record/end_of_record for coverage; sites report end_of_record. Series meta.latest_data is the advertised end of that dataset's record; it can be newer than the requested historical window. Latest metadata reports the newest returned observation. POST source_url is the bare public endpoint; meta.request/meta.catalogue_requests record its method and form separately. GET export URLs retain replayable query parameters.

With --interval, rainfall is the total over the preceding interval; level/flow are averages. Aggregate time is the interval end. Use period_start and period_end for day attribution; days run midnight–midnight NZST (01:00–01:00 NZDT in summer). Retain grade_code, grade_name, approvals, qualifiers and interpolation fields. Missing source values ("NaN") become null, with missing: true and the original source_missing_marker. Never treat them as zero. An empty valid time window remains an empty result; malformed exports fail. A window outside the dataset's advertised record includes a metadata warning; an empty series is not evidence of no rain.

Limits and attribution

  • Data is for the sole use of the recipient. Do not redistribute or republish raw extracts without agreement; attribute Auckland Council in any output. Data may be measured or synthesised and is not for safety decisions. See the portal terms, including indemnity. The skill's MIT licence covers its code; no open data licence was found.
  • Some stations are operated by ESNZ/NIWA and distributed through the Council portal. Check the station owner and its terms before reuse.
  • Gauges are provisional and may be old, missing or unverified. These are gauge measurements, not street flood depths or official warnings.
  • No radar imagery or forecasts. Historical coverage varies. Council says additional parameters and historical data can be requested through its contact dashboard.
  • Each network call uses a 10-second timeout. Latest downloads use one request per active gauge and at most four concurrent requests; one failed request fails the command. No credentials, caches or external dependencies are required.

Resources and checks

See references/source-notes.md for verified endpoints, source terms and schema details. Hand-written synthetic parser fixtures are in tests/fixtures/; fixtures.json marks their fictional contents and the source shapes they mirror.

bash
python3 scripts/validate_skill.py skills/akl-rainfall --strict
python3 skills/akl-rainfall/scripts/test_contract.py
python3 scripts/run_smoke_tests.py akl-rainfall

scripts/test_contract.py checks synthetic parsers and the shared CLI contract. scripts/smoke_test.py checks fixtures before bounded live sites, rainfall, level, flow and latest probes. Network outages are skips; parser failures are failures.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Akl Rainfall làm được gì?

Query Auckland Council rainfall gauges and river or stream levels and flows. Use for Auckland monitoring sites, observed rainfall or water-level time series, and latest rainfall with spatial filters.

Vì sao nên dùng Akl Rainfall trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Akl Rainfall là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Akl Rainfall trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/thecolab-ai/.skills/tree/main/skills/akl-rainfall. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Akl Rainfall?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Akl Rainfall với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Akl Rainfall với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Akl Rainfall có miễn phí không?

Có. Kỹ năng này được thecolab-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇