Agent Skills
› googleworkspace/cli
› recipe-backup-sheet-as-csv
recipe-backup-sheet-as-csv
GitHub提供将Google Sheets电子表格导出为CSV文件的技能,支持通过Drive API导出或读取数据并格式化,适用于本地备份及数据处理场景。
Trigger Scenarios
需要将Google Sheet数据导出为CSV文件进行备份
需要以CSV格式读取Sheet中的数据用于本地处理
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


