Agent Skills
› googleworkspace/cli
› recipe-backup-sheet-as-csv
recipe-backup-sheet-as-csv
GitHub将 Google Sheets 电子表格导出为 CSV 文件,用于本地备份或数据处理。提供通过 Drive 导出 API 或直接读取单元格数据两种方法。
触发场景
需要将 Google Sheet 数据导出为 CSV 格式
需要备份 Google Sheets 内容到本地
安装
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
版本历史
- a3768d0 当前 2026-08-20 07:26


