Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/CLI & Terminal
googleworkspace avatar

Gws Events Subscribe

googleworkspace/cliOfficial

Streams Google Workspace events like new Chat messages or Drive file changes directly to your terminal as NDJSON, which is surprisingly useful for debugging webhooks or building real-time integrations. Sets up the entire Pub/Sub pipeline automatically, pulls events in configurable batches, and can optionally save each event as a separate JSON file for analysis. The cleanup flag is nice for experimentation since it tears down the Pub/Sub resources when you're done. Honestly, this fills a gap that Google's own tooling doesn't address well for developers who need to see what's actually happening in their Workspace in real-time.

installs
30.8K
GitHub stars
31.9K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add googleworkspace/cli --skill gws-events-subscribe --agent claude-code

Installs into .claude/skills of the current project.

Files

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

gws events +subscribe

Flags

FlagRequiredDefaultDescription
--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—10Max messages per pull batch (default: 10)
--poll-interval—5Seconds 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

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 — Global flags and auth
  • gws-events — All subscribe to google workspace events commands
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
  • Recipe Plan Weekly Schedule30.8K
  • Persona Content Creator30.8K
  • Recipe Bulk Download Folder30.8K
  • Recipe Create Doc From Template30.8K
  • Recipe Sync Contacts To Sheet30.7K
  • Gws Admin Reports30.7K
  • Recipe Generate Report From Sheet30.6K
  • Recipe Reschedule Meeting30.5K
  • Recipe Label And Archive Emails30.5K
  • Recipe Save Email To Doc30.5K
  • Recipe Block Focus Time30.4K
  • Recipe Watch Drive Changes30.4K
  • Recipe Create Shared Drive30.4K
  • Persona Team Lead30.4K
  • Recipe Share Doc And Notify30.3K
  • Recipe Find Large Files30.3K
  • Recipe Create Task List30.3K
  • Recipe Schedule Recurring Event30.3K
  • Recipe Review Overdue Tasks30.3K
  • Recipe Copy Sheet For New Month30.2K
  • Recipe Batch Invite To Event30.2K
  • Recipe Review Meet Participants30.2K
  • Recipe Collect Form Responses30.2K
  • Recipe Create Events From Sheet30.2K

Recommended

More CLI & Terminal
1googleworkspace avatarrecipe-plan-weekly-schedulegoogleworkspace/cliReview your Google Calendar week, identify gaps, and add events to fill them.30.8Kinstalls
2googleworkspace avatarpersona-content-creatorgoogleworkspace/cliCreate, organize, and distribute content across Workspace.30.8Kinstalls
3googleworkspace avatarrecipe-bulk-download-foldergoogleworkspace/cliList and download all files from a Google Drive folder.30.8Kinstalls
4googleworkspace avatarrecipe-create-doc-from-templategoogleworkspace/cliCopy a Google Docs template, fill in content, and share with collaborators.30.8Kinstalls
5googleworkspace avatarrecipe-sync-contacts-to-sheetgoogleworkspace/cliExport Google Contacts directory to a Google Sheets spreadsheet.30.7Kinstalls
6googleworkspace avatargws-admin-reportsgoogleworkspace/cliGoogle Workspace Admin SDK: Audit logs and usage reports.30.7Kinstalls