Community程式設計與開發github.com

shortpixel-automation

自動透過 Rube MCP (Composio) 執行 Shortpixel 任務。使用前請務必先搜尋工具以取得最新的架構。

shortpixel-automation 是什麼?

這個技能讓開發者能夠透過 Composio 的 Shortpixel 工具套件,經由 Rube MCP 以自然語言或腳本自動化 Shortpixel 的圖片壓縮與最佳化操作。它的核心價值在於動態發現工具:每次執行工作流程前,必須先呼叫 `RUBE_SEARCH_TOOLS` 來獲取最新的工具名稱、輸入架構與執行建議,從而避免因硬編碼而造成的相容性問題。支援的平台主要是透過 Rube MCP 整合的環境,例如 Claude Code、Cursor 或 Codex。使用時需要先確認 Rube MCP 已連線,並透過 `RUBE_MANAGE_CONNECTIONS` 建立 Shortpixel 的活躍連線,接著才能依據搜尋結果呼叫 `RUBE_MULTI_EXECUTE_TOOL` 執行具體操作。文件中還提供了常見陷阱(如未先搜尋工具、未檢查連線狀態)與快速參考表格,協助使用者高效且正確地執行工作流程。

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

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

在你喜歡的 AI 中提問

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

說明文件

透過 Rube MCP 自動化 Shortpixel

經由 Rube MCP 使用 Composio 的 Shortpixel 工具套件來自動化 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 操作", 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",
  arguments: {/* 來自搜尋結果的、符合架構的參數 */}
}]
memory: {}
session_id: "your_session_id"

已知常見問題

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

快速參考

操作方式
尋找工具使用以 Shortpixel 為特定用途的 RUBE_SEARCH_TOOLS
連線使用 shortpixel 工具套件的 RUBE_MANAGE_CONNECTIONS
執行使用探索到的工具名稱的 RUBE_MULTI_EXECUTE_TOOL
批次操作使用搭配 run_composio_tool() 的 RUBE_REMOTE_WORKBENCH
完整架構針對含有 schemaRef 的工具使用 RUBE_GET_TOOL_SCHEMAS

Powered by 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.

相關技能