Community编程与开发github.com

googleworkspace/gws-events-subscribe

Google Workspace 事件:订阅 Workspace 事件并以 NDJSON 格式流式传输。

gws-events-subscribe 是什么?

该技能允许开发者订阅 Google Workspace 事件(如 Google Calendar、Gmail、Google Drive 等应用的事件),并将这些事件以换行分隔的 JSON (NDJSON) 格式流式输出。它基于 Google Workspace Events API,支持监听多种资源类型的变更,例如日历事件创建、邮件到达或文件修改。通过持续订阅,用户无需轮询即可实时接收事件数据,适合用于构建自动化工作流、事件驱动架构或实时监控系统。此技能兼容多种 AI Agent 平台(如 Claude Code、Coder 等),并提供了清晰的配置说明,包括设置 OAuth 权限范围和事件类型过滤。其实现原理是通过建立长期订阅连接,将 API 返回的事件按行序列化为 NDJSON,方便下游处理。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/googleworkspace/cli/tree/main/skills/gws-events-subscribe

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

gws-events-subscribe 是做什么的?

Google Workspace 事件:订阅 Workspace 事件并以 NDJSON 格式流式传输。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

googleworkspace/gws-admin-reports

Google Workspace Admin SDK: Audit logs and usage reports.

googleworkspace/gws-calendar

Google Calendar: Manage calendars and events.

googleworkspace/gws-calendar-agenda

Google Calendar: Show upcoming events across all calendars.

googleworkspace/gws-calendar-insert

Google Calendar: Create a new event.

googleworkspace/gws-chat

Google Chat: Manage Chat spaces and messages.

googleworkspace/gws-chat-send

Google Chat: Send a message to a space.

googleworkspace/gws-classroom

Google Classroom: Manage classes, rosters, and coursework.

googleworkspace/gws-docs

Read and write Google Docs.

googleworkspace/gws-docs-write

Google Docs: Append text to a document.

googleworkspace/gws-drive

Google Drive: Manage files, folders, and shared drives.

googleworkspace/gws-drive-upload

Google Drive: Upload a file with automatic metadata.

googleworkspace/gws-events

Subscribe to Google Workspace events.

googleworkspace/gws-events-renew

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

googleworkspace/gws-forms

Read and write Google Forms.

googleworkspace/gws-gmail

Gmail: Send, read, and manage email.

googleworkspace/gws-gmail-forward

Gmail: Forward a message to new recipients.

googleworkspace/gws-gmail-read

Gmail: Read a message and extract its body or headers.

googleworkspace/gws-gmail-reply

Gmail: Reply to a message (handles threading automatically).

googleworkspace/gws-gmail-reply-all

Gmail: Reply-all to a message (handles threading automatically).

googleworkspace/gws-gmail-send

Gmail: Send an email.

相关技能