Excel Automation
Helps your agent work with spreadsheets in Excel and Google Sheets. It can create, edit, and format files.
What it does
This tool helps you organize and manage data in spreadsheets like Excel and Google Sheets. You can create new spreadsheets, add information, update existing data, and even change the appearance of cells.
When to use it
- ✓When you need to create a new expense tracking file.
- ✓To update a contact list with new information.
- ✓To format a report with bold titles and colors.
Example of what to ask your AI
“Create a new Excel spreadsheet named 'Sales Report' with columns 'Product', 'Quantity', and 'Price', and fill it with the data: T-shirt, 10, $50; Pants, 5, $120.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool connects to Excel (via OneDrive) or Google Sheets. It uses specific commands to create files, write or update data in cells, and apply formatting like bold text or colors.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add ComposioHQ/awesome-claude-skills --skill Excel AutomationOr download just the file:
curl -L https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/composio-skills/excel-automation/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Excel Automation
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
Setup
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.
Core Workflows
1. Create a New Excel Workbook
Use EXCEL_CREATE_WORKBOOK to generate a new .xlsx file and upload it to OneDrive.
Tool: EXCEL_CREATE_WORKBOOK
Steps:
- Call
EXCEL_CREATE_WORKBOOKwith worksheet names and data - The tool creates a
.xlsxfile and uploads it to OneDrive - Use the returned file path/URL for subsequent operations
2. Write Data to a Spreadsheet
Use 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"
3. Upsert Rows by Key Column
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). Ifheadersis 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;falsetruncates silently
Example:
Tool: GOOGLESHEETS_UPSERT_ROWS
Arguments:
spreadsheetId: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
sheetName: "Contacts"
keyColumn: "Email"
headers: ["Email","Phone","Status"]
rows: [["john@example.com","555-0101","Active"],["jane@example.com","555-0102","Pending"]]
4. Format Cells
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
5. Add New Worksheet Tabs
Use GOOGLESHEETS_ADD_SHEET to create new tabs within an existing spreadsheet.
Tool: GOOGLESHEETS_ADD_SHEET
Key Parameters:
spreadsheetId(required) -- The spreadsheet IDtitle-- Name for the new tab, e.g.,"Q4 Report"forceUnique--true(default) auto-appends suffix if name exists
Example:
Tool: GOOGLESHEETS_ADD_SHEET
Arguments:
spreadsheetId: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
title: "Q4 Report"
forceUnique: true
6. Read Data and Verify Content
Use GOOGLESHEETS_BATCH_GET to retrieve data from specified cell ranges for validation or further processing.
Tool: GOOGLESHEETS_BATCH_GET
Steps:
…
FAQ
What happens if I can't create a spreadsheet in Google Sheets?
If there's an issue creating in Google Sheets, the tool can create an Excel file (.xlsx) in your OneDrive.
How does the tool know where to put the data?
You can specify the spreadsheet (sheet), the cell range (like 'A1' or 'B2:C5'), and whether to add data or update existing information based on a key column.
Can I change the background color of a cell?
Yes, you can set background colors for cells by specifying red, green, and blue values (from 0.0 to 1.0).
Details
Original description by the author
Excel Automation: create workbooks, manage worksheets, read/write cell data, and format spreadsheets via Microsoft Excel and Google Sheets integration
Popularity
- GitHub stars
- 77k
- Ranking position
- #1137
- License
- —
- Updated
- 9/18/2026
Comments
- …
More skills from this repository
artifacts-builder
Helps your agent build complex user interfaces. It uses modern technologies to create rich, interactive web pages.
ComposioHQ/awesome-claude-skills
brand-guidelines
Helps your agent apply official brand colors and fonts to materials. It's useful for maintaining visual identity in any piece that needs to look like the company's.
ComposioHQ/awesome-claude-skills
canvas-design
Lets your agent create original visual art in .png and .pdf. Use it when the user asks to create a poster, art, or other static design.
ComposioHQ/awesome-claude-skills
changelog-generator
Helps your agent create user-facing release notes from code commits. It transforms technical information into easy-to-understand text.
ComposioHQ/awesome-claude-skills
Similar skills
google-workspace-ops
Operates with Google Workspace documents (Drive, Docs, Sheets, Slides) as a unified workflow. It makes it easy to find, summarize, and edit your files without leaving the tool.
affaan-m/ECC
clients-accounts
Helps your agent record and track client and account information. This includes contact details, billing, and payments for easier management.
sickn33/agentic-awesome-skills
office-productivity
Helps your agent automate office tasks. It can create documents, spreadsheets, and presentations, working with Microsoft Office formats.
sickn33/agentic-awesome-skills