Community编程与开发github.com

API体育自动化

通过Rube MCP(Composio)自动执行API Sports任务。始终先搜索工具以获取当前架构。

API体育自动化 是什么?

这个技能通过Rube MCP和Composio的API Sports工具包自动化API Sports操作。它完全依赖于Rube MCP生态系统中实时的工具架构发现和连接管理。开发者必须首先通过`RUBE_SEARCH_TOOLS`查询最新工具架构,然后使用`RUBE_MANAGE_CONNECTIONS`建立并验证与`api_sports`工具包的活跃连接。工作流遵循严格的模式:发现工具 → 检查连接 → 使用从搜索中获得的确切架构执行工具。该技能强调架构合规性、会话复用和分页处理,所有执行都必须包含`memory`参数。最后,它提供了一个快速参考表,总结了关键操作(如工具发现、连接和执行)的推荐方法。

兼容平台~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体育自动化

通过Composio的API Sports工具包,经由Rube MCP自动执行API Sports操作。

工具包文档: 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. 使用 api_sports 工具包调用 RUBE_MANAGE_CONNECTIONS
  3. 如果连接状态不是 ACTIVE,请按照返回的认证链接完成设置
  4. 在执行任何工作流之前,确认连接状态显示为 ACTIVE

工具发现

在执行工作流之前,始终先发现可用工具:

RUBE_SEARCH_TOOLS
queries: [{use_case: "API Sports operations", 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",
  arguments: {/* 来自搜索结果的符合架构的参数 */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

  • 始终先搜索:工具架构会变化。切勿在没有调用 RUBE_SEARCH_TOOLS 的情况下硬编码工具slug或参数
  • 检查连接:在执行工具之前,验证 RUBE_MANAGE_CONNECTIONS 显示 ACTIVE 状态
  • 架构合规:使用来自搜索结果的精确字段名称和类型
  • memory参数:在 RUBE_MULTI_EXECUTE_TOOL 调用中始终包含 memory,即使为空({})
  • 会话复用:在工作流内复用会话ID。为新的工作流生成新的会话ID
  • 分页:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具使用API Sports特定用例的 RUBE_SEARCH_TOOLS
连接使用 api_sports 工具包的 RUBE_MANAGE_CONNECTIONS
执行使用发现到的工具slug的 RUBE_MULTI_EXECUTE_TOOL
批量操作使用 run_composio_tool() 的 RUBE_REMOTE_WORKBENCH
完整架构对带有 schemaRef 的工具使用 RUBE_GET_TOOL_SCHEMAS

由 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.

相关技能