sheets (v4)

SkillFiles & storage

gws-sheets is a skill that lets an AI agent read and write Google Sheets spreadsheets. It gives the agent a way to fetch cell values, update ranges, and append rows in a spreadsheet you already have access to. You can ask the agent to pull data out of a sheet or put new data in without leaving the conversation.

Use sheets (v4) in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add sheets (v4) and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the sheets (v4) skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have a Google account with access to the spreadsheet you want the agent to use.

sheets (v4)Start free

What your AI can do with it

  • Read values from a range in a Google Sheets spreadsheet
  • Write values to a range in a Google Sheets spreadsheet
  • Append rows to a Google Sheets spreadsheet
  • Update existing cells in a Google Sheets spreadsheet

Getting started

  1. Have a Google account with access to the spreadsheet you want the agent to use.
  2. Create or obtain credentials that allow the skill to read and write Google Sheets on your behalf.
  3. Add the gws-sheets skill to your agent and configure it with those credentials.
  4. Give the agent the spreadsheet identifier and the range it should work with.

What this skill tells your AI

The instructions your AI receives, as published by googleworkspace/cli in skills/gws-sheets/SKILL.md and read by Ahel’s review.

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws sheets <resource> <method> [flags]

Helper Commands

CommandDescription
+appendAppend a row to a spreadsheet
+readRead values from a spreadsheet

API Resources

spreadsheets

  • batchUpdate — Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order.
  • create — Creates a spreadsheet, returning the newly created spreadsheet.
  • get — Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the fields URL parameter in HTTP * Set the includeGridData URL parameter to true.
  • getByDataFilter — Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. For more information, see Read, write, and search metadata. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified.
  • developerMetadata — Operations on the 'developerMetadata' resource
  • sheets — Operations on the 'sheets' resource
  • values — Operations on the 'values' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws sheets --help

# Inspect a method's required params, types, and defaults
gws schema sheets.<resource>.<method>

Use gws schema output to build your --params and --json flags.

Signals

GitHub stars
31k
Forks
2k
Last commit
Sep 2026
Installs
56k installs

Questions

What kind of thing is gws-sheets?
It is a skill for an AI agent. It lets the agent read and write Google Sheets spreadsheets.
Does gws-sheets support reading and writing spreadsheets?
Yes. The skill can read values from a range and write values to a range in a Google Sheets spreadsheet.
Can gws-sheets append rows to a spreadsheet?
Yes. The skill can append rows to a Google Sheets spreadsheet.
Can gws-sheets update existing cells?
Yes. The skill can update existing cells in a Google Sheets spreadsheet.
What do I need before using gws-sheets?
You need a Google account with access to the spreadsheet and credentials that allow the skill to read and write Google Sheets on your behalf.
Advanced
Item type
skill
Key
gws-sheets
Source
github.com/googleworkspace/cli