Community程式設計與開發github.com

ComposioHQ/Uploadcare-Automation

透過自然語言指令自動化 Uploadcare 檔案管理,包括列出、儲存、檢視、下載及整理檔案群組。

Uploadcare-Automation 是什麼?

此技能讓您能直接以自然語言操控 Uploadcare 的檔案管理流程,無需手動呼叫 API。它整合了六大核心工具,包括列出專案檔案(支援篩選、排序與分頁)、永久儲存暫存檔案(避免 24 小時自動刪除)、查詢檔案中繼資料(大小、MIME 類型、CDN URL、圖片尺寸等)、產生時效性下載鏈結,以及瀏覽檔案群組。支援透過 Composio 平台快速設定,並提供完整的生命週期工作流程範例。適合需要批次處理上傳檔案或建立自動化管線的開發者,特別是與 Uploadcare 儲存後端整合的情境。已知限制包括:不接受布林值而需字串過濾參數、分頁為偏移量制、且不包含上傳功能(需另透過 Uploadcare API 或 Widget 完成上傳)。

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

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

在你喜歡的 AI 中提問

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

說明文件

Uploadcare 自動化

自動化 Uploadcare 檔案處理工作流程——透過自然語言列出專案檔案、永久儲存上傳、取得檔案中繼資料、獲取下載網址及管理檔案群組。

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


設定

  1. 將 Rube MCP 伺服器加入您的環境:https://rube.app/mcp
  2. 在提示時連結您的 Uploadcare 帳戶(透過 Composio 進行 API 金鑰認證)
  3. 開始發出自然語言指令來進行 Uploadcare 自動化

核心工作流程

1. 列出專案檔案

瀏覽 Uploadcare 專案中已上傳的檔案,並支援篩選、排序與分頁。

工具: UPLOADCARE_LIST_FILES

關鍵參數:

  • stored —— 依儲存狀態篩選:"true" 表示已儲存,"false" 表示未儲存
  • removed —— 依移除狀態篩選:"true" 表示已移除,"false" 表示啟用中
  • ordering —— 依 datetime_uploaded 排序(升序)或 -datetime_uploaded(降序)
  • limit —— 每頁檔案數,1-1000(預設 100)
  • offset —— 以零為基礎的分頁偏移量
  • from_date —— ISO 8601 時間戳記,篩選在此日期之後上傳的檔案
  • to_date —— ISO 8601 時間戳記,篩選在此日期之前上傳的檔案
  • include —— 設為 "total" 以在回應中包含檔案總數

範例提示:

"列出我 Uploadcare 專案中最近上傳的 50 個已儲存檔案"


2. 永久儲存檔案

將已上傳的檔案標記為永久儲存。Uploadcare 檔案預設為暫存,若未儲存將在 24 小時後刪除。

工具: UPLOADCARE_STORE_FILE

關鍵參數:

  • uuid —— 要儲存的檔案 UUID(必要);格式必須為 8-4-4-4-12 的十六進位(例如 3e55317b-23d1-4f35-9b4c-b9accb7b53f4)

上傳後務必儲存檔案,以免自動刪除。

範例提示:

"永久儲存 UUID 為 3e55317b-23d1-4f35-9b4c-b9accb7b53f4 的檔案"


3. 取得檔案中繼資料

擷取特定檔案的詳細資訊,包括大小、MIME 類型、CDN URL、圖片尺寸等。

工具: UPLOADCARE_GET_FILE_INFO

關鍵參數:

  • uuid —— 要檢查的檔案 UUID(必要);格式:8-4-4-4-12 十六進位

回傳內容:檔案名稱、大小、MIME 類型、CDN URL、上傳日期、儲存狀態、圖片資訊(尺寸、色彩模式)等。

範例提示:

"取得檔案 3e0923f2-e05a-4b37-9f0d-343b981c9d70 的中繼資料與尺寸"


4. 取得暫用下載網址

為特定檔案取得一個限時的直接下載連結。

工具: UPLOADCARE_GET_FILE_DOWNLOAD_URL

關鍵參數:

  • file_id —— 唯一的檔案識別碼(必要)

回傳一個有時效限制的網址,可用於直接下載檔案。

範例提示:

"取得檔案 3e0923f2-e05a-4b37-9f0d-343b981c9d70 的下載連結"


5. 瀏覽檔案群組

列出專案中的檔案群組。群組是同時上傳的檔案集合。

工具: UPLOADCARE_LIST_GROUPS

關鍵參數:

  • limit —— 每頁群組數,1-1000(預設 20)
  • offset —— 以零為基礎的分頁偏移量(預設 0)
  • ordering —— 依 datetime_created 排序(升序)或 -datetime_created(降序)

範例提示:

"列出我最近的 10 個檔案群組"


6. 檔案生命週期工作流程

結合多種工具進行端到端檔案管理:

  1. 上傳:透過 Uploadcare 的上傳 API 或 Widget 上傳檔案(此工具包不包含)
  2. 儲存:UPLOADCARE_STORE_FILE —— 將檔案標記為永久以防自動刪除
  3. 檢查:UPLOADCARE_GET_FILE_INFO —— 驗證中繼資料、檢查尺寸與 MIME 類型
  4. 分享:UPLOADCARE_GET_FILE_DOWNLOAD_URL —— 產生暫用下載連結
  5. 瀏覽:UPLOADCARE_LIST_FILES —— 審核所有檔案,並依狀態與日期篩選
  6. 群組:UPLOADCARE_LIST_GROUPS —— 檢視批次上傳

範例提示:

"儲存檔案 abc-123,然後取得其中繼資料與下載連結"


已知陷阱

陷阱詳細說明
未儲存檔案的自動刪除上傳的檔案預設為暫存,24 小時後會被刪除 —— 請務必呼叫 UPLOADCARE_STORE_FILE 來持久化
UUID 格式嚴格檔案 UUID 必須是精確的 8-4-4-4-12 十六進位格式(例如 3e55317b-23d1-4f35-9b4c-b9accb7b53f4);無效格式會被拒絕
篩選值為字串stored 與 removed 參數接受字串值 "true" 或 "false",不是布林值
暫用下載網址從 UPLOADCARE_GET_FILE_DOWNLOAD_URL 取得的網址有時效限制,會過期
分頁為偏移量制使用 offset + limit 進行分頁;沒有基於游標的分頁令牌
無上傳工具檔案上傳需透過 Uploadcare 的上傳 API 或 Widget 完成,不在此工具包內 —— 這些工具管理已上傳的檔案

快速參考

動作工具代號關鍵參數
列出檔案UPLOADCARE_LIST_FILESstored, ordering, limit, offset
儲存檔案UPLOADCARE_STORE_FILEuuid
取得檔案資訊UPLOADCARE_GET_FILE_INFOuuid
取得下載網址UPLOADCARE_GET_FILE_DOWNLOAD_URLfile_id
列出群組UPLOADCARE_LIST_GROUPSlimit, offset, ordering

由 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.

相關技能