Recipe watch drive changes
Subscribe to change notifications on a Google Drive file or folder.From its SKILL.md
npx -y skills add googleworkspace/cli --skill recipe-watch-drive-changesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.9 KB, 147 tokens by cl100k_base, as published. Nobody here has run it
Watch for Drive Changes
PREREQUISITE: Load the following skills to execute this recipe:
gws-events
Subscribe to change notifications on a Google Drive file or folder.
Steps
- Create subscription:
gws events subscriptions create --json '{"targetResource": "//drive.googleapis.com/drives/DRIVE_ID", "eventTypes": ["google.workspace.drive.file.v1.updated"], "notificationEndpoint": {"pubsubTopic": "projects/PROJECT/topics/TOPIC"}, "payloadOptions": {"includeResource": true}}' - List active subscriptions:
gws events subscriptions list - Renew before expiry:
gws events +renew --subscription SUBSCRIPTION_ID
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.