Generated banner for Recipe Watch Drive Changes
Generated logo for Recipe Watch Drive Changes

Recipe Watch Drive Changes

Google WorkspaceOfficialPublished by Google Workspace

  • Skill
  • Tool integration
  • Automation and integrations
  • Apache-2.0
  • No issues found

From the author

Subscribe to change notifications on a Google Drive file or folder.
— the description by Google Workspace

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a structured workflow for setting up and maintaining subscriptions to Google Drive change notifications. By leveraging the gws-events skill, users can configure specific resources to trigger notifications, list existing subscriptions, and perform renewals to ensure continuous monitoring of file or folder updates.

What it does

  • Creates new subscriptions for Google Drive file or folder updates
  • Lists all currently active event subscriptions
  • Renews existing subscriptions to prevent expiration

When to use it

  • When you need to track updates to specific Google Drive resources
  • When you need to manage the lifecycle of drive event subscriptions
  • When integrating Google Drive file changes into an automated notification pipeline

Advantages

  • Provides a clear, repeatable process for managing drive event subscriptions
  • Enables programmatic monitoring of file and folder activity
  • Includes built-in support for subscription renewal

Usage examples

“Set up a subscription for my project folder in Google Drive.”
The agent executes the subscription creation command with the specified target resource and notification endpoint.
“List all my current Google Drive subscriptions.”
The agent displays a list of active subscriptions currently being tracked.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/googleworkspace/recipe-watch-drive-changes/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip recipe-watch-drive-changes.zip -d .agents/skills

Documentation by Google Workspace

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

Files

SKILL.md

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

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google Workspace
Publisher
Google Workspace (Official)
Source
googleworkspace/cli · skills/recipe-watch-drive-changes · commit cd3697e
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google Workspace.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download recipe-watch-drive-changes.zip