Skip to content
Back to skills

Recipe Backup Sheet As Csv

ASecurity

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

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 28, 2026
ai-agentsgobashapi

Works with

  • api

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add fakoli/fakoli-plugins --skill recipe-backup-sheet-as-csv --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recipe Backup Sheet As Csv?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recipe Backup Sheet As Csv
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fakoli-recipe-backup-sheet-as-csv/badge)](https://www.skillsdirectory.com/skills/fakoli-recipe-backup-sheet-as-csv)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: recipe-backup-sheet-as-csv
description: "Export a Google Sheets spreadsheet as a CSV file for local backup or processing."
trigger:
  - keyword: export spreadsheet csv
  - keyword: backup sheet
  - keyword: sheet to csv
version: 1.0.0
---

# Export a Google Sheet as CSV

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

## When to Use

Use this workflow when the user wants to back up spreadsheet data locally, export data for use in other tools, or create a CSV snapshot of a sheet.

## Workflow

### 1. Identify the spreadsheet

Ask the user for the spreadsheet name or ID. If they provide a name, search for it:

```bash
gws drive files list \
  --params '{"q": "name contains 'SHEET_NAME' and mimeType = 'application/vnd.google-apps.spreadsheet'"}' \
  --fields "files(id,name)" --format table
```

### 2. Check the sheet structure

Review what tabs and data ranges exist:

```bash
gws sheets spreadsheets get --params '{"spreadsheetId": "SHEET_ID"}' \
  --fields "sheets.properties(sheetId,title)"
```

### 3. Export as CSV

**Option A — Export via Drive API** (downloads the first sheet as CSV):

```bash
gws drive files export --params '{"fileId": "SHEET_ID", "mimeType": "text/csv"}'
```

**Option B — Read values directly** (more control over range and format):

```bash
gws sheets +read --spreadsheet SHEET_ID --range 'Sheet1' --format csv
```

### 4. Confirm with the user

Show the user the output path and a preview of the data.

## Tips

- Use Option B (`+read`) when you need a specific tab or range
- Use `--format csv` for machine-readable output, `--format table` for a quick visual check
- For large sheets, limit the range to avoid overwhelming output

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.