Skip to content

recipe-backup-sheet-as-csv

Export Google Sheets spreadsheets as CSV files for backup or local processing.

— (0 ratings) 32.9K downloads googleworkspace
$ npx skills add https://github.com/googleworkspace/cli --skill recipe-backup-sheet-as-csv

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Export Google Sheets spreadsheets as CSV files for backup or local processing.

  • Requires gws-sheets and gws-drive skills as prerequisites
  • Offers three export approaches: retrieve spreadsheet metadata, export via Drive API with MIME type specification, or read sheet values directly in CSV format
  • Supports flexible range selection and sheet targeting for granular control over exported data

Export a Google Sheet as CSV

PREREQUISITE: Load the following skills to execute this recipe: gws-sheets, gws-drive

Export a Google Sheets spreadsheet as a CSV file for local backup or processing.

Steps

  1. Get spreadsheet details: gws sheets spreadsheets get --params '{"spreadsheetId": "SHEET_ID"}'
  2. Export as CSV: gws drive files export --params '{"fileId": "SHEET_ID", "mimeType": "text/csv"}'
  3. Or read values directly: gws sheets +read --spreadsheet SHEET_ID --range 'Sheet1' --format csv

Installs: 32.9K | GitHub stars: 32.6K | First seen: Mar 4, 2026

Related skills

New

DevOps & cloud

azure-storage

Unified access to Azure blob storage, file shares, queues, tables, and data lake services.

New • 780.2K
New

DevOps & cloud

azure-resource-visualizer

Transform Azure resource groups into detailed architecture diagrams showing resource relationships and configurations.

New • 779.4K
New

Databases

azure-kusto

Execute KQL queries and analyze data in Azure Data Explorer for log analytics, telemetry, and time series insights.

New • 779.1K