Google Sheets logo

Google Sheets

OrganizationPopular
cursor
google-sheets

Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.

Overview

Publishercursor
Repositoryplugins
Skill namegoogle-sheets
Stars
9.2K
Forks
863
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cursor on GitHub. Read the source before you install it.

Installation

Install the Google Sheets AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cursor/plugins/tree/main/third_party/google-sheets/skills/google-sheets
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cursor/plugins.git /tmp/plugins
mkdir -p .claude/skills
cp -r /tmp/plugins/third_party/google-sheets/skills/google-sheets .claude/skills/google-sheets
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Google Sheets in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Google Sheets on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Google Sheets is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Google Sheets authoring

Two coordinate systems, on purpose

  • VALUE tools (read_range, write_range, append_rows, clear_range) address a TAB TITLE plus A1 cells: {sheet: "Data", cells: "A1:B4"}.
  • STRUCTURE/FORMAT tools (format_cells, set_borders, merge_cells, add_chart, add_conditional_formatting, insert_rows_or_columns, delete_rows_or_columns, freeze_rows_or_columns, sort_range, set_data_validation, set_basic_filter, add_banding, set_column_width, rename_sheet_tab, delete_sheet_tab) address the numeric sheetId.

get_spreadsheet returns both (each tab's title AND sheetId) with no cell data - call it first and keep the mapping. A new tab's sheetId is in add_sheet_tab's reply (replies[0].addSheet.properties.sheetId).

Sequencing a styled sheet: values first, then format, chart last

  1. create_spreadsheet (optionally with named tabs; it cannot target a folder - move it after with google-drive google_drive_move_or_rename).
  2. write_range the data with parseInput: true when values include numbers, dates, or formulas (default false stores everything as literal text - a top source of "chart is empty" bugs).
  3. Format like a real dashboard, not a bare grid:
    • format_cells bold header with a fill color and white text; number patterns on value columns ($#,##0, 0.0%).
    • freeze_rows_or_columns the header row.
    • set_basic_filter over the table range - filter dropdowns are what make it read as a data table.
    • set_borders (outer heavier than inner) or add_banding for alternating row colors; set_column_width so nothing clips.
    • add_conditional_formatting for thresholds worth seeing at a glance.
  4. add_chart LAST, after the data exists.

Charts

  • In add_chart, the FIRST range is the domain (x axis / pie labels) and later ranges are the series, one column each; anchoring a chart to the wrong or reversed ranges is the most common chart bug. All ranges live on the same tab as the chart. headerCount: 1 uses the first cells as series labels - include the header row in each range when you set it.
  • Place the chart over empty cells beside or below the table, not on top of the data it plots.
  • A wrong chart is fixed in place, not worked around: get_spreadsheet lists every tab's charts (chartId, title), update_chart replaces a chart's spec keeping its position, delete_chart removes one. Never add a second chart to paper over a bad first one.

Named and protected ranges

  • add_named_range makes formulas self-documenting (=SUM(Budget) instead of =SUM(B2:B13)); write the formula with parseInput: true. Names cannot look like cell references.
  • protect_range guards headers and formula cells (warningOnly: true by default warns editors; false locks them). Protect AFTER the last write to that range, or your own writes fight the protection.
  • get_spreadsheet lists both, with the ids delete_named_range and unprotect_range need.

Pitfalls

  • No revision guard anywhere: last write wins. Read before writing when a collaborator may be editing.
  • merge_cells keeps only the top-left value; write the text after merging.
  • sort_range rewrites cell positions; sort before adding formulas that reference the range, and exclude the header row from the sorted range.
  • insert_rows_or_columns / delete_rows_or_columns positions are 1-based (A=1); deletes are immediate and not undoable through the API.
  • find_replace_sheet is literal (never regex here) and can search inside formulas with searchFormulas: true.
  • Whole-tab reads can blow the byte cap; bound cells (e.g. "1:2000") on tabs you have not sized and follow nextCells when truncated.

Verify your work

read_range for values (FORMATTED_VALUE shows what the user sees; UNFORMATTED_VALUE the raw numbers - use it to confirm numbers are numbers, not text). get_spreadsheet for structure: tabs, charts, named ranges, protections. google-drive google_drive_export_file (pdf renders every tab including charts and formatting) when the visual result matters.

Frequently asked questions

What does the Google Sheets AI skill do?

Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.

Why use Google Sheets on TypingMind?

Because you install it once and use it with any model. Google Sheets is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Google Sheets in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cursor/plugins/tree/main/third_party/google-sheets/skills/google-sheets. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Google Sheets?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Google Sheets?

As many as you like. As long as a model supports skills, you can use Google Sheets with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Google Sheets AI skill free?

It is published on GitHub by cursor. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇