google_sheets
Skill by asgeirtj
Reads, writes, and manages a user's Google Sheets through an AI assistant. Built for users who want their assistant to work with their own spreadsheets using a vendored Google Workspace CLI.
Install google_sheets
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/Meta/muse-agent/skills/google-sheets ~/.claude/skills/google-sheetsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/Meta/muse-agent/skills/google-sheets ~/.gemini/antigravity-cli/skills/google-sheetsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The google_sheets skill lets an AI assistant read, write, and manage a user's Google Sheets. It runs commands through the hatch_gws_cli wrapper, which uses a vendored Google Workspace CLI as its only implementation path. The assistant can check connection status, create spreadsheets, read and append values, and run batch updates through the Sheets API.
Connection is handled by the wrapper's status and disconnect subcommands. If the account is not connected, the assistant shares a Connect Google Sheets link for the user to follow. The skill also gives formatting guidance: write values with USER_ENTERED, style in one batchUpdate, and read results back before reporting success. It is aimed at users who want their assistant to manage their own spreadsheets.
Written from the project's SKILL.md and checked against it.
What it can do
- hatch_gws_cli sheetsRuns Sheets commands for spreadsheets, values and batch updates through the wrapper.
- status and disconnectChecks the Google Sheets connection status and disconnects the account.
- spreadsheets.createCreates a new spreadsheet with a given title.
- values.getReads cell values from a range written in A1 notation.
- values.appendAdds rows to the end of a range in a spreadsheet.
- spreadsheets.batchUpdateAdds sheets and applies styling and other structural changes in one call.
- schemaLooks up parameters for Sheets methods before calling unfamiliar ones.
- FormattingSets header styles, number formats, frozen header rows and column widths.
What you need
- The hatch_gws_cli wrapper available on the device
- Google Sheets available on the device
- A Google Sheets connection completed through the shared connect link
Try asking
- Create a spreadsheet titled Q3 budget with a header row
- Append these three rows to the Sales tab of my tracker sheet
- Read cells A1 to D10 from Sheet1 in my expenses spreadsheet
Good to know
- Confirm with the user before editing a shared spreadsheet.
- Do not replace a spreadsheet with an .xlsx upload through drive files update.
- spreadsheets.get returns no cell data unless a field mask is passed.
- Hand-written credential files and raw gws auth commands are not used.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Meta/muse-agent/skills/google-sheets/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
CONNECTOR.md5 KB -
connector.yaml390 B -
manifest.yaml4 KB
Alternatives to google_sheets
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
google_sheets: common questions
How does a user connect their Google Sheets account?
The assistant runs the status command and, if the account is not connected, shares a Connect Google Sheets link for the user to open.
Can the skill overwrite a whole workbook?
The source advises against it. Publishing an .xlsx over a spreadsheet with drive files update discards other tabs, so values.update or batchUpdate should be used for partial changes.
Does the assistant ask before changing shared sheets?
Yes. The skill says to confirm before editing a shared spreadsheet because its contents can be exposed to or changed for other people.
How do I install google_sheets?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google_sheets free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is google_sheets safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google_sheets?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
