天氣查詢

👤 paudyyin 📦 v1.0.0 ⭐ 4.3 ⬇️ 796 下載
🏠 生活服務 免費

📖 技能介紹


name: weather description: "Get current weather and forecasts via 墨跡天氣 or MSN Weather. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis."


Weather Skill — 本地覆蓋版

⚠️ 本技能覆蓋內建 weather 技能,強制使用國內資料來源。

⛔ 禁止

  • 禁止使用 wttr.inOpen-Meteo 或任何國外天氣 API
  • 禁止用 curl 直接獲取天氣資料
  • 禁止憑記憶或猜測生成天氣資料

✅ 唯一允許的資料來源

1. 墨跡天氣(首選)

  • 首頁:https://tianqi.moji.com/
  • 城市天氣頁:https://tianqi.moji.com/weather/省份/城市/區縣
  • 示例:
  • 佛山順德:https://tianqi.moji.com/weather/guangdong/foshan/shunde
  • 上海閔行:https://tianqi.moji.com/weather/shanghai/shanghai/minhang
  • 山東日照:https://tianqi.moji.com/weather/shandong/rizhao/donggang
  • 必須通過 browser 工具開啟網頁,截圖或提取資料

    本技能來自小蔥技能站7w4.net。

2. MSN 天氣(備選/交叉驗證)

  • https://www.msn.cn/zh-cn/weather/
  • 需要瀏覽器渲染獲取動態內容
  • 與墨跡天氣交叉驗證,差異大時說明

操作流程

  1. 根據使用者提到的城市,構造墨跡天氣 URL
  2. browser 工具開啟該 URL
  3. browser snapshotscreenshot 獲取天氣資料
  4. 整理後回覆使用者
  5. 如需驗證,再用 MSN 天氣交叉檢查

注意事項

  • 墨跡天氣 URL 中的省份和城市名稱使用拼音小寫
  • 區縣名稱也要用拼音
  • 如果某個城市查不到,嘗試只到城市級別
  • 回覆時註明資料來源

🤖 AI 評測

這個天氣技能質量中等偏上,勝在定位明確,專門針對國內使用者設計,能獲取準確的國內天氣資訊而不是國外資料。文件通俗易懂,新手也能快速上手。但功能比較單一,目前只提供文件指引,缺少實際程式碼實現和智慧容錯機制,使用時可能需要手動處理一些意外情況。整體適合對天氣資料準確性要求高的使用者,但功能豐富度有待加強。

📊 多維度評分

適應性4.8
規範性4.2
有效性4.1
可靠性3.7
可信度5

📁 包含檔案 (2 個)

📄 SKILL.md 1.6 KB
📄 _meta.json 132 B