mosluce

weather-check

0
0
# Install this skill:
npx skills add mosluce/multi-provider-skills-agent --skill "weather-check"

Install specific skill from multi-skill repository

# Description

Check current weather and forecast for any location worldwide. Use when the user asks about weather, temperature, climate conditions, or forecasts for any city or location.

# SKILL.md


name: weather-check
description: Check current weather and forecast for any location worldwide. Use when the user asks about weather, temperature, climate conditions, or forecasts for any city or location.
metadata: {"openclaw":{"emoji":"🌤️","requires":{"bins":["curl"]}}}


Weather Check Skill

這個技能使用 wttr.in API 提供全球天氣查詢功能。

快速開始

使用 scripts/get-weather.sh 腳本獲取天氣:

{baseDir}/scripts/get-weather.sh Taipei
{baseDir}/scripts/get-weather.sh "New York"
{baseDir}/scripts/get-weather.sh London

功能

  • ✅ 當前天氣狀況
  • ✅ 溫度 (攝氏/華氏)
  • ✅ 風速
  • ✅ 濕度
  • ✅ 3天預報

使用方法

1. 簡單查詢

./scripts/get-weather.sh [城市名稱]

2. 查看詳細信息

詳細的 API 使用方法請參考:
- {baseDir}/references/api-docs.md - 完整的 API 文檔
- {baseDir}/references/examples.md - 使用範例

3. 支援的城市

任何有效的城市名稱,包括:
- 中文城市名 (台北、東京、北京)
- 英文城市名 (New York, London, Tokyo)
- 機場代碼 (TPE, JFK, LHR)

輸出格式

腳本返回簡潔的天氣信息:

Taipei: ⛅️  +25°C

需要更詳細的信息,請參考 references/api-docs.md 中的其他格式選項。

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.