All skills
googleworkspace avatar

/gws-events

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

Subscribe to Google Workspace events.

Use this Skill: https://skilld.dev/gh/googleworkspace/cli/gws-events

This session only. Nothing lands on disk.

SKILL.md

≈12 tokens always: the name and description. ≈824 when used: this file.

events (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws events <resource> <method> [flags]

Helper Commands

Command Description
+subscribe Subscribe to Workspace events and stream them as NDJSON
+renew Renew/reactivate Workspace Events subscriptions

API Resources

message

  • stream — SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.

operations

  • get — Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

subscriptions

tasks

  • cancel — Cancel a task from the agent. If supported one should expect no more task updates for the task.
  • get — Get the current state of a task from the agent.
  • subscribe — TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.
  • pushNotificationConfigs — Operations on the 'pushNotificationConfigs' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws events --help

# Inspect a method's required params, types, and defaults
gws schema events.<resource>.<method>

Use gws schema output to build your --params and --json flags.

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides a command-line interface for managing Google Workspace events using the vendor's 'gws' CLI tool. It allows the agent to subscribe to, list, and modify workspace notifications.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    1 file scanned · No issues

  • 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": "productivity",
    "requires": {
      "bins": [
        "gws"
      ]
    },
    "cliHelp": "gws events --help"
  }
}
  • CLI
  • google-workspace
  • events
  • subscriptions
  • gws
  • streaming
  • webhooks
  • task-management

README badge

README badge for googleworkspace/cli/gws-events

Manages Google Workspace event subscriptions and streams via CLI, exposing the Workspace Events API for creating, listing, updating, and deleting subscriptions. Includes helper commands to subscribe to events as NDJSON and renew suspended subscriptions.

Generated from the current SKILL.md.

What does this skill do?
This skill provides CLI access to the Google Workspace Events API, allowing you to create, manage, and subscribe to Workspace event subscriptions via the `gws` command.
What are the helper commands?
The skill includes `+subscribe` to stream Workspace events as NDJSON and `+renew` to reactivate suspended subscriptions.
Do I need to set up authentication first?
Yes. You must read `../gws-shared/SKILL.md` for auth setup and security rules before using this skill.
Can I list or delete existing subscriptions?
Yes. The skill supports `list`, `get`, `delete`, `patch`, and `reactivate` operations on the subscriptions resource.

Generated from the current SKILL.md. These answers refresh after source changes.