google-sheets
What it does
The skill creates and formats Google Sheets, including charts and rules for data entry. It is for people who build spreadsheets, trackers, and simple dashboards.
When to use it
- ✓When you ask the agent to create a spreadsheet or dashboard in Google Sheets.
- ✓When you need a chart added or fixed in a Google Sheet.
- ✓When you want to format cells, add validation, or reorganize tabs and rows.
Skill link
https://github.com/cursor/plugins/blob/main/third_party/google-sheets/skills/google-sheets/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Make a Google Sheet tracker for our monthly expenses with a bar chart of totals by category.”
5 new skills a week. 1 minute to read.
How it works
The agent writes the values first, then applies formatting, and adds charts last. It uses the tab names and sheet IDs to target each change.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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 numericsheetId.
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
create_spreadsheet(optionally with named tabs; it cannot target a folder - move it after with google-drivegoogle_drive_move_or_rename).write_rangethe data withparseInput: truewhen values include numbers, dates, or formulas (default false stores everything as literal text - a top source of "chart is empty" bugs).- Format like a real dashboard, not a bare grid:
format_cellsbold header with a fill color and white text; number patterns on value columns ($#,##0,0.0%).freeze_rows_or_columnsthe header row.set_basic_filterover the table range - filter dropdowns are what make it read as a data table.set_borders(outer heavier than inner) oradd_bandingfor alternating row colors;set_column_widthso nothing clips.add_conditional_formattingfor thresholds worth seeing at a glance.
add_chartLAST, 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: 1uses 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_spreadsheetlists every tab's charts (chartId, title),update_chartreplaces a chart's spec keeping its position,delete_chartremoves one. Never add a second chart to paper over a bad first one.
Named and protected ranges
add_named_rangemakes formulas self-documenting (=SUM(Budget)instead of=SUM(B2:B13)); write the formula withparseInput: true. Names cannot look like cell references.protect_rangeguards headers and formula cells (warningOnly: trueby default warns editors;falselocks them). Protect AFTER the last write to that range, or your own writes fight the protection.get_spreadsheetlists both, with the idsdelete_named_rangeandunprotect_rangeneed.
Pitfalls
- No revision guard anywhere: last write wins. Read before writing when a collaborator may be editing.
merge_cellskeeps only the top-left value; write the text after merging.sort_rangerewrites 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_columnspositions are 1-based (A=1); deletes are immediate and not undoable through the API.find_replace_sheetis literal (never regex here) and can search inside formulas withsearchFormulas: true.- Whole-tab reads can blow the byte cap; bound
cells(e.g. "1:2000") on tabs you have not sized and follownextCellswhen 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.
FAQ
Why is my chart empty?
Often the numbers were stored as text. The skill can write values so that numbers and dates stay as real values.
Can it add conditional formatting?
Yes. The skill covers conditional formatting, data validation, and filters.
Can it protect ranges?
Yes. Named and protected ranges are part of the skill.
Details
Original description by the author
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.
repo: cursor/plugins
Popularity
- GitHub stars
- 15k
- Ranking position
- #11017
- License
- —
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
advisor
15kLets your agent consult a stronger second model at key checkpoints, such as before a big decision or when stuck on an error, if you turn it on.
check-agent-compatibility
15kRuns a full check of whether AI coding agents can start, verify and document a repository, and returns one compatibility score with the main issues.
cli-for-agents
15kTeaches your agent to design or review command-line tools so AI agents can run them without prompts, with clear help text and examples.
continual-learning
15kKeeps your AGENTS.md notes up to date by handing the work of reviewing past chats to a dedicated memory updater.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.