跳到正文
Skillpedia
自动化77k · #2300

openrouter-automation

它能做什么

这个工具借助 Rube MCP 帮你在 Openrouter 上自动完成任务。它会找到合适的工具,并确保连接就绪后再运行你的任务。

适用场景

  • ✓当你需要在 Openrouter 上执行多个操作时。
  • ✓当你想确保使用的是最新版本的 Openrouter 工具时。
  • ✓当你在设置或检查 Openrouter 连接时。

技能链接

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/openrouter-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/openrouter-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想自动向 Openrouter 上的 GPT-4 模型发送一条提示词。”

每周 5 个新技能,1 分钟读完。

工作原理

首先,工具会搜索适用于你这项 Openrouter 任务的可用工具。然后,它会检查 Openrouter 连接是否处于激活状态,最后使用找到的工具执行任务。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Openrouter Automation via Rube MCP

Automate Openrouter operations through Composio's Openrouter toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/openrouter

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Openrouter connection via RUBE_MANAGE_CONNECTIONS with toolkit openrouter
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit openrouter
  3. If connection is not ACTIVE, follow the returned auth link to complete setup
  4. Confirm connection status shows ACTIVE before running any workflows

Tool Discovery

Always discover available tools before executing workflows:

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

This returns available tool slugs, input schemas, recommended execution plans, and known pitfalls.

Core Workflow Pattern

Step 1: Discover Available Tools

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

Step 2: Check Connection

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

Step 3: Execute Tools

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* schema-compliant args from search results */}
}]
memory: {}
session_id: "your_session_id"

Known Pitfalls

  • Always search first: Tool schemas change. Never hardcode tool slugs or arguments without calling RUBE_SEARCH_TOOLS
  • Check connection: Verify RUBE_MANAGE_CONNECTIONS shows ACTIVE status before executing tools
  • Schema compliance: Use exact field names and types from the search results
  • Memory parameter: Always include memory in RUBE_MULTI_EXECUTE_TOOL calls, even if empty ({})
  • Session reuse: Reuse session IDs within a workflow. Generate new ones for new workflows
  • Pagination: Check responses for pagination tokens and continue fetching until complete

Quick Reference

Operation Approach
Find tools RUBE_SEARCH_TOOLS with Openrouter-specific use case
Connect RUBE_MANAGE_CONNECTIONS with toolkit openrouter
Execute RUBE_MULTI_EXECUTE_TOOL with discovered tool slugs
Bulk ops RUBE_REMOTE_WORKBENCH with run_composio_tool()
Full schema RUBE_GET_TOOL_SCHEMAS for tools with schemaRef

Powered by Composio

常见问题

什么是 Rube MCP?

Rube MCP 是一个让 AI 能够找到并使用工具来完成任务的系统,比如和 Openrouter 进行交互。

为什么要先搜索工具?

工具及其说明(架构)可能会变化。先搜索可以确保 AI 使用最新、最准确的信息来完成你的任务。

如何连接我的 Openrouter 账号?

首次设置连接时,系统会提供一个授权链接,你按照链接操作即可通过 Rube MCP 连接账号。

详情

作者的原始描述

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

repo: ComposioHQ/awesome-claude-skills

热度

GitHub 星标
77k
排名
#2300
许可证
—
更新时间
2026/9/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能