Community程式設計與開發github.com

ComposioHQ/shorten-rest-automation

透過 Rube MCP (Composio) 自動化 Shorten Rest 任務。請務必先搜尋工具以取得最新結構。

shorten-rest-automation 是什麼?

這項技能讓開發者能透過 Composio 的 Shorten Rest 工具包與 Rube MCP 伺服器,自動化 Shorten Rest 的各種操作。它的主要價值在於強制要求每次工作流程開始前都先呼叫 `RUBE_SEARCH_TOOLS` 來探索最新工具結構,避免因工具結構變更而導致錯誤。支援的平台包括任何可設定 MCP 伺服器的環境,且不需 API 金鑰即可連線。運作方式分為三步驟:先搜尋工具取得當前結構,再透過 `RUBE_MANAGE_CONNECTIONS` 確認連線狀態為 ACTIVE,最後使用 `RUBE_MULTI_EXECUTE_TOOL` 執行工作。常見陷阱包括從未先搜尋即直接硬編碼工具名稱、忽略連線狀態檢查、以及忘記在執行呼叫中包含 `memory` 參數。這項技能也提供批次操作與完整結構查詢的快速參考,讓複雜自動化變得簡單可靠。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/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 操作", known_fields: ""}]
session: {generate_id: true}

這會回傳可用的工具代號、輸入結構、建議執行計畫以及已知陷阱。

核心工作流程模式

步驟 1:探索可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "您的特定 Shorten Rest 任務"}]
session: {id: "現有工作階段 ID"}

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["shorten_rest"]
session_id: "您的工作階段 ID"

步驟 3:執行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "從搜尋取得的工具代號",
  arguments: {/* 來自搜尋結果、符合結構的引數 */}
}]
memory: {}
session_id: "您的工作階段 ID"

已知陷阱

  • 始終先搜尋:工具結構會變更。未先呼叫 RUBE_SEARCH_TOOLS 時,切勿硬編碼工具代號或引數
  • 檢查連線:執行工具前,確認 RUBE_MANAGE_CONNECTIONS 顯示 ACTIVE 狀態
  • 遵循結構:使用搜尋結果中的精確欄位名稱與型別
  • 記憶體參數:呼叫 RUBE_MULTI_EXECUTE_TOOL 時始終包含 memory,即使為空({})
  • 工作階段重複使用:在同一個工作流程內重複使用工作階段 ID。新工作流程請產生新的 ID
  • 分頁:檢查回應中是否有分頁權杖,並持續擷取直到完成

快速參考

操作方法
尋找工具使用與 Shorten Rest 相關的用例呼叫 RUBE_SEARCH_TOOLS
連線使用 shorten_rest 工具包呼叫 RUBE_MANAGE_CONNECTIONS
執行使用探索到的工具代號呼叫 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.

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.

相關技能