Community编程与开发github.com

API Ninjas 自动化 (通过 Rube MCP)

通过 Rube MCP(Composio)实现 API Ninjas 任务的自动化。始终先搜索工具以获取当前 schema。

API Ninjas 自动化 (通过 Rube MCP) 是什么?

此技能通过 Rube MCP 集成 Composio 的 API Ninjas 工具包,允许 AI 代理自动执行 API Ninjas 操作。它提供了一个结构化的工作流:首先使用 `RUBE_SEARCH_TOOLS` 发现可用的工具和 schema,然后通过 `RUBE_MANAGE_CONNECTIONS` 检查连接状态,最后使用 `RUBE_MULTI_EXECUTE_TOOL` 执行任务。此技能支持 Cursor、Claude Code、Codex 等 MCP 客户端,只需将 `https://rube.app/mcp` 添加为 MCP 服务器即可开始使用。主要优势在于它强制进行工具发现,避免硬编码 schema,并支持批量操作(通过 `RUBE_REMOTE_WORKBENCH`)。关键陷阱包括:始终在调用前搜索工具、检查连接是否为 ACTIVE、遵守 schema 要求以及在每次执行中包含空的 `memory` 参数。

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

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

在你喜欢的 AI 中提问

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

文档

通过 Rube MCP 自动化 API Ninjas 操作

通过 Composio 的 API Ninjas 工具包(经由 Rube MCP)自动化 API Ninjas 操作。

工具包文档:composio.dev/toolkits/api_ninjas

前提条件

  • Rube MCP 必须已连接(RUBE_SEARCH_TOOLS 可用)
  • 通过 RUBE_MANAGE_CONNECTIONS 使用工具包 api_ninjas 建立有效的 API Ninjas 连接
  • 始终首先调用 RUBE_SEARCH_TOOLS 以获取当前工具 schema

设置

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

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

工具发现

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

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

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

核心工作流模式

步骤 1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "你的具体 API Ninjas 任务"}]
session: {id: "现有会话ID"}

步骤 2:检查连接

RUBE_MANAGE_CONNECTIONS
toolkits: ["api_ninjas"]
session_id: "你的会话ID"

步骤 3:执行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "从搜索结果中获取的工具SLUG",
  arguments: {/* 符合搜索结果的 schema 参数 */}
}]
memory: {}
session_id: "你的会话ID"

已知陷阱

  • 始终先搜索:工具 schema 会变化。未经调用 RUBE_SEARCH_TOOLS,切勿硬编码工具 slug 或参数
  • 检查连接:在执行工具前,确保 RUBE_MANAGE_CONNECTIONS 显示 ACTIVE 状态
  • 遵循 Schema:使用搜索结果的精确字段名和类型
  • Memory 参数:在 RUBE_MULTI_EXECUTE_TOOL 调用中始终包含 memory,即使为空({})
  • 会话复用:在工作流中复用会话 ID。为新的工作流生成新的会话 ID
  • 分页:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具RUBE_SEARCH_TOOLS,附带 API Ninjas 特定用例
连接RUBE_MANAGE_CONNECTIONS,使用工具包 api_ninjas
执行RUBE_MULTI_EXECUTE_TOOL,使用发现到的工具 slug
批量操作RUBE_REMOTE_WORKBENCH,配合 run_composio_tool()
完整 SchemaRUBE_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.

相关技能