Xpersona
G

Gws Events Subscribe

CLAWHUB · Unverified

Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON. Skill: Gws Events Subscribe Owner: googleworkspace-bot Summary: Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON. Tags: latest:1.0.12 Version history: v1.0.12 | 2026-03-31T18:33:53.233Z | auto - Updated version metadata from 0.22.4 to 0.22.5 in SKILL.md. - No other content or functionality changes. v1.0.11 | 2026-03-31T17:23:51.353Z | auto - Updated version metadata from 0.22.3 to 0.22

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17d07d7j6wvs7e49gkh2nncms83fh1m:gws-events-subscribe
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-googleworkspace-bot-gws-events-subscribe/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

28,285 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: gws-events-subscribe
description: "Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON."
metadata:
  version: 0.22.5
  openclaw:
    category: "productivity"
    requires:
      bins:
        - gws
    cliHelp: "gws events +subscribe --help"
---

# 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

```bash
gws events +subscribe
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--target` | — | — | Workspace resource URI (e.g., //chat.googleapis.com/spaces/SPACE_ID) |
| `--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

```bash
gws events +subscribe --target '//chat.googleapis.com/spaces/SPACE' --event-types 'google.workspace.chat.message.v1.created' --project my-project
gws events +subscribe --subscription projects/p/subscriptions/my-sub --once
gws events +subscribe ... --cleanup --output-dir ./events
```

## 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](../gws-shared/SKILL.md) — Global flags and auth
- [gws-events](../gws-events/SKILL.md) — All subscribe to google workspace events commands

_meta.json

{
  "ownerId": "kn72jx596hyjxmgxfp52s71ets828hj5",
  "slug": "gws-events-subscribe",
  "version": "1.0.12",
  "publishedAt": 1774982033233
}

skill-card.md

## Description:

Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.

This skill is ready for commercial/non-commercial use.

## Publisher:

[googleworkspace-bot](https://clawhub.ai/user/googleworkspace-bot)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and administrators use this skill to have an agent prepare Google Workspace event subscription commands, including target resources, event types, Pub/Sub subscription options, polling behavior, cleanup, and optional event file output.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The gws CLI and referenced shared authentication rules are external prerequisites that affect access to Google Workspace and GCP resources.

Mitigation: Before installing or using the skill, confirm trust in the gws CLI and review the shared authentication rules.

Risk: Event subscription commands can create or reuse Pub/Sub resources and may leave resources persistent when cleanup is not selected.

Mitigation: Use the narrowest required Google Workspace and GCP permissions, and choose --cleanup when persistent Pub/Sub resources are not wanted.

Risk: Writing event payloads to a local output directory can store sensitive workspace data.

Mitigation: Treat local event output as sensitive data and restrict where output files are written and retained.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/googleworkspace-bot/skills/gws-events-subscribe)
- [Publisher profile](https://clawhub.ai/user/googleworkspace-bot)

## Skill Output:

**Output Type(s):** [Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with inline bash code blocks]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include Google Workspace resource URIs, CloudEvents type lists, GCP project IDs, Pub/Sub subscription names, polling options, cleanup options, acknowledgement behavior, and local output directory settings.]

## Skill Version(s):

1.0.12 (source: server release metadata); artifact metadata version 0.22.5

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Gws Events Subscribe and adjacent AI workflows.