Agent Skills
› googleworkspace/cli
› recipe-bulk-download-folder
recipe-bulk-download-folder
GitHub批量列出并下载 Google Drive 文件夹中的所有文件,支持普通文件下载及 Google Docs 导出为 PDF。
Trigger Scenarios
需要从 Google Drive 文件夹批量获取文件
需要将 Google Docs 文档导出为 PDF 格式
Install
npx skills add googleworkspace/cli --skill recipe-bulk-download-folder -g -y
SKILL.md
Frontmatter
{
"name": "recipe-bulk-download-folder",
"metadata": {
"version": "0.22.5",
"openclaw": {
"domain": "productivity",
"category": "recipe",
"requires": {
"bins": [
"gws"
],
"skills": [
"gws-drive"
]
}
}
},
"description": "List and download all files from a Google Drive folder."
}
Bulk Download Drive Folder
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive
List and download all files from a Google Drive folder.
Steps
- List files in folder:
gws drive files list --params '{"q": "'\''FOLDER_ID'\'' in parents"}' --format json - Download each file:
gws drive files get --params '{"fileId": "FILE_ID", "alt": "media"}' -o filename.ext - Export Google Docs as PDF:
gws drive files export --params '{"fileId": "FILE_ID", "mimeType": "application/pdf"}' -o document.pdf
Version History
- a3768d0 Current 2026-08-20 07:26


