# Recipe Watch Drive Changes

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

- Skill: `nota-america/recipe-watch-drive-changes` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nota-america/recipe-watch-drive-changes`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nota-america/recipe-watch-drive-changes/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: nota-america (https://skillmd.com/u/nota-america)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nota-america/recipe-watch-drive-changes

---


# 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`

