Community程式設計與開發github.com

openweather-api-automation

透過 Rube MCP (Composio) 自動化 Openweather API 任務。請務必先搜尋工具以取得最新架構。

openweather-api-automation 是什麼?

此技能讓 AI 代理能夠透過 Rube MCP 閘道全面自動化 Openweather API 操作。它依賴於 Composio 的 Openweather API 工具包,並要求代理在執行任何工作流程之前先使用 RUBE_SEARCH_TOOLS 動態探索可用的工具結構。技能涵蓋了從連接管理(透過 RUBE_MANAGE_CONNECTIONS 驗證活躍狀態)到使用 RUBE_MULTI_EXECUTE_TOOL 執行工具(嚴格遵循從搜尋結果獲取的結構)的整個工作流程。支援的平台包括任何可設定 Rube MCP 伺服器的 AI 用戶端(例如 Claude Code、Cursor、Codex)。主要優勢在於避免硬編碼工具結構、強制執行連接檢查,以及提供用於大量操作的 RUBE_REMOTE_WORKBENCH 等額外功能,確保自動化流程可靠且可維護。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-claude-skills/tree/master/composio-skills/openweather-api-automation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 Openweather API

透過 Composio 的 Openweather API 工具包,經由 Rube MCP 自動化 Openweather API 操作。

工具包文件:composio.dev/toolkits/openweather_api

先決條件

  • 必須已連接 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 透過 RUBE_MANAGE_CONNECTIONS 啟用活躍的 Openweather API 連線,工具包為 openweather_api
  • 務必先呼叫 RUBE_SEARCH_TOOLS 以取得目前的工具結構

設定

取得 Rube MCP:在您的用戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。無需 API 金鑰 — 僅需新增端點即可運作。

  1. 確認 RUBE_SEARCH_TOOLS 有回應,以驗證 Rube MCP 是否可用
  2. 使用工具包 openweather_api 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 若連線狀態不是 ACTIVE,請依照回傳的授權連結完成設定
  4. 執行任何工作流程前,確認連線狀態顯示為 ACTIVE

工具探索

在執行工作流程之前,務必先探索可用的工具:

RUBE_SEARCH_TOOLS
queries: [{use_case: "Openweather API operations", known_fields: ""}]
session: {generate_id: true}

這會回傳可用的工具代號、輸入結構、建議的執行計畫以及已知的陷阱。

核心工作流程模式

步驟 1:探索可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Openweather API task"}]
session: {id: "existing_session_id"}

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["openweather_api"]
session_id: "your_session_id"

步驟 3:執行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* 符合搜尋結果結構的引數 */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

  • 務必先搜尋:工具結構可能會變更。未先呼叫 RUBE_SEARCH_TOOLS 前,切勿硬編碼工具代號或引數
  • 檢查連線:執行工具前,確認 RUBE_MANAGE_CONNECTIONS 顯示 ACTIVE 狀態
  • 遵循結構:使用搜尋結果中完全相符的欄位名稱與類型
  • 記憶體參數:在 RUBE_MULTI_EXECUTE_TOOL 呼叫中務必包含 memory,即使為空({})
  • 工作階段重複使用:在單一工作流程內重複使用工作階段 ID。新工作流程請產生新的 ID
  • 分頁處理:檢查回應中是否有分頁記號,並持續擷取直至完整

快速參考

操作方式
尋找工具使用 Openweather API 特定使用案例的 RUBE_SEARCH_TOOLS
連線使用工具包 openweather_api 的 RUBE_MANAGE_CONNECTIONS
執行使用已探索到的工具代號的 RUBE_MULTI_EXECUTE_TOOL
大量操作使用 RUBE_REMOTE_WORKBENCH 搭配 run_composio_tool()
完整結構使用 RUBE_GET_TOOL_SCHEMAS 取得含有 schemaRef 的工具

由 Composio 提供技術支援

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

agent-mail-automation

Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.

agentql-automation

Automate Agentql tasks via Rube MCP (Composio). Always search tools first for current schemas.

agenty-automation

Automate Agenty tasks via Rube MCP (Composio). Always search tools first for current schemas.

相關技能