google-drive-clilisted
Install: claude install-skill PedroAVJ/swe-stack
# Google Drive (CLI)
Use this plugin when the user wants Google Drive access through `gws`, especially when the curated Drive connector cannot download, upload, export, or update the exact artifact needed.
This is a product plugin backed by the installed `gws` CLI. Keep `google-drive@openai-curated` available for connector-native Docs, Sheets, Slides, comments, and visual workflows when that plugin is more ergonomic.
## Start
```bash
command -v gws
gws auth status
gws drive files list --params '{"pageSize":10,"fields":"files(id,name,mimeType,modifiedTime,webViewLink),nextPageToken"}'
```
## Search And Inspect
Search by name or folder:
```bash
gws drive files list --params '{"q":"name contains \"recording\" and trashed=false","pageSize":10,"fields":"files(id,name,mimeType,size,modifiedTime,webViewLink),nextPageToken"}'
gws drive files list --params '{"q":"\"FOLDER_ID\" in parents and trashed=false","pageSize":50,"fields":"files(id,name,mimeType,size,modifiedTime,webViewLink),nextPageToken"}'
```
Get metadata:
```bash
gws drive files get --params '{"fileId":"FILE_ID","fields":"id,name,mimeType,size,modifiedTime,parents,webViewLink,webContentLink"}'
```
Use `--page-all --page-limit N` for bounded broad reads.
## Download Files
Download normal binary files, including Meet recording MP4 files:
```bash
gws drive files get --params '{"fileId":"FILE_ID","alt":"media"}' --output ./recording.mp4
```
Verify downloaded artifacts before handing them to another tool:
```bash