C

googledrive-automation

作者 ComposioHQ

googledrive-automation 透過 Rube MCP 與 Composio 自動化 Google Drive 檔案任務。它會引導 agent 先搜尋即時工具 schema、確認 Drive 連線處於啟用狀態,再安全地尋找、建立、更新、整理或移動檔案。

Stars67.5k
收藏0
評論0
加入時間2026年7月11日
分類文件自動化
安裝指令
npx skills add ComposioHQ/awesome-claude-skills --skill googledrive-automation
編輯評分

此 skill 評分為 66/100,代表可納入目錄,但較適合定位為輕量級 MCP 工作流程指南,而非功能完整的自動化套件。目錄使用者可以清楚知道它用於透過 Rube MCP 進行 Google Drive 自動化,也能了解如何開始;但應預期內建範例有限,並且需要依賴執行期間的工具探索。

66/100
亮點
  • frontmatter 有效,且觸發情境清楚:透過 Rube MCP/Composio 自動化 Google Drive 任務。
  • 明確列出前置需求與設定步驟,包括必要的 MCP server、Google Drive 連線,以及 ACTIVE 連線狀態檢查。
  • 強調應先呼叫 RUBE_SEARCH_TOOLS 取得最新 schema,可降低因工具名稱或輸入參數過時而出錯的風險。
注意事項
  • 除了 SKILL.md 之外,沒有支援檔案、腳本、參考資料或內建範例,因此實際執行高度仰賴即時的 Rube MCP 工具探索。
  • 目前可見內容較著重通用的探索與設定流程,而不是具體的 Google Drive 任務範例;在處理特定工作流程時,agent 可能仍需要自行判斷。
總覽

googledrive-automation skill 概覽

googledrive-automation 的用途

googledrive-automation 是一個 Claude skill,可透過 Composio 的 Google Drive toolkit,並使用 Rube MCP 來自動化 Google Drive 操作。它適合希望讓代理程式搜尋目前 Google Drive 工具 schema、確認連線狀態,接著執行檔案自動化任務的使用者,例如尋找、建立、更新、整理或移動 Drive 內容。

googledrive-automation skill 的核心價值,不在於提供一長串固定指令庫,而是採用更安全的工具探索流程:先呼叫 RUBE_SEARCH_TOOLS,檢查即時 schema,再透過目前有效的 Rube 連線執行正確的 Google Drive action。

最適合的使用者與工作流程

這個 skill 適合已經使用 Claude 或其他支援 MCP 的 client,並希望自動化 Google Drive、但不想手動串接 Google Drive API 的使用者。它尤其適合 File Automation 任務,因為實際 Drive 操作可能會因情境而不同:依檔名定位檔案、建立重複內容前先檢查資料夾、更新 metadata,或是把 Drive action 與其他 Composio/Rube toolkit 串在一起。

當你需要由代理程式主導 Drive 作業,但仍希望模型在執行前先驗證工具名稱與輸入欄位時,googledrive-automation 會是很合適的選擇。

採用前的重要限制

googledrive-automation 依賴 Rube MCP。在這個 skill 能實際發揮作用之前,必須先能使用 RUBE_SEARCH_TOOLS,並且透過 RUBE_MANAGE_CONNECTIONS 搭配 toolkit googledrive 啟用 Google Drive 連線。

這個 skill 的 repository 刻意維持精簡,目前看起來只包含 SKILL.md。這讓檢視內容變得很容易,但也代表它沒有內建 scripts、examples、rules 或 test fixtures。使用者應把即時工具探索視為正常使用流程的一部分,而不是可有可無的設定步驟。

如何使用 googledrive-automation skill

googledrive-automation 安裝與設定路徑

從 Composio skills repository 安裝這個 skill:

npx skills add ComposioHQ/awesome-claude-skills --skill googledrive-automation

接著在你的 client 設定中,使用以下位址把 Rube MCP 加為 MCP server:

https://rube.app/mcp

完成後,在要求 Drive 自動化之前,先確認三件事:

  1. RUBE_SEARCH_TOOLS 有回應。
  2. RUBE_MANAGE_CONNECTIONS 可以檢查 toolkit googledrive
  3. Google Drive 連線狀態為 ACTIVE

如果連線尚未啟用,請依照 RUBE_MANAGE_CONNECTIONS 回傳的 authentication link 完成授權,然後在執行檔案操作前重新檢查狀態。

第一次使用前該讀什麼

先閱讀 composio-skills/googledrive-automation/SKILL.md。它包含完整的操作模式: prerequisites、setup、tool discovery、connection checking 與 execution flow。

由於這個 skill 在目前檔案樹中沒有可見的 README.mdscripts/resources/rules/ 資料夾,不需要去尋找隱藏的實作邏輯。真正重要的是流程性指示:在選擇 Google Drive action 之前,一律先探索目前的 Rube tool schemas。

把粗略需求改寫成有效提示詞

較弱的提示詞是:「Clean up my Drive.」

更好的 googledrive-automation 使用提示詞是:

「Use googledrive-automation. First call RUBE_SEARCH_TOOLS for Google Drive file search, folder listing, and file move operations. Confirm my Google Drive connection is active. Then find files in My Drive with names containing ‘Invoice’ created before 2024-01-01. Do not delete anything. Create a folder named Old Invoices Review if it does not already exist, move matching files there, and summarize every file moved.」

這樣寫會更有效,因為它明確定義了允許的操作、搜尋條件、目的地處理方式、不得刪除的限制,以及預期的回報內容。

讓 Drive 自動化更安全的實務流程

建議採用分階段流程:

  1. 針對具體使用情境,用 RUBE_SEARCH_TOOLS 探索工具。
  2. 檢查 Google Drive 連線狀態。
  3. 要求代理程式在執行前重述預計進行的 Drive actions。
  4. 先執行唯讀探索,例如 search 或 list operations。
  5. 只有在確認 file IDs、folder IDs 與重複項目處理規則後,才執行會變更內容的操作。
  6. 要求最後提供 audit summary,列出 IDs、名稱與已採取的 actions。

若是在敏感的 Drive 環境中使用,請明確說明代理程式是否可以建立、移動、重新命名、更新、分享或刪除檔案。如果不需要刪除,請在提示詞中明確禁止。

googledrive-automation skill 常見問題

googledrive-automation 只適合開發者嗎?

不是。只要 AI client 支援 MCP 且已設定 Rube,非開發者也可以使用這個 skill。不過,設定過程仍然需要新增 MCP server 並授權 Google Drive。無法設定 MCP 的使用者,將無法從這個 skill 取得實際價值。

這比一般 Google Drive 提示詞好在哪裡?

一般提示詞可以描述預期的 Drive 工作流程,但可能會幻覺出不存在的工具名稱,或使用過時的輸入欄位。googledrive-automation 會指示代理程式先呼叫 RUBE_SEARCH_TOOLS,因此能在執行前取得目前的 Composio/Rube tool schemas。當工具名稱、參數或建議 plan 改變時,這能減少憑空猜測的風險。

什麼情況不該使用這個 skill?

不要把它當成 access-control review、legal retention policy,或未經人工確認的大量破壞性清理流程的替代品。這個 skill 可以協助自動化 Google Drive 任務,但對於刪除、分享權限變更、擁有權變更,或跨大型資料夾樹的操作,你應該提供嚴格限制。

它能用於 Google Drive 以外的 File Automation 嗎?

googledrive-automation 的 File Automation 使用情境,核心是透過 googledrive toolkit 操作 Google Drive。如果你的工作流程橫跨 Gmail、Slack、Notion 或本機檔案,你可能需要其他 MCP tools 或 skills。只要 Rube 有提供所需的配套 toolkits,這個 skill 仍然可以成為更大工作流程中的一部分。

如何改善 googledrive-automation skill

用精確檔案規則改善 googledrive-automation 提示詞

最大的品質提升,來自於提供精確的檔案篩選與安全規則。請包含 filename patterns、MIME types、date ranges、folder names、owner expectations,以及是否應納入 shortcuts、shared drives 或 trashed files。

不要只說「organize reports」,請改成:「Find Google Sheets in folder Quarterly Reports modified in the last 90 days, group them by quarter in folders named 2025 Q1, 2025 Q2, and do not change sharing permissions.」

需要預防的常見失敗模式

最常見的風險包括:操作到錯誤檔案、沿用過時的 schema 假設,以及把過於寬泛的操作套用到太多 Drive 項目。要避免這些問題,請要求先做 tool discovery、唯讀 preview、ID confirmation,並在 mutation 前設定最大 action count。

例如:「Preview the first 20 matches and ask before moving anything if more than 20 files match.」

根據第一次輸出持續修正

第一次執行後,請檢查 audit summary。如果結果不完整,應要求代理程式調整 search query,而不是立刻放寬權限。好的後續指示包括:「include shared drives」、「exclude folders named Archive」、「match exact title only」,或「repeat using file IDs from the previous summary」。

值得加入的 repository 改善項目

如果能加入一份簡短的 README.md、常見 Drive 工作流程的 example prompts,以及破壞性操作的 safety checklist,這個 skill 會更完整。再加上一小段 examples section,涵蓋 search、create folder、move file、update metadata 與 no-delete cleanup,能讓 googledrive-automation 更容易被採用,同時不會削弱它「必須先搜尋即時 Rube schemas」的核心要求。

評分與評論

尚無評分
分享你的評論
登入後即可為這項技能評分並留言。
G
0/10000
最新評論
儲存中...