Subscribe to change notifications on a Google Drive file or folder.
Install with the open skills CLI (global, non-interactive — available in every Claude Code session):
npx skills add googleworkspace/cli --skill "recipe-watch-drive-changes" -g -a claude-code -yOr manually — copy the SKILL.md below into:
~/.claude/skills/recipe-watch-drive-changes-googleworkspace/SKILL.md---
name: recipe-watch-drive-changes
description: "Subscribe to change notifications on a Google Drive file or folder."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "engineering"
requires:
bins:
- gws
skills:
- gws-events
---
# 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`
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Use when executing implementation plans with independent tasks in the current session