Skip to content
Skillpedia
Writing32k · #6344

recipe-watch-drive-changes

Lets your agent watch for changes in Google Drive files or folders. It's useful for knowing when something important is altered.

What it does

This assistant notifies you when a file or folder in your Google Drive is changed. You can choose what to monitor and where to receive notifications.

When to use it

  • ✓Be notified when an important document is modified.
  • ✓Track changes in a shared folder.
  • ✓Know when a specific file is updated.

Example of what to ask your AI

“Notify me when the file 'Monthly Report' in my 'Projects' folder is updated.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/googleworkspace/cli/blob/main/skills/recipe-watch-drive-changes/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/recipe-watch-drive-changes/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It works by setting up a 'watch' on Google Drive. When something changes in the item you selected, Google Drive sends a message to a system that alerts you.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add googleworkspace/cli --skill recipe-watch-drive-changes

Or download just the file:

curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-watch-drive-changes/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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
FAQ

Do I need to install anything extra?

Yes, you need to have the 'gws-events' skill loaded for this assistant to work.

How do I see which notifications are active?

You can ask to list active notifications using the 'List active subscriptions' command.

Do notifications expire?

Yes, notifications have an expiration date. You can renew them before they expire using the 'Renew' command.

Details

Original description by the author

Subscribe to change notifications on a Google Drive file or folder.

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#6344
License
Apache-2.0
Updated
10/6/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills