选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install gws-gmail或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install gws-gmail⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/gws-gmail/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: gws-gmail description: "Gmail: Send, read, and manage email." metadata: version: 0.22.5 openclaw: category: "productivity" requires: bins: - gws cliHelp: "gws gmail --help" ---
> PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
gws gmail <resource> <method> [flags]
| Command | Description | |---------|-------------| | +send | Send an email | | +triage | Show unread inbox summary (sender, subject, date) | | +reply | Reply to a message (handles threading automatically) | | +reply-all | Reply-all to a message (handles threading automatically) | | +forward | Forward a message to new recipients | | +read | Read a message and extract its body or headers | | +watch | Watch for new emails and stream them as NDJSON |
- getProfile — Gets the current user's Gmail profile. - stop — Stop receiving push notifications for the given user mailbox. - watch — Set up or update a push notification watch on the given user mailbox. - drafts — Operations on the 'drafts' resource - history — Operations on the 'history' resource - labels — Operations on the 'labels' resource - messages — Operations on the 'messages' resource - settings — Operations on the 'settings' resource - threads — Operations on the 'threads' resource
Before calling any API method, inspect it:
# Browse resources and methods
gws gmail --help
# Inspect a method's required params, types, and defaults
gws schema gmail.<resource>.<method>
Use gws schema output to build your --params and --json flags.
安装 Gws Gmail 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/gws-gmail/ 目录(个人级,所有项目可用),或 .claude/skills/gws-gmail/(项目级)。重启 AI 客户端后,用 /gws-gmail 主动调用,或让 AI 根据上下文自动发现并使用。
Gws Gmail 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Gws Gmail 可免费安装使用。请查阅仓库了解许可证信息。
Gmail: Send, read, and manage email.
Gws Gmail 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。