Agent skill

recipe-watch-drive-changes

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

Stars 24,434
Forks 1,240

Install this agent skill to your Project

npx add-skill https://github.com/googleworkspace/cli/tree/main/skills/recipe-watch-drive-changes

Metadata

Additional technical details for this skill

version
0.22.5
openclaw
{
    "domain": "engineering",
    "category": "recipe",
    "requires": {
        "bins": [
            "gws"
        ],
        "skills": [
            "gws-events"
        ]
    }
}

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results