
Export Google Sheet as CSV
Export a Google Sheets spreadsheet to a local CSV file for backup or processing.
- Repository
- googleworkspace/cli
- Stars
- 32,059
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill gives an AI agent a step-by-step recipe for saving a Google Sheets spreadsheet as a plain CSV file, a simple text format that opens in Excel or any data tool. It tells the agent which Google Workspace command-line tool (gws) commands to run to read the spreadsheet's details, export it as CSV, or read its values directly in CSV format. It relies on two other skills, gws-sheets and gws-drive, for the underlying Sheets and Drive operations.
Great for
- People who want a local backup copy of a Google Sheet in CSV form
- Analysts who need to pull spreadsheet data into scripts or other tools
- Developers already using the gws command-line tool with Google Workspace
Skip it if
- Users without access to the gws tool and a Google account authorised for Sheets and Drive, since the recipe cannot run without them
- Exporting formatting, charts or multiple sheet tabs, because CSV holds only plain values from one sheet (the file does not say how multi-tab sheets are handled)
Try asking
- “Export my budget spreadsheet with ID 1abc... as a CSV backup”
- “Save the Sales Q3 Google Sheet as a CSV file in my Downloads folder”
- “Read the values from Sheet1 of this spreadsheet in CSV format so I can process them”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
recipe-backup-sheet-as-csv.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip recipe-backup-sheet-as-csv.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip recipe-backup-sheet-as-csv.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Provide the spreadsheet ID explicitly, found in the sheet's URL between /d/ and /edit.
- Check which sheet tab you want; the read command targets Sheet1 by default in this recipe.
- Review the agent's commands before it runs them, since they access your Google account data.
What's inside
- SKILL.md
Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.