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

850 B

GWS Drive Examples & Reference

Load when working with Google Drive.

List Files

gws drive files list --params '{"pageSize": 10}'

Search by Name

gws drive files list --params '{"q": "name contains \"keyword\""}'

Search by MIME Type

# 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

gws drive files list --params '{"q": "\"FOLDER_ID\" in parents"}'

Pagination

# 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