Nws Weatherのロゴ

Nws Weather

組織
runxhq
nws-weather

Fetch National Weather Service forecast evidence through the governed HTTP front, producing a sealed provider packet for downstream weather planning.

概要

公開者runxhq
リポジトリrunx
スキル名nws-weather
スター
105
フォーク
109
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runxhq/runx.git /tmp/runx
mkdir -p .claude/skills
cp -r /tmp/runx/skills/nws-weather .claude/skills/nws-weather
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

NWS Weather

Fetch public National Weather Service forecast evidence through runx HTTP.

It uses the governed HTTP front, not an ad hoc client: the receipt records the NWS endpoint, response status, graph step receipts, and the exact authority surface. No API key is required. The default runner fetches the actual NWS gridpoint forecast; the locate runner discovers the gridpoint for a latitude/longitude.

What this skill does

nws-weather makes read-only calls to api.weather.gov. The locate runner calls /points/{lat},{lon} to discover gridId, gridX, gridY, and forecast URLs. The default forecast runner calls /gridpoints/{office}/{grid_x},{grid_y}/forecast to fetch forecast periods and shapes them into the forecast it returns.

When to use this skill

  • You need real public weather evidence with no credentials.
  • A graph needs to prove a weather data read went through runx's governed HTTP path.
  • You have an NWS office/gridpoint and need the current public forecast.
  • You have latitude and longitude in the United States and need the NWS gridpoint before running the forecast path.

When not to use this skill

  • For locations outside NWS coverage. Return needs_input with the coverage limitation.
  • For emergency, medical, aviation, maritime, evacuation, or life-safety decisions.
  • To notify users, reschedule events, deploy changes, or mutate operations based on weather. Those actions need their own authority gate.
  • To call private networks, untrusted hosts, or non-NWS endpoints.

Procedure

  1. If the caller has only coordinates, run locate with lat and lon.
  2. Extract gridId, gridX, and gridY from the sealed locate output.
  3. Run the default forecast runner with office, grid_x, and grid_y.
  4. Confirm the HTTP status is 2xx and the response contains forecast periods.
  5. Preserve the NWS source URL, generated timestamp, gridpoint, and receipt refs.
  6. Return the shaped forecast; planning prose belongs to the agent that uses it. Do not invent guidance inside this provider fetch.
  7. Return needs_input for malformed coordinates or gridpoints; return needs_more_evidence for NWS outages, missing periods, or stale data.

Edge cases and stop conditions

  • Invalid coordinates: return needs_input; NWS point lookup requires decimal latitude and longitude.
  • Unsupported location: return needs_input; NWS coverage is not global.
  • Provider outage or non-2xx response: return needs_more_evidence and preserve the HTTP status in the receipt.
  • Missing forecast periods: return needs_more_evidence; do not summarize a forecast that is not present.
  • Life-safety use: return refused and direct the user to official weather or emergency channels.
  • Action requested from weather: stop at provider evidence and require the downstream action skill with its own gate and receipt.

Output schema

yaml
decision: ready | needs_input | needs_more_evidence | refused
runtime_path: http
provider: national-weather-service
provider_evidence:
  endpoint: string
  http_status: string
  gridpoint:
    office: string
    grid_x: string
    grid_y: string
  generated_at: string
  forecast_periods: array
receipt_refs: array
stop_conditions: array

Worked example

  1. Run locate for 38.8894,-77.0352.
  2. The sealed NWS points response returns gridId: LWX, gridX: 97, gridY: 71, and a forecast URL.
  3. Run the default forecast runner with office: LWX, grid_x: "97", grid_y: "71".
  4. Hand the sealed forecast JSON to the downstream agent that plans with it.

Inputs

  • office (default runner, required): NWS office id such as LWX.
  • grid_x (default runner, required): NWS grid X coordinate.
  • grid_y (default runner, required): NWS grid Y coordinate.
  • lat (locate runner, required): decimal latitude for point lookup.
  • lon (locate runner, required): decimal longitude for point lookup.

同梱ファイル

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

よくある質問

AIスキル「Nws Weather」では何ができますか?

Fetch National Weather Service forecast evidence through the governed HTTP front, producing a sealed provider packet for downstream weather planning.

TypingMindでNws Weatherを使うメリットは何ですか?

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

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

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

Nws Weatherを使えるAIモデルはどれですか?

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

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

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

AIスキル「Nws Weather」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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