
Recipe Watch Drive Changes
Wire Google Drive file or folder change notifications through Pub/Sub so your app or agent reacts to updates without polling.
Install
npx skills add https://github.com/googleworkspace/cli --skill recipe-watch-drive-changesWhat is this skill?
- Four-step recipe: create subscription, list subscriptions, renew before expiry
- Example subscription JSON for `google.workspace.drive.file.v1.updated` on a drive resource
- Requires loading gws-events skill before execution
- Uses `gws events` subcommands including subscriptions create, list, and +renew
- Openclaw recipe domain: engineering (metadata v0.22.5)
Adoption & trust: 15.7k installs on skills.sh; 26.9k GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Agent Browservercel-labs/agent-browser
Lark Imlarksuite/cli
Lark Calendarlarksuite/cli
Lark Sheetslarksuite/cli
Lark Vclarksuite/cli
Lark Contactlarksuite/cli
Journey fit
Primary fit
Build is where you connect external APIs and event pipelines; this recipe is an integration checklist, not launch or ops runbooks. Integrations matches event subscriptions, target resources, and notification endpoints across Drive and the events API.
Common Questions / FAQ
Is Recipe Watch Drive Changes safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Recipe Watch Drive Changes
# 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 1. 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}}'` 2. List active subscriptions: `gws events subscriptions list` 3. Renew before expiry: `gws events +renew --subscription SUBSCRIPTION_ID`