MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Googlesheets Automation

Googlesheets Automation is an data AI skill with a core value of Automate Google Sheets operations (read, write, format, filter, manage spreadsheets) via Rube MCP (Composio). It helps developers solve real-world problems in the data domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Automate Google Sheets operations (read, write, format, filter, manage spreadsheets) via Rube MCP (Composio). Read/write data, manage tabs, apply formatting, and search rows programmatically.

Last verified on: 2026-07-08

Quick Facts

Category data
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-08
Risk Level Low
mkdir -p ./skills/googlesheets-automation && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/googlesheets-automation/SKILL.md -o ./skills/googlesheets-automation/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Google Sheets Automation via Rube MCP


Automate Google Sheets workflows including reading/writing data, managing spreadsheets and tabs, formatting cells, filtering rows, and upserting records through Composio's Google Sheets toolkit.


Prerequisites


- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)

- Active Google Sheets connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `googlesheets`

- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas


Setup


**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.



1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds

2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `googlesheets`

3. If connection is not ACTIVE, follow the returned auth link to complete Google OAuth

4. Confirm connection status shows ACTIVE before running any workflows


Core Workflows


1. Read and Write Data


**When to use**: User wants to read data from or write data to a Google Sheet


**Tool sequence**:

1. `GOOGLESHEETS_SEARCH_SPREADSHEETS` - Find spreadsheet by name if ID unknown [Prerequisite]

2. `GOOGLESHEETS_GET_SHEET_NAMES` - Enumerate tab names to target the right sheet [Prerequisite]

3. `GOOGLESHEETS_BATCH_GET` - Read data from one or more ranges [Required]

4. `GOOGLESHEETS_BATCH_UPDATE` - Write data to a range or append rows [Required]

5. `GOOGLESHEETS_VALUES_UPDATE` - Update a single specific range [Alternative]

6. `GOOGLESHEETS_SPREADSHEETS_VALUES_APPEND` - Append rows to end of table [Alternative]


**Key parameters**:

- `spreadsheet_id`: Alphanumeric ID from the spreadsheet URL (between '/d/' and '/edit')

- `ranges`: A1 notation array (e.g., 'Sheet1!A1:Z1000'); always use bounded ranges

- `sheet_name`: Tab name (case-insensitive matching supported)

- `values`: 2D array where each inner array is a row

- `first_cell_location`: Starting cell in A1 notation (omit to append)

- `valueInputOption`: 'USER_ENTERED' (parsed) or 'RAW' (literal)


**Pitfalls**:

- Mis-cased or non-existent tab names error "Sheet 'X' not found"

- Empty ranges may omit `valueRanges[i].values`; treat missing as empty array

- `GOOGLESHEETS_BATCH_UPDATE` values must be a 2D array (list of lists), even for a single row

- Unbounded ranges like 'A:Z' on sheets with >10,000 rows may cause timeouts; always bound with row limits

- Append follows the detected `tableRange`; use returned `updatedRange` to verify placement


2. Create and Manage Spreadsheets


**When to use**: User wants to create a new spreadsheet or manage tabs within one


**Tool sequence**:

1. `GOOGLESHEETS_CREATE_GOOGLE_SHEET1` - Create a new spreadsheet [Required]

2. `GOOGLESHEETS_ADD_SHEET` - Add a new tab/worksheet [Required]

3. `GOOGLESHEETS_UPDATE_SHEET_PROPERTIES` - Rename, hide, reorder, or color tabs [Optional]

4. `GOOGLESHEETS_GET_SPREADSHEET_INFO` - Get full spreadsheet metadata [Optional]

5. `GOOGLESHEETS_FIND_WORKSHEET_BY_TITLE` - Check if a specific tab exists [Optional]


**Key parameters**:

- `title`: Spreadsheet or sheet tab name

- `spreadsheetId`: Target spreadsheet ID

- `forceUnique`: Auto-append suffix if tab name exists (default true)

- `properties.gridProperties`: Set row/column counts, frozen rows


**Pitfalls**:

- Sheet names must be unique within a spreadsheet

- Default sheet names are locale-dependent ('Sheet1' in English, 'Hoja 1' in Spanish)

- Don't use `index` when creating multiple sheets in parallel (causes 'index too high' errors)

- `GOOGLESHEETS_GET_SPREADSHEET_INFO` can return 403 if account lacks access


3. Search and Filter Rows


**When to use**: User wants to find specific rows or apply filters to sheet data


**Tool sequence**:

1. `GOOGLESHEETS_LOOKUP_SPREADSHEET_ROW` - Find first row matching exact cell value [Required]

2. `GOOGLESHEETS_SET_BASIC_FILTER` - Apply filter/sort to a range [Alternative]

3. `GOOGLESHEETS_CLEAR_BASIC_FILTER` - Remove existing filter [Optional]

4. `GOOGLESHEETS_BATCH_

🎯 Best For

  • Claude users
  • Data professionals
  • Analytics teams
  • Researchers

💡 Use Cases

  • Data pipeline auditing
  • Query optimization

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Googlesheets Automation to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

How do I install Googlesheets Automation?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/googlesheets-automation/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Ignoring data quality

AI analysis inherits all data quality issues — profile your data first.

🔗 Related Skills