All skills
googleworkspace avatar

/recipe-watch-drive-changes

@705fb0e
by Google Workspacegoogleworkspace/cli31k stars
1,856

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

Use this Skill: https://skilld.dev/gh/googleworkspace/cli/recipe-watch-drive-changes

This session only. Nothing lands on disk.

SKILL.md

≈24 tokens always: the name and description. ≈158 when used: this file.

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

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is a standard administrative recipe for managing Google Drive event subscriptions using the Google Workspace CLI tool. It follows best practices by using placeholders for sensitive identifiers and interacting with official Google API endpoints.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    1/1 file flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 705fb0e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Activeupdated 6 months ago
Other metadata
metadata
{
  "version": "0.22.5",
  "openclaw": {
    "category": "recipe",
    "domain": "engineering",
    "requires": {
      "bins": [
        "gws"
      ],
      "skills": [
        "gws-events"
      ]
    }
  }
}

README badge

README badge for googleworkspace/cli/recipe-watch-drive-changes