Agent Skills
› googleworkspace/cli
› recipe-bulk-download-folder
recipe-bulk-download-folder
GitHub批量列出并下载Google Drive文件夹中的文件,支持普通文件获取及Google文档导出为PDF格式。
触发场景
需要批量下载指定Google Drive文件夹内容
需要将Google Docs导出为PDF
安装
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
版本历史
- a3768d0 当前 2026-08-20 07:26


