Use when the task touches Google Sheets through grr (17 methods under `grr sheets` — values, developerMetadata, batchUpdate, create, get, …). Carries the service's generated command map, the naming rule applied to sheets, example commands verified with --dry-run, and the least-privilege scope callout.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Sheets?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/debanjanbasu-sheets)
---
name: grr-sheets
description: "Use when the task touches Google Sheets through grr (17 methods under `grr sheets` — values, developerMetadata, batchUpdate, create, get, …). Carries the service's generated command map, the naming rule applied to sheets, example commands verified with --dry-run, and the least-privilege scope callout."
---
<!-- GENERATED by scripts/generate-skills.ts from the committed Discovery index — index generated at 2026-11-27T13:50:27.758Z. Do not edit by hand; regenerate with `npm run skills`. -->
# grr sheets — Google Sheets API
**17 methods**, v4, Discovery revision 20261126, all reached as `grr sheets <resource…> <method>` and generated from the same committed index as the CLI tree — this file, `grr api`, and `grr sheets --help` never disagree. Load the core skill first: [grr](../grr/SKILL.md) owns the discovery discipline, the output contract, the safety flags, multi-account, `mcp`, and `ask`.
## Coverage
| Resource path (the id prefix — each command walks these words) | Methods |
| --- | --- |
| `spreadsheets.values` | 10 |
| `spreadsheets` | 4 |
| `spreadsheets.developerMetadata` | 2 |
| `spreadsheets.sheets` | 1 |
## Naming, applied to sheets
- Id dots become spaces: `sheets.spreadsheets.values.get` → `grr sheets spreadsheets values get`. Resource segments and method names keep their exact Discovery casing (`otherContacts`, `getProfile`).
- Flags are the same ids, camelCase → kebab-case: `userId` → `--user-id`, `maxResults` → `--max-results`. Integers parse as numbers, booleans are presence flags, repeated parameters repeat, enum parameters validate.
- No parameter in this service collides with the reserved flag names (`params`, `body-file`, `query`, `dry-run`, `format`).
- Request bodies are untyped by design: `--params '<json>'` or `--body-file PATH|-`. Typed flags win on conflict.
## Examples
```sh
grr sheets spreadsheets values get --spreadsheet-id <spreadsheet-id> --range <range>
grr sheets spreadsheets get --spreadsheet-id <spreadsheet-id>
grr sheets spreadsheets values append --spreadsheet-id <spreadsheet-id> --range <range> --dry-run
```
Values in `<angle brackets>` are placeholders — substitute real ids (`me` is the authenticated user wherever the parameter is `--user-id`). Append `--dry-run` to any example to print the resolved request — verb, URL, scopes — instead of sending it.
## Scopes
- Least privilege for reads: `https://www.googleapis.com/auth/spreadsheets.readonly` — the narrowest scope the service's methods accept (it is the least-privilege scope for 3 of 17 methods). Per method, ask the index: `grr api describe <id>` → `leastPrivilegeScope`.
- Scope honesty: a login grants only the scopes it asked for — `grr auth login` requests a small default set, `--service <name>` adds one service's scopes from the embedded index, `--all-scopes` the whole union — minus the Chat app-authentication scopes Google grants only to a service account (`chat.bot`, `chat.app.*`, `chat.import`), which a user consent screen cannot show. A `403` is therefore not a missing consent: it is either a scope outside the current grant (the remedy is a human re-running `grr auth login --service <name>`) or an API that is not enabled on the Cloud project. Surface that distinction; never retry a 403 in a loop.
## Contract
- stdout is data, stderr is logs; JSON by default, `-f jsonl|table|pretty` to switch.
- `--dry-run` before anything destructive — the resolved request as JSON, nothing sent.
- Non-zero exit on failure; errors are actionable (a 403 names the missing scope, a typo gets ranked suggestions).
## Go deeper
- Core skill: [skills/grr/SKILL.md](../grr/SKILL.md) — discipline, contract, safety, accounts.
- `grr api describe sheets.spreadsheets.values.get` — the authority on one method's parameters and scopes.
- `grr api list --service sheets` and `grr sheets --help` — browse the whole branch, offline, before any login.
- Site reference: [grr-cli.pages.dev/docs/api-reference/sheets/](https://grr-cli.pages.dev/docs/api-reference/sheets/)