Community程式設計與開發github.com

ComposioHQ/hystruct-automation

透過 Rube MCP (Composio) 自動化 Hystruct 任務。始終先搜尋工具以取得當前 schema。

hystruct-automation 是什麼?

這項技能讓開發者能夠透過 Composio 的 Hystruct 工具包以及 Rube MCP 來自動化 Hystruct 操作。它的主要用途是動態發現並呼叫 Hystruct 的工具,因此特別適合需要根據當前 schema 來執行多步驟工作流程的場景。此技能支援 Rube MCP 平台,並強調在執行任何工作流程前,必須先使用 `RUBE_SEARCH_TOOLS` 來發掘可用的工具與其輸入 schema,以避免硬編碼所造成的錯誤。工作流程包含三個核心步驟:發現工具、檢查連線狀態、執行工具。開發者需要先確認 Rube MCP 已連線,並透過 `RUBE_MANAGE_CONNECTIONS` 建立 Hystruct 的啟用連線。在執行階段,使用 `RUBE_MULTI_EXECUTE_TOOL` 來呼叫符合 schema 的工具,同時必須注意記憶體參數、Session ID 的重複使用以及分頁處理等細節。這項技能能大幅提升開發者在 Hystruct 環境中的工作效率,並減少因 schema 變更而導致的問題。

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

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 Hystruct

透過 Composio 的 Hystruct 工具包並經由 Rube MCP 來自動化 Hystruct 操作。

工具包文件: composio.dev/toolkits/hystruct

先決條件

  • 必須已連線 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 已透過 RUBE_MANAGE_CONNECTIONS 啟用 Hystruct 連線,使用工具包 hystruct
  • 始終先呼叫 RUBE_SEARCH_TOOLS 以取得最新的工具 schema

設定

取得 Rube MCP:在您的客戶端設定中新增 https://rube.app/mcp 作為 MCP 伺服器。無需 API 金鑰 — 只需新增端點即可使用。

  1. 確認 RUBE_SEARCH_TOOLS 有回應,以驗證 Rube MCP 可用
  2. 使用工具包 hystruct 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 若連線狀態非 ACTIVE,請依照回傳的驗證連結完成設定
  4. 在執行任何工作流程前,確認連線狀態顯示為 ACTIVE

工具探索

在執行工作流程前,務必先探索可用的工具:

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

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

核心工作流程模式

步驟 1:探索可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "你的特定 Hystruct 任務"}]
session: {id: "existing_session_id"}

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["hystruct"]
session_id: "你的 session ID"

步驟 3:執行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "從搜尋結果取得的 TOOL_SLUG",
  arguments: {/* 符合 schema 的引數,來自搜尋結果 */}
}]
memory: {}
session_id: "你的 session ID"

已知陷阱

  • 務必先搜尋:工具 schema 會變動。請勿在不先呼叫 RUBE_SEARCH_TOOLS 的情況下硬編碼工具 slug 或引數
  • 檢查連線:在執行工具前,確認 RUBE_MANAGE_CONNECTIONS 顯示為 ACTIVE 狀態
  • 符合 schema:使用搜尋結果中的確切欄位名稱與型別
  • 記憶體參數:在 RUBE_MULTI_EXECUTE_TOOL 呼叫中務必包含 memory,即使為空({})
  • 重複使用 Session:在同一個工作流程中重複使用 session ID。新的工作流程則產生新的 ID
  • 分頁處理:檢查回應中是否有分頁 token,並持續擷取直到資料完整

快速參考

操作方法
尋找工具RUBE_SEARCH_TOOLS 搭配 Hystruct 特定的使用案例
連線RUBE_MANAGE_CONNECTIONS 使用工具包 hystruct
執行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.

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.

相關技能