jpskill.com
📦 その他 コミュニティ

current-location-weather

指定された場所の天気、気温、降水状況などを尋ねられた際に、現在の気象状況を自動で調べ、傘が必要かどうかといった天気に関する様々な質問に答えるSkill。

📜 元の英語説明(参考)

Get current weather conditions for a location. Use this skill when users ask about weather, temperature, current conditions, forecasts, or any weather-related queries like "What's the weather?", "Is it raining?", "How hot is it outside?", "What's the temperature?", or "Should I bring an umbrella?". Supports automatic location detection via IP or specific location queries.

🇯🇵 日本人クリエイター向け解説

一言でいうと

指定された場所の天気、気温、降水状況などを尋ねられた際に、現在の気象状況を自動で調べ、傘が必要かどうかといった天気に関する様々な質問に答えるSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o current-location-weather.zip https://jpskill.com/download/18275.zip && unzip -o current-location-weather.zip && rm current-location-weather.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18275.zip -OutFile "$d\current-location-weather.zip"; Expand-Archive "$d\current-location-weather.zip" -DestinationPath $d -Force; ri "$d\current-location-weather.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して current-location-weather.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → current-location-weather フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

現在地の天気

IPベースのジオロケーションまたは指定された場所を使用して、現在の気象状況を取得します。

クイックスタート

天気スクリプトを実行して、現在の状況を取得します。

python scripts/get_weather.py

使用オプション

場所の自動検出(デフォルト)

python scripts/get_weather.py

場所の指定

python scripts/get_weather.py --location "Tokyo, Japan"
python scripts/get_weather.py -l "New York"

JSON出力の取得(プログラムで使用する場合)

python scripts/get_weather.py --format json
python scripts/get_weather.py -f json -l "London"

出力例

テキスト形式(デフォルト)

📍 San Francisco, United States
San Francisco: ⛅ +15°C 72% ↙10km/h

JSON形式

{
  "location": {
    "detected": "San Francisco, United States",
    "area": "San Francisco",
    "country": "United States of America"
  },
  "current": {
    "temperature_c": "15",
    "temperature_f": "59",
    "feels_like_c": "14",
    "condition": "Partly cloudy",
    "humidity": "72",
    "wind_kmh": "10",
    "wind_direction": "SW",
    "uv_index": "3"
  }
}

仕組み

  1. 場所の検出: IPアドレスから場所を検出するために ip-api.com (無料) を使用します。
  2. 天気データ: wttr.in (無料、APIキー不要) から取得します。
  3. 依存関係なし: Python標準ライブラリ (urllib, json) のみを使用します。

注記

  • ジオロケーションと天気データの両方にネットワークアクセスが必要です。
  • IPベースの場所は正確ではない場合があります(都市レベルの精度)。
  • 特定の場所については、より正確な情報を得るために --location フラグを使用してください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Current Location Weather

Get current weather conditions using IP-based geolocation or a specified location.

Quick Start

Run the weather script to get current conditions:

python scripts/get_weather.py

Usage Options

Auto-detect location (default)

python scripts/get_weather.py

Specify a location

python scripts/get_weather.py --location "Tokyo, Japan"
python scripts/get_weather.py -l "New York"

Get JSON output (for programmatic use)

python scripts/get_weather.py --format json
python scripts/get_weather.py -f json -l "London"

Output Examples

Text format (default)

📍 San Francisco, United States
San Francisco: ⛅ +15°C 72% ↙10km/h

JSON format

{
  "location": {
    "detected": "San Francisco, United States",
    "area": "San Francisco",
    "country": "United States of America"
  },
  "current": {
    "temperature_c": "15",
    "temperature_f": "59",
    "feels_like_c": "14",
    "condition": "Partly cloudy",
    "humidity": "72",
    "wind_kmh": "10",
    "wind_direction": "SW",
    "uv_index": "3"
  }
}

How It Works

  1. Location detection: Uses ip-api.com (free) to detect location from IP address
  2. Weather data: Fetches from wttr.in (free, no API key required)
  3. No dependencies: Uses only Python standard library (urllib, json)

Notes

  • Network access required for both geolocation and weather data
  • IP-based location may not be precise (city-level accuracy)
  • For specific locations, use --location flag for better accuracy

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。