一键导入
gws-gmail
Read, triage, send, reply, and forward email via the Google Workspace CLI (gws). Use when the user asks about email, inbox, messages, or Gmail.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read, triage, send, reply, and forward email via the Google Workspace CLI (gws). Use when the user asks about email, inbox, messages, or Gmail.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Load before writing any code, script, or automation in the workspace. Defines the hybrid agent-script execution model (programs are invoked by agents, not humans), project layout under programs/, README discipline, operation logging, and rediscovery patterns. Load this skill the moment a task involves writing or editing code.
Access an AWS account via the AWS CLI. Use when the user asks to create, manage, troubleshoot, or inspect AWS resources like DynamoDB, S3, Lambda, EC2, CloudWatch, etc.
Browser automation CLI for AI agents. Use when interacting with websites: navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task.
Analytical SQL queries on local files via DuckDB. Use for querying CSV, Parquet, JSON, and Excel files with SQL, aggregating data, joining datasets, and exporting results — all without a database server.
Audio and video processing via the ffmpeg CLI. Use for transcoding, trimming, merging, extracting audio, generating thumbnails, converting formats, adjusting resolution/bitrate, and any media manipulation task.
Graph and network visualization via Graphviz. Use for rendering directed/undirected graphs, dependency trees, network topologies, org charts, and any node-edge diagram from DOT language.
| name | gws-gmail |
| description | Read, triage, send, reply, and forward email via the Google Workspace CLI (gws). Use when the user asks about email, inbox, messages, or Gmail. |
| metadata | {"version":"1.0.0","displayName":"Gmail (GWS CLI)","author":"gremlin","category":"google-workspace","icon":"google","tags":["google","email","gmail","productivity"],"install":"which gws || npm install -g @googleworkspace/cli\n","allowedCommands":["gws"],"connections":[{"provider":"google","env":{"GOOGLE_WORKSPACE_CLI_TOKEN":"accessToken"},"reason":"Access Gmail to read and send email.","multi":true,"requestedScopes":["gmail.readonly","gmail.send"]}]} |
You have access to Gmail via the gws CLI.
| Command | Description | Reference |
|---|---|---|
+triage | Unread inbox summary (sender, subject, date) | triage |
+read | Read a message body and headers | read |
+send | Send a new email | send |
+reply | Reply to a message (auto-threading) | reply |
+reply-all | Reply-all to a message | reply |
+forward | Forward a message to new recipients | forward |
+watch | Watch for new emails via Pub/Sub | watch |
Before using a command, load its reference for detailed flags and examples:
readSkillReference("gws-gmail", "<reference>")
# Check inbox
gws gmail +triage
# Read a message
gws gmail +read --id MSG_ID
# Send an email
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'
# Reply
gws gmail +reply --message-id MSG_ID --body 'Thanks!'
For operations not covered by helper commands:
gws gmail <resource> <method> [flags]
| Flag | Description |
|---|---|
--params '{...}' | URL/query parameters |
--json '{...}' | Request body |
--page-all | Auto-paginate (NDJSON output) |
--format json|table|yaml|csv | Output format (default: json) |
--dry-run | Preview without calling API |
gws gmail --help # browse resources
gws schema gmail.<resource>.<method> # inspect parameters
--dry-run to preview destructive operations.