Community编程与开发github.com

shorten-rest-automation

通过Rube MCP(Composio)自动化Shorten Rest任务。始终先搜索工具以获取当前模式。

shorten-rest-automation 是什么?

此技能通过Rube MCP自动化Shorten Rest操作,底层使用Composio的Shorten Rest工具包。它指导开发者通过Rube MCP的一系列核心步骤,包括工具发现(调用RUBE_SEARCH_TOOLS获取当前工具模式)、连接管理(调用RUBE_MANAGE_CONNECTIONS并确认ACTIVE状态)以及工具执行(使用RUBE_MULTI_EXECUTE_TOOL)。该技能强调始终先搜索工具以获取最新模式、检查连接状态、确保模式合规、在每次执行中包含memory参数、在单个工作流中复用会话ID,以及处理分页响应。它提供了快速参考表,列出查找工具、连接、执行、批量操作和获取完整模式的关键操作,并警告不要硬编码工具slug或参数。支持平台为Rube MCP和Composio。

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

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

在你喜欢的 AI 中提问

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

文档

通过Rube MCP自动化Shorten Rest操作

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

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

前提条件

  • 必须连接Rube MCP(RUBE_SEARCH_TOOLS可用)
  • 通过RUBE_MANAGE_CONNECTIONS使用工具包shorten_rest建立活跃的Shorten Rest连接
  • 始终先调用RUBE_SEARCH_TOOLS以获取当前工具模式

设置

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

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

工具发现

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

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

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

核心工作流模式

步骤1:发现可用工具

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

步骤2:检查连接

RUBE_MANAGE_CONNECTIONS
toolkits: ["shorten_rest"]
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,指定与Shorten Rest相关的use case
连接RUBE_MANAGE_CONNECTIONS,使用工具包shorten_rest
执行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.

相关技能