Metservice Nzのロゴ

Metservice Nz

組織
thecolab-ai
metservice-nz

Query New Zealand weather data from the MetOcean API (MetService's data arm). Use when the task involves NZ weather forecasts, current conditions, marine/wave data, wind, rain, or atmospheric conditions for New Zealand locations. Requires METOCEAN_API_KEY.

概要

公開者thecolab-ai
リポジトリ.skills
スキル名metservice-nz
スター
39
フォーク
9
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    thecolab-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Metservice Nz」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/thecolab-ai/.skills/tree/main/skills/metservice-nz
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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/metservice-nz .claude/skills/metservice-nz
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMetservice Nzを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMetservice Nzを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Metservice Nzは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

MetService NZ (MetOcean API)

Goal

Query point forecasts from the MetOcean API for New Zealand locations — weather, marine, and atmospheric data through a CLI that is easy for agents to script and easy for humans to scan.

Use this when

  • A user asks about current or forecast weather in New Zealand
  • A user wants temperature, rain, wind, or cloud data for an NZ location
  • A user asks about marine conditions — wave height, swell, sea temperature
  • A user wants a multi-day weather outlook for NZ
  • A user asks about wind conditions for a specific NZ location

Do not use this for

  • Weather outside New Zealand (API coverage is NZ/Pacific focused)
  • Historical weather data (API provides forecasts, not archives)
  • Long-range forecasts beyond ~7 days

Preferred workflow

  1. Run scripts/cli.py with the narrowest subcommand that answers the task
  2. Use default human output for direct answers
  3. Use --json when another tool or agent needs machine-readable output
  4. Use --location lat,lon for custom coordinates not in the named list

Setup

Requires a MetOcean API key (free tier available).

  1. Sign up at https://forecast-v2.metoceanapi.com
  2. Add to your .env:
    METOCEAN_API_KEY=your_key_here
  3. The Python CLI reads os.environ["METOCEAN_API_KEY"] lazily — no fallback, key is required.

CLI

Run with:

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

now [location] [--json] [--location lat,lon]

Current conditions snapshot: temperature, wind, rain, humidity, pressure, cloud cover, visibility.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py now auckland
python3 skills/metservice-nz/scripts/cli.py now wellington --json
python3 skills/metservice-nz/scripts/cli.py now --location -37.0,175.5

forecast [location] [--json] [--location lat,lon]

24-hour hourly forecast: time, temperature, rain, wind speed/direction, cloud cover.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py forecast auckland
python3 skills/metservice-nz/scripts/cli.py forecast christchurch --json

daily [location] [--json] [--location lat,lon]

7-day daily summary: high/low temperature, total rain, average wind, dominant wind direction.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py daily queenstown
python3 skills/metservice-nz/scripts/cli.py daily wellington --json

marine [location] [--json] [--location lat,lon]

Marine forecast: wave height, swell height, swell period, swell direction, sea temperature (where available).

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py marine auckland
python3 skills/metservice-nz/scripts/cli.py marine clevedon --json

wind [location] [--json] [--location lat,lon]

Detailed wind forecast: speed, gusts, direction — hourly for 24 hours.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py wind wellington
python3 skills/metservice-nz/scripts/cli.py wind auckland

rain [location] [--json] [--location lat,lon]

Precipitation forecast: hourly rain rate for 24 hours.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py rain christchurch
python3 skills/metservice-nz/scripts/cli.py rain queenstown --json

warnings [--json]

Scrape MetService severe weather warnings page for active alerts, watches, and advisories.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py warnings
python3 skills/metservice-nz/scripts/cli.py warnings --json

cyclone [location] [--json] [--location lat,lon] [--hours n]

Cyclone-specific data: pressure trend, extreme wind, storm surge indicators. Fetches 48h by default. Shows current snapshot, pressure trend, peak conditions, and hourly table.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py cyclone auckland
python3 skills/metservice-nz/scripts/cli.py cyclone wellington --hours 72
python3 skills/metservice-nz/scripts/cli.py cyclone clevedon --json

pressure [location] [--json] [--location lat,lon]

Barometric pressure trend — the #1 cyclone indicator. Shows 12h history + 12h forecast with rate of change and severity classification.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py pressure auckland
python3 skills/metservice-nz/scripts/cli.py pressure wellington --json

watch [location] [--location lat,lon] [--interval minutes] [--json]

Continuous cyclone monitoring. Polls every 5 minutes (configurable) and alerts on significant changes. Shows pressure change between polls.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py watch auckland
python3 skills/metservice-nz/scripts/cli.py watch wellington --interval 2
python3 skills/metservice-nz/scripts/cli.py watch clevedon --json

locations [--json]

List all named locations with coordinates.

Examples:

bash
python3 skills/metservice-nz/scripts/cli.py locations
python3 skills/metservice-nz/scripts/cli.py locations --json

Named Locations

NameLatLon
clevedon-36.9697175.0752
auckland-36.8485174.7633
wellington-41.2865174.7762
christchurch-43.5321172.6362
queenstown-45.0312168.6626

Available API Variables

Atmospheric

  • air.temperature.at-2m (K)
  • air.humidity.at-2m (%)
  • air.pressure.at-sea-level (Pa)
  • air.visibility (m)
  • cloud.cover (fraction 0-1)
  • precipitation.rate (mm/hr)
  • radiation.flux.downward.shortwave (W/m²)

Wind

  • wind.speed.at-10m (m/s)
  • wind.direction.at-10m (degrees)
  • wind.speed.gust.at-10m (m/s)

Marine/Wave

  • wave.height (m)
  • wave.height.primary-swell (m)
  • wave.height.wind-sea (m)
  • wave.period.peak (s)
  • wave.period.primary-swell.peak (s)
  • wave.direction.peak (degrees)
  • wave.direction.primary-swell.mean (degrees)
  • sea.temperature.at-surface (K)

Resources

  • CLI entrypoint: scripts/cli.py
  • Live smoke test: scripts/smoke_test.py

Notes

  • API key required — set METOCEAN_API_KEY in your .env
  • Temperature returned in Kelvin, converted to Celsius in display
  • Pressure returned in Pascals, converted to hPa in display
  • Wind speed returned in m/s, converted to km/h in display
  • Marine data may return null for inland or sheltered points
  • Default output is human-readable; --json output is for chaining into other tools
  • A location must always be specified — there is no default

Cyclone Tracking Tools

Data indicators, CLI commands, MetOcean variables, and official NZ and Pacific sources: references/cyclone-tracking.md

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Metservice Nz」では何ができますか?

Query New Zealand weather data from the MetOcean API (MetService's data arm). Use when the task involves NZ weather forecasts, current conditions, marine/wave data, wind, rain, or atmospheric conditions for New Zealand locations. Requires METOCEAN_API_KEY.

TypingMindでMetservice Nzを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Metservice Nzはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMetservice Nzをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/thecolab-ai/.skills/tree/main/skills/metservice-nzを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Metservice Nzを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Metservice Nzで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMetservice Nzを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Metservice Nz」は無料ですか?

はい。thecolab-aiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇