claude-configs/skills/gws/examples-drive.md
Cal Corum 4b832ffed5 Add gws skill; update blocklist and known_marketplaces plugins
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 02:00:53 -05:00

42 lines
850 B
Markdown

# GWS Drive Examples & Reference
Load when working with Google Drive.
## List Files
```bash
gws drive files list --params '{"pageSize": 10}'
```
## Search by Name
```bash
gws drive files list --params '{"q": "name contains \"keyword\""}'
```
## Search by MIME Type
```bash
# Find all spreadsheets
gws drive files list --params '{"q": "mimeType=\"application/vnd.google-apps.spreadsheet\""}'
# Find all folders
gws drive files list --params '{"q": "mimeType=\"application/vnd.google-apps.folder\""}'
```
## List Files in a Specific Folder
```bash
gws drive files list --params '{"q": "\"FOLDER_ID\" in parents"}'
```
## Pagination
```bash
# Auto-paginate (NDJSON, one line per page)
gws drive files list --params '{"pageSize": 100}' --page-all
# Limit pages
gws drive files list --params '{"pageSize": 100}' --page-all --page-limit 3
```