Agent skill · software engineering · googleworkspace
gws-events-subscribe
Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.
Why this skill is useful
Provides specific commands and flags for subscribing to Google Workspace events via Pub/Sub that the AI wouldn't reliably generate on its own.
What it needs
Requires gws installed locally. About 1k tokens when loaded. Last updated 2026-08-01. 30,245 stars on the source repository.
What this skill does
events +subscribe PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it. Subscribe to Workspace events and stream them as NDJSON Usage Flags Flag Required Default Description ------ ---------- --------- ------------- --target — — Workspace resource URI (e.g., //chat.googleapis.com/spaces/SPACEID) --event-types — — Comma-separated CloudEvents types to subscribe to --project — — GCP project ID for Pub/Sub resources --subscription — — Existing Pub/Sub subscription name (skip setup) --max-messages — 10 Max messages per pull batch (default: 10) --poll-interval — 5 Seconds between pulls (default: 5) --once — — Pull once and exit --cleanup — — Delete created Pub/Sub resources on exit --no-ack — — Don't auto-acknowledge messages --output-dir — — Write each event to a separate JSON file in this directory Examples Tips Without --cleanup, Pub/Sub resources persist for reconnection. Press Ctrl-C to stop gracefully. [!CAUTION] This is a write command — confirm with the user before executing. See Also gws-shared — Global flags and auth gws-events — All subscribe to google workspace events commands
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills googleworkspace/gws-events-subscribe