gws-events

Subscribe to Google Workspace events and stream them in real time via CLI.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/wuyyyyyou/cli --skill gws-events-wuyyyyyou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-events
Source: https://github.com/wuyyyyyou/cli/tree/main/skills/gws-events
Command: npx skills add https://github.com/wuyyyyyou/cli --skill gws-events-wuyyyyyou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Accessing Google Workspace events requires manual polling or ad-hoc wiring; this Skill provides a straightforward subscription mechanism to receive real-time event streams.

Core Features & Use Cases

  • Real-time event streaming from Google Workspace services (messages, subscriptions, operations)
  • CLI-driven workflow with intuitive commands (e.g., gws events <resource> <method>)
  • On-demand discovery of event APIs and practical automation/monitoring use cases

Quick Start

Subscribe to a resource and method using the gws tool to begin streaming events.

Frequently Asked Questions about gws-events

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I subscribe to Google Workspace events for real-time streaming?

To subscribe to Google Workspace events for real-time streaming, use the CLI workflow with the command gws events <resource> <method>. You can initiate streaming by running the helper command +subscribe to monitor messages, subscriptions, and operations.

What is the best way to stream Google Workspace messages without manual polling?

The best way to stream Google Workspace messages without manual polling is using a dedicated CLI subscription mechanism. It provides a straightforward real-time event stream for resources, replacing ad-hoc wiring with continuous monitoring.

Can I use the Google Discovery Service to discover Google Workspace event APIs?

Yes, you can use the Google Discovery Service to dynamically discover Google Workspace event APIs. The CLI relies on this service for on-demand command discovery, allowing you to find and automate actions across available resources and methods.

How do I renew a Google Workspace event subscription via CLI?

To renew a Google Workspace event subscription via CLI, use the helper command +renew within the gws events workflow. This ensures your real-time stream for messages and operations continues without interruption.

Does real-time workspace event streaming work for monitoring and alerting automation?

Real-time workspace event streaming works effectively for monitoring and alerting automation. It provides continuous streams of operations and messages, enabling developers and AI agents to trigger automated workflows immediately upon event occurrence.