360 Secure SkillHub
360 安全技能中心

Recipe Backup Sheet As Csv

该 Skill 提供导出 Google Sheet 为 CSV 的操作步骤:先获取表格详情,再通过 gws drive files export 导出 CSV,或使用 gws sheets +read 直接读取指定范围并以 CSV 输出。使用前需加载 gws-sheets 和 gws-drive。

googleworkspace-bot
googleworkspace-bot
热度 75.60
最近更新 2026-05-11 17:29:17
分类:效率依赖:代码执行 / 第三方 API应用场景:文件转换 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-backup-sheet-as-csv
Metadata
name
recipe-backup-sheet-as-csv
description
Export a Google Sheets spreadsheet as a CSV file for local backup or processing.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-sheets","gws-drive"]}}}

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