Methodologygeneric

gws-sheets-read

Google Sheets: Read values from a spreadsheet.

googleworkspace/cli
View source

Install

npx skills add https://github.com/googleworkspace/cli --skill gws-sheets-read

Use with your agent

ClaudeCursorOpenAIGemini

Install the gws-sheets-read skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill gws-sheets-read. Then read the installed skill.md and follow its guidance to build or refactor my project.

sheets +read

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

Read values from a spreadsheet

Usage

gws sheets +read --spreadsheet <ID> --range <RANGE>

Flags

FlagRequiredDefaultDescription
--spreadsheetSpreadsheet ID
--rangeRange to read (e.g. 'Sheet1!A1:B2')

Examples

gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
gws sheets +read --spreadsheet ID --range Sheet1

Tips

  • Read-only — never modifies the spreadsheet.
  • For advanced options, use the raw values.get API.

See Also