Community程式設計與開發github.com

ComposioHQ/shortpixel-automation

透過 Rube MCP (Composio) 自動化 Shortpixel 任務。請一律先搜尋工具以取得最新架構。

shortpixel-automation 是什麼?

此技能透過 Composio 的 Shortpixel 工具套件,經由 Rube MCP 自動化 Shortpixel 圖片最佳化與壓縮任務。開發者需要先連接 Rube MCP,並確保 Shortpixel 連線處於 ACTIVE 狀態,才能執行工作流程。技能強烈建議在執行任何工具前,先呼叫 `RUBE_SEARCH_TOOLS` 動態發現最新的工具架構與參數,避免因硬編碼而導致錯誤。支援的平台包括所有能整合 MCP 伺服器的 AI 代理工具,例如 Claude Code 或 Cursor。其運作核心是三步驟模式:發現工具、檢查連線、執行工具,並在每個步驟中重複使用工作階段 ID 以維持狀態。

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

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

在你喜歡的 AI 中提問

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

說明文件

透過 Rube MCP 自動化 Shortpixel

透過 Composio 的 Shortpixel 工具套件,經由 Rube MCP 自動化 Shortpixel 操作。

工具套件文件:composio.dev/toolkits/shortpixel

先決條件

  • Rube MCP 必須已連線(RUBE_SEARCH_TOOLS 可用)
  • 已透過 RUBE_MANAGE_CONNECTIONS 使用 Shortpixel 工具套件建立有效的 Shortpixel 連線
  • 一律先呼叫 RUBE_SEARCH_TOOLS 以取得目前的工具架構

設定

取得 Rube MCP:在客戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。不需要 API 金鑰—只需新增端點即可運作。

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

工具探索

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

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

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

核心工作流程模式

步驟 1:探索可用工具

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

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["shortpixel"]
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 的情況下,切勿硬編碼工具代號或引數
  • 檢查連線:執行工具前,請確認 RUBE_MANAGE_CONNECTIONS 顯示 ACTIVE 狀態
  • 遵循架構:使用搜尋結果中的確切欄位名稱與型別
  • memory 參數:在 RUBE_MULTI_EXECUTE_TOOL 呼叫中一律包含 memory,即使為空也需傳入 {}
  • 工作階段重複使用:在單一工作流程中重複使用工作階段 ID。新的工作流程請產生新的 ID
  • 分頁處理:檢查回應中是否有分頁 token,並持續擷取直到完成

快速參考

操作方法
尋找工具使用 Shortpixel 特定情境的 RUBE_SEARCH_TOOLS
連線使用工具套件 shortpixel 的 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.

相關技能