Community编程与开发github.com

通过Rube MCP自动化Codeinterpreter (Composio)

通过Composio的Codeinterpreter工具集和Rube MCP,自动化Codeinterpreter操作。请始终先搜索工具以获取当前模式。

通过Rube MCP自动化Codeinterpreter (Composio) 是什么?

此技能使开发者能够通过Composio的Codeinterpreter工具集和Rube MCP(一个无API密钥的MCP端点,位于rube.app/mcp)自动化Codeinterpreter操作。其核心理念是工具优先:在执行任何工作流之前,必须调用`RUBE_SEARCH_TOOLS`来发现当前的工具模式,因为工具模式是动态变化的。该技能支持跨多个平台(如Cursor、Claude Code等)的使用,通过标准的Rube MCP工具管理连接、搜索工具和执行命令。典型工作流包括发现可用工具、检查连接状态(确保`RUBE_MANAGE_CONNECTIONS`显示ACTIVE)、然后使用`RUBE_MULTI_EXECUTE_TOOL`执行操作。已知陷阱包括硬编码工具模式、忽略连接状态、以及在`RUBE_MULTI_EXECUTE_TOOL`调用中省略`memory`参数。通过遵循这些模式,开发者可以可靠地自动化数据分析、文件操作或任何Codeinterpreter支持的工作负载。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/codeinterpreter-automation

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

通过Rube MCP自动化Codeinterpreter

通过Composio的Codeinterpreter工具集和Rube MCP,自动化Codeinterpreter操作。

工具集文档:composio.dev/toolkits/codeinterpreter

前提条件

  • 必须连接Rube MCP(RUBE_SEARCH_TOOLS可用)
  • 通过RUBE_MANAGE_CONNECTIONS连接Codeinterpreter(工具集为codeinterpreter)且连接处于活动状态
  • 始终先调用RUBE_SEARCH_TOOLS获取当前工具模式

设置

获取Rube MCP:在客户端配置中将https://rube.app/mcp添加为MCP服务器。无需API密钥——只需添加端点即可使用。

  1. 通过确认RUBE_SEARCH_TOOLS响应来验证Rube MCP是否可用
  2. 使用工具集codeinterpreter调用RUBE_MANAGE_CONNECTIONS
  3. 如果连接状态不是ACTIVE,请按照返回的认证链接完成设置
  4. 在运行任何工作流之前确认连接状态显示ACTIVE

工具发现

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

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

这将返回可用的工具slug、输入模式、推荐的执行计划以及已知陷阱。

核心工作流模式

第1步:发现可用工具

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

第2步:检查连接

RUBE_MANAGE_CONNECTIONS
toolkits: ["codeinterpreter"]
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的情况下硬编码工具slug或参数
  • 检查连接:在执行工具前确认RUBE_MANAGE_CONNECTIONS显示ACTIVE状态
  • 模式合规:使用搜索结果的精确字段名称和类型
  • memory参数:始终在RUBE_MULTI_EXECUTE_TOOL调用中包含memory,即使为空({})
  • 会话复用:在工作流内复用会话ID。为新工作流生成新的会话ID
  • 分页:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具RUBE_SEARCH_TOOLS,使用Codeinterpreter特定用例
连接RUBE_MANAGE_CONNECTIONS,工具集为codeinterpreter
执行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.

ComposioHQ/-21risk-automation

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

ComposioHQ/-2chat-automation

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

ComposioHQ/ably-automation

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

ComposioHQ/abstract-automation

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

ComposioHQ/abuselpdb-automation

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

ComposioHQ/abyssale-automation

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

ComposioHQ/accelo-automation

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

ComposioHQ/accredible-certificates-automation

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

ComposioHQ/acculynx-automation

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

ComposioHQ/active-campaign-automation

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

ComposioHQ/addresszen-automation

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

ComposioHQ/adobe-automation

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

ComposioHQ/adrapid-automation

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

ComposioHQ/adyntel-automation

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

ComposioHQ/aeroleads-automation

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

ComposioHQ/aero-workflow-automation

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

ComposioHQ/affinda-automation

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

ComposioHQ/affinity-automation

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

ComposioHQ/agencyzoom-automation

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

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相关技能