Agent Skills
› googleworkspace/cli
› recipe-backup-sheet-as-csv
recipe-backup-sheet-as-csv
GitHub将 Google Sheets 电子表格导出为 CSV 格式,用于本地备份或数据处理。支持通过 Drive 导出文件或直接读取单元格值并格式化为 CSV。
Trigger Scenarios
需要将 Google Sheet 数据导出为 CSV 文件
需要备份 Google Sheets 内容
需要从 Sheet 中读取数据并转换为 CSV 格式
Install
npx skills add googleworkspace/cli --skill recipe-backup-sheet-as-csv -g -y
SKILL.md
Frontmatter
{
"name": "recipe-backup-sheet-as-csv",
"metadata": {
"version": "0.22.5",
"openclaw": {
"domain": "productivity",
"category": "recipe",
"requires": {
"bins": [
"gws"
],
"skills": [
"gws-sheets",
"gws-drive"
]
}
}
},
"description": "Export a Google Sheets spreadsheet as a CSV file for local backup or processing."
}
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
- Get spreadsheet details:
gws sheets spreadsheets get --params '{"spreadsheetId": "SHEET_ID"}' - Export as CSV:
gws drive files export --params '{"fileId": "SHEET_ID", "mimeType": "text/csv"}' - Or read values directly:
gws sheets +read --spreadsheet SHEET_ID --range 'Sheet1' --format csv
Version History
- a3768d0 Current 2026-08-20 07:26


