Communitygithub.com

ComposioHQ/googleslides-automation

透過 Rube MCP (Composio) 自動化 Google Slides 任務:建立簡報、從 Markdown 新增投影片、批次更新、從範本複製、取得縮圖。請務必先搜尋工具以取得最新架構。

googleslides-automation 是什麼?

這個技能可讓開發者與 AI 代理程式透過 Rube MCP (Composio) 以程式化方式自動操作 Google Slides 簡報。它支援建立空白簡報、從 Markdown 文字自動分割成投影片、批次更新現有簡報、從範本複製簡報,以及產生單一投影片的縮圖。底層透過 Composio 的 Google Slides 工具組提供一致的工具介面,涵蓋 `GOOGLESLIDES_PRESENTATIONS_CREATE`、`GOOGLESLIDES_CREATE_SLIDES_MARKDOWN`、`GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATE`、`GOOGLESLIDES_PRESENTATIONS_COPY_FROM_TEMPLATE` 與 `GOOGLESLIDES_PRESENTATIONS_PAGES_GET_THUMBNAIL` 等工具。使用者需先確認 Rube MCP 已連線,並透過 `RUBE_MANAGE_CONNECTIONS` 建立有效的 Google Slides 連線後,才能開始執行工作流程。此技能特別適合需要快速從結構化內容生成簡報、批次更新投影片內容,或根據現有範本大量產生簡報的場景。

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

在你喜歡的 AI 中提問

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

說明文件

透過 Rube MCP 自動化 Google Slides

使用 Rube MCP (Composio) 以程式化方式建立、編輯與管理 Google Slides 簡報。

工具組文件:composio.dev/toolkits/googleslides

先決條件

  • 必須連線 Rube MCP(可使用 RUBE_SEARCH_TOOLS)
  • 透過 RUBE_MANAGE_CONNECTIONS 並搭配工具組 googleslides 建立有效連線
  • 務必先呼叫 RUBE_SEARCH_TOOLS 取得目前工具架構

設定

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

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

核心工作流程

1. 建立空白簡報

使用 GOOGLESLIDES_PRESENTATIONS_CREATE 初始化一個新的空白簡報。

工具:GOOGLESLIDES_PRESENTATIONS_CREATE
參數:
  - title (必填):新簡報的標題
  - presentationId (選填):要指定的特定 ID(通常自動產生)

2. 從 Markdown 建立投影片

使用 GOOGLESLIDES_CREATE_SLIDES_MARKDOWN 從 Markdown 文字產生完整的簡報。內容會自動分割成多張投影片。

工具:GOOGLESLIDES_CREATE_SLIDES_MARKDOWN
參數:
  - title (必填):簡報標題
  - markdown_text (必填):Markdown 內容(自動分割成投影片)

3. 批次更新簡報

使用 GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATE 透過 Markdown 或原始 API 請求對現有簡報進行更新。

工具:GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATE
參數:
  - presentationId (必填):目標簡報 ID
  - markdown_text:用於更新投影片的 Markdown 內容
  - requests:原始的 Google Slides API 批次更新請求
  - writeControl:寫入控制設定

4. 從範本複製

使用 GOOGLESLIDES_PRESENTATIONS_COPY_FROM_TEMPLATE 將現有簡報複製為範本。

工具:GOOGLESLIDES_PRESENTATIONS_COPY_FROM_TEMPLATE
參數:
  - template_presentation_id (必填):來源範本簡報 ID
  - new_title (必填):新複本的標題
  - parent_folder_id (選填):Google Drive 中用於存放複本的資料夾

5. 取得簡報詳細資料

使用 GOOGLESLIDES_PRESENTATIONS_GET 擷取簡報的目前狀態,包括所有投影片與元素。

工具:GOOGLESLIDES_PRESENTATIONS_GET
參數:
  - presentationId (必填):要擷取的簡報 ID
  - fields (選填):要回傳的特定欄位

6. 產生投影片縮圖

使用 GOOGLESLIDES_PRESENTATIONS_PAGES_GET_THUMBNAIL 為特定投影片產生縮圖影像 URL。

工具:GOOGLESLIDES_PRESENTATIONS_PAGES_GET_THUMBNAIL
參數:
  - presentationId (必填):簡報 ID
  - pageObjectId (必填):頁面/投影片物件 ID
  - thumbnailProperties.mimeType:影像格式(例如 PNG)
  - thumbnailProperties.thumbnailSize:縮圖尺寸

常見模式

  • 以 Markdown 為優先的工作流程:使用 GOOGLESLIDES_CREATE_SLIDES_MARKDOWN 從結構化文字快速產生簡報。該工具會自動將內容分割成不同的投影片。
  • 基於範本的產生方式:使用 GOOGLESLIDES_PRESENTATIONS_COPY_FROM_TEMPLATE 複製有樣式的範本,再以 GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATE 填入內容。
  • 先檢索再修改:使用 GOOGLESLIDES_PRESENTATIONS_GET 檢查投影片結構與物件 ID,再以 GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATE 進行目標性修改。
  • 匯出縮圖:使用 GOOGLESLIDES_PRESENTATIONS_PAGES_GET 列出頁面物件 ID,再以 GOOGLESLIDES_PRESENTATIONS_PAGES_GET_THUMBNAIL 產生預覽影像。
  • 分享簡報:與 GOOGLEDRIVE_ADD_FILE_SHARING_PREFERENCE(googledrive 工具組)搭配使用,可在建立後分享簡報。

常見陷阱

  • GOOGLESLIDES_CREATE_SLIDES_MARKDOWN 每次都會建立全新的簡報——無法附加到現有簡報。
  • 使用原始 requests 的 GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATE 需要熟悉 Google Slides API 請求格式。較簡單的更新建議使用 markdown_text。
  • 在使用縮圖或頁面取得工具前,必須先從 GOOGLESLIDES_PRESENTATIONS_GET 取得頁面物件 ID。
  • presentationId 是 Google Slides URL 中位於 /d/ 與 /edit 之間的長字母數字字串。
  • 從範本複製時,通過驗證的使用者必須至少對範本簡報具有讀取權限。

快速參考

動作工具主要參數
建立空白簡報GOOGLESLIDES_PRESENTATIONS_CREATEtitle
從 Markdown 建立GOOGLESLIDES_CREATE_SLIDES_MARKDOWNtitle、markdown_text
批次更新投影片GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATEpresentationId、markdown_text 或 requests
從範本複製GOOGLESLIDES_PRESENTATIONS_COPY_FROM_TEMPLATEtemplate_presentation_id、new_title
取得簡報GOOGLESLIDES_PRESENTATIONS_GETpresentationId
取得頁面詳細資料GOOGLESLIDES_PRESENTATIONS_PAGES_GETpresentationId、pageObjectId
取得投影片縮圖GOOGLESLIDES_PRESENTATIONS_PAGES_GET_THUMBNAILpresentationId、pageObjectId

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

相關技能