How-to · Productivity · By ClawHub Community

How to use Google Sheets in your AI agent

Install and use the Google Sheets skill in Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and Windsurf — with sample prompts.

What you'll get

This skill lets your AI assistant work with your Google Sheets spreadsheets. It can read data, write new rows, update cells, format headers, create new sheets, and organize your data — all through simple English requests. Perfect for anyone who uses spreadsheets but doesn't want to manually copy-paste or write formulas.

Step 1 — Get the skill source URL

The Google Sheets skill lives at:

Step 2 — Add it to your AI agent

Copy one of these prompts and paste it into your AI tool. The agent will fetch and install the skill for you.

Claude Code

Add the agent skill from https://clawhub.ai/byungkyu/google-sheets to my project.

Cursor

Install this agent skill: https://clawhub.ai/byungkyu/google-sheets

Codex

Add this skill to .codex/skills/: https://clawhub.ai/byungkyu/google-sheets

Gemini CLI

Add the skill at https://clawhub.ai/byungkyu/google-sheets to my .gemini/skills/ directory.

OpenCode

Install this agent skill from https://clawhub.ai/byungkyu/google-sheets

Windsurf

Add this skill: https://clawhub.ai/byungkyu/google-sheets

Step 3 — Try these prompts

Once the skill is installed, ask your AI things like:

  • Pull data from a spreadsheet into a report or analysis
  • Log new entries (like leads, expenses, or tasks) without opening Sheets
  • Formatting a spreadsheet and want consistent styling across headers or sections
  • Organize or sort data without writing formulas yourself

What this skill does

  • Reads data from any Google Sheet you have access to
  • Writes new rows, updates cells, or clears ranges
  • Applies formatting like bold headers, background colors, and auto-resized columns
  • Creates new spreadsheets and adds new sheets to existing ones
  • Sorts data, adds filters, and performs batch updates across multiple ranges
Made byClawHub Community
CategoryProductivity