什么是 gws-gmail-watch?
Gmail:监视新电子邮件并将其作为 NDJSON 进行流式传输。 来源:googleworkspace/cli。
Gmail:监视新电子邮件并将其作为 NDJSON 进行流式传输。
通过命令行快速安装 gws-gmail-watch AI 技能到你的开发环境
来源:googleworkspace/cli。
PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
| --project | — | — | GCP project ID for Pub/Sub resources | | --subscription | — | — | Existing Pub/Sub subscription name (skip setup) | | --topic | — | — | Existing Pub/Sub topic with Gmail push permission already granted | | --label-ids | — | — | Comma-separated Gmail label IDs to filter (e.g., INBOX,UNREAD) |
| --max-messages | — | 10 | Max messages per pull batch | | --poll-interval | — | 5 | Seconds between pulls | | --msg-format | — | full | Gmail message format: full, metadata, minimal, raw | | --once | — | — | Pull once and exit | | --cleanup | — | — | Delete created Pub/Sub resources on exit |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-watchGmail:监视新电子邮件并将其作为 NDJSON 进行流式传输。 来源:googleworkspace/cli。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-watch 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/googleworkspace/cli