通过 Excel 与 Google Sheets 集成自动创建、写入和格式化表格。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "Excel Automation" 技能: 1. 下载 https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/composio-skills/excel-automation/SKILL.md 2. 保存为 ~/.claude/skills/excel-automation/SKILL.md 3. 装好后重载技能,告诉我可以用了
办公人员或开发者可以用它创建新的 Excel 工作簿,并将文件上传到 OneDrive,作为后续报表处理的起点。
数据分析师或运营人员可将二维数组形式的数据批量写入 Google Sheets 的指定工作表和区域,减少手工录入。
当联系人、CRM 或库存数据需要去重同步时,可按关键列更新已有行,并自动追加新记录。
文档介绍了这个 Excel Automation 技能如何自动化常见表格操作,覆盖创建 Excel 工作簿、向 Google Sheets 批量写入数据、按键列更新或新增行,以及格式化单元格等流程。文档还说明了前置条件:需要连接 Rube MCP server,并先为 excel 工具包建立有效连接,如需操作 Google Sheets 还要连接对应工具包。
Automate spreadsheet operations including creating workbooks, writing data, formatting cells, upserting rows, and managing worksheets. Works with Microsoft Excel (OneDrive) and Google Sheets.
Toolkit docs: composio.dev/toolkits/excel
This skill requires the Rube MCP server connected at https://rube.app/mcp.
Before executing any tools, ensure an active connection exists for the excel (and optionally googlesheets) toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.
Use EXCEL_CREATE_WORKBOOK to generate a new .xlsx file and upload it to OneDrive.
Tool: EXCEL_CREATE_WORKBOOK
Steps:
EXCEL_CREATE_WORKBOOK with worksheet names and data.xlsx file and uploads it to OneDriveUse GOOGLESHEETS_BATCH_UPDATE to write values to a specific range or append rows.
Tool: GOOGLESHEETS_BATCH_UPDATE
Key Parameters:
spreadsheet_id (required) -- The spreadsheet ID from the URL (44-char alphanumeric string)sheet_name (required) -- Tab name, e.g., "Sheet1", "Sales Data"values (required) -- 2D array of cell values, e.g., [["Name","Amount"],["Alice",100]]first_cell_location -- Starting cell in A1 notation (e.g., "A1", "D3"). Omit to append rowsvalueInputOption -- "USER_ENTERED" (default, parses formulas) or "RAW" (stores as-is)Example:
Tool: GOOGLESHEETS_BATCH_UPDATE
Arguments:
spreadsheet_id: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
sheet_name: "Sheet1"
values: [["Item","Cost","Stocked"],["Wheel",20.50,true],["Screw",0.50,true]]
first_cell_location: "A1"
Use GOOGLESHEETS_UPSERT_ROWS to update existing rows by matching a key column, or append new rows if no match is found. Ideal for CRM syncs, inventory updates, and deduplication.
Tool: GOOGLESHEETS_UPSERT_ROWS
Key Parameters:
spreadsheetId (required) -- The spreadsheet IDsheetName (required) -- Tab namerows (required) -- 2D array of data rows (min 1 row). If headers is omitted, the first row is treated as headersheaders -- Column names for the data, e.g., ["Email","Phone","Status"]keyColumn -- Column header to match on, e.g., "Email", "SKU", "Lead ID"strictMode -- true (default) errors on mismatched columns; false truncates silentlyExample:
Tool: GOOGLESHEETS_UPSERT_ROWS
Arguments:
spreadsheetId: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
sheetName: "Contacts"
keyColumn: "Email"
headers: ["Email","Phone","Status"]
rows: [["[email protected]","555-0101","Active"],["[email protected]","555-0102","Pending"]]
Use GOOGLESHEETS_FORMAT_CELL to apply bold, italic, font size, and background colors to ranges.
Tool: GOOGLESHEETS_FORMAT_CELL
Key Parameters:
spreadsheet_id (required) -- The spreadsheet IDrange -- Cell range in A1 notation, e.g., "A1:D1", "B2:B10" (recommended over index-based)sheet_name -- Worksheet name, e.g., "Sheet1"bold -- true/falseitalic -- true/falsefontSize -- Font size in points, e.g., 12red, green, blue -- Background color components (0.0--1.0 float scale, NOT 0--255)Example (bold header row with blue background):
Tool: GOOGLESHEETS_FORMAT_CELL
Arguments:
spreadsheet_id: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
range: "A1:D1"
sheet_name: "Sheet1"
bold: true
fontSize: 12
red: 0.2
green: 0.4
blue: 0.9
Use GOOGLESHEETS_ADD_SHEET to create new tabs within an existing spreadsheet.
Tool: GOOGLESHEETS_ADD_SHEET
Key Parameters:
spreadsheetId (required) -- The spreadsheet ID…
它用于自动化表格操作,包括创建工作簿、管理工作表、读写单元格数据、格式化表格,以及在 Google Sheets 中按键列更新或追加行。
文档显示它需要连接到 Rube MCP server(https://rube.app/mcp)。执行工具前,需要为 excel 工具包建立有效连接;如需操作 Google Sheets,还应连接 googlesheets。
给定资料明确提到支持 Microsoft Excel(通过 OneDrive)和 Google Sheets。Excel 可创建并上传 .xlsx 文件,Google Sheets 支持批量写入、按键更新和单元格格式化等操作。
通过 Rube MCP 自动执行 Melo 相关任务,并先检索最新工具参数与结构。
通过 Rube MCP 自动化执行 Bench 相关任务,并先检索最新工具参数。
通过 Rube MCP 自动执行 Alpha Vantage 数据查询与相关流程编排。
通过 Rube MCP 自动化执行 Botpress 相关任务与流程操作。
通过 Rube MCP 自动化获取与处理品牌资料、Logo 和品牌资产信息。
通过 Rube MCP 自动执行 Docuseal 文档签署与模板流程任务。
用于创建、编辑、分析电子表格,并支持公式、格式与可视化处理。
自动化操作桌面版 Excel,重算公式、读取结果并导出高保真 PDF。
处理或生成电子表格文件,支持清洗、编辑、转换与公式图表操作。
安全自动化操作本地 Excel 工作簿,支持模板处理、快照与回滚。
读取、创建并批量更新 Excel 文件,适合自动化表格处理与数据整理。
帮助用户以编程方式读取、写入和处理 Excel 电子表格文件。