/recipe-watch-drive-changes
Subscribe to change notifications on a Google Drive file or folder.
$ npx -y skills add googleworkspace/cli --skill recipe-watch-drive-changes --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/recipe-watch-drive-changes
Context preview
The summary Claude sees to decide when to auto-load this skill.
Subscribe to change notifications on a Google Drive file or folder.
SKILL.md
recipe-watch-drive-changes.SKILL.mdname: 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-eventsWatch 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`
Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
Repo: googleworkspace/cli
Other skills on cli.
- /gws-admin-reports
Google Workspace Admin SDK: Audit logs and usage reports.
Open skill - /gws-calendar-agenda
Google Calendar: Show upcoming events across all calendars.
Open skill - /gws-calendar-insert
Google Calendar: Create a new event.
Open skill - /gws-calendar
Google Calendar: Manage calendars and events.
Open skill - /gws-chat-send
Google Chat: Send a message to a space.
Open skill - /gws-chat
Google Chat: Manage Chat spaces and messages.
Open skill

