Community程式設計與開發github.com

API 體育自動化

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

API 體育自動化 是什麼?

此技能讓 AI 代理透過 Rube MCP 與 Composio 的 API Sports 工具包整合,自動化體育相關 API 操作。它能動態發現可用工具、讀取即時輸入架構,並以標準化工作流程執行任務。使用者需先確認 Rube MCP 已連接,並透過 `RUBE_MANAGE_CONNECTIONS` 啟用 api_sports 工具包的連線。每次執行前務必呼叫 `RUBE_SEARCH_TOOLS` 取得最新工具集,避免直接硬編碼工具名稱或參數。支援的工具包括查詢體育賽事、隊伍、比分等,並可搭配 `RUBE_MULTI_EXECUTE_TOOL` 執行單一或多個操作,確保架構符合性與工作階段管理。

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

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

在你喜歡的 AI 中提問

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

說明文件

透過 Rube MCP 自動化 API Sports

自動化 API Sports 操作,透過 Composio 的 API Sports 工具包及 Rube MCP。

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

前置需求

  • Rube MCP 必須已連接(RUBE_SEARCH_TOOLS 可用)
  • 透過 RUBE_MANAGE_CONNECTIONS 並指定工具包 api_sports 啟用 API Sports 連線
  • 務必先呼叫 RUBE_SEARCH_TOOLS 以取得目前工具架構

設定

取得 Rube MCP:在客戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。無需 API 金鑰,只需加上端點即可運作。

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

工具探索

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

RUBE_SEARCH_TOOLS
queries: [{use_case: "API Sports 操作", known_fields: ""}]
session: {generate_id: true}

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

核心工作流程模式

步驟 1:探索可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "你的特定 API Sports 任務"}]
session: {id: "existing_session_id"}

步驟 2:檢查連線

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

步驟 3:執行工具

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

已知陷阱

  • 務必先搜尋:工具架構會變動。切勿直接硬編碼工具 slug 或參數而不呼叫 RUBE_SEARCH_TOOLS
  • 檢查連線:執行工具前,驗證 RUBE_MANAGE_CONNECTIONS 顯示 ACTIVE 狀態
  • 符合架構:使用搜尋結果中的確切欄位名稱與型別
  • memory 參數:在 RUBE_MULTI_EXECUTE_TOOL 呼叫中務必包含 memory,即使為空({})
  • 工作階段重複使用:在工作流程內重複使用工作階段 ID。新工作流程則產生新的 ID
  • 分頁:檢查回應中是否有分頁 token,並持續擷取直到完成

快速參考

操作方法
尋找工具RUBE_SEARCH_TOOLS 搭配 API Sports 特定情境
連線RUBE_MANAGE_CONNECTIONS 並指定工具包 api_sports
執行RUBE_MULTI_EXECUTE_TOOL 使用探索到的工具 slug
大量操作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.

相關技能