Agent Skills
› googleworkspace/cli
› recipe-bulk-download-folder
recipe-bulk-download-folder
GitHub通过调用Google Workspace技能,列出指定文件夹内的所有文件,并批量下载这些文件或将Google文档导出为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


