recipe-watch-drive-changes

googleworkspace/cli · updated Apr 8, 2026

$npx skills add https://github.com/googleworkspace/cli --skill recipe-watch-drive-changes
0 commentsdiscussion
summary

Subscribe to Google Drive file and folder changes via Pub/Sub notifications.

  • Requires the gws-events skill and gws binary to execute
  • Creates event subscriptions on Drive resources with configurable notification endpoints and payload options
  • Supports subscription lifecycle management: create, list, and renew subscriptions before expiry
  • Delivers change events (file updates) to Google Cloud Pub/Sub topics for downstream processing
skill.md

1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h1>Watch for Drive Changes</h1>\n<blockquote>\n<p><strong>PREREQUISITE:</strong> Load the following skills to execute this recipe: <code>gws-events</code></p>\n</blockquote>\n<p>Subscribe to change notifications on a Google Drive file or folder.</p>\n<h2>Steps</h2>\n<ol>\n<li>Create subscription: <code>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}}'</code></li>\n<li>List active subscriptions: <code>gws events subscriptions list</code></li>\n<li>Renew before expiry: <code>gws events +renew --subscription SUBSCRIPTION_ID</code></li>\n</ol>"}}]

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.739 reviews
  • Anaya Wang· Dec 24, 2024

    Useful defaults in recipe-watch-drive-changes — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Chinedu Liu· Dec 12, 2024

    recipe-watch-drive-changes has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Kiara Chen· Dec 12, 2024

    Keeps context tight: recipe-watch-drive-changes is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Anika White· Dec 8, 2024

    Registry listing for recipe-watch-drive-changes matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Alexander Agarwal· Nov 27, 2024

    recipe-watch-drive-changes reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Alexander Johnson· Nov 15, 2024

    We added recipe-watch-drive-changes from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Min Choi· Nov 3, 2024

    recipe-watch-drive-changes is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Advait Okafor· Oct 22, 2024

    Solid pick for teams standardizing on skills: recipe-watch-drive-changes is focused, and the summary matches what you get after install.

  • Zara Gill· Oct 18, 2024

    We added recipe-watch-drive-changes from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Anika Jackson· Oct 6, 2024

    recipe-watch-drive-changes reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 39

1 / 4