Google Workspace
yc-software/qm
Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.
Forwards an existing Gmail message to new recipients from the command line with the gws CLI, with options for notes, attachments, CC, BCC and drafts.
$ npx skills add googleworkspace/cli --skill gws-gmail-forward -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install googleworkspace/cli gws-gmail-forward --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/googleworkspace/cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gws-gmail-forward .claude/skills/gws-gmail-forward && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gws-gmail-forward" agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-forward into .claude/skills/gws-gmail-forward/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-gmail-forward", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-forwardType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add googleworkspace/cli --skill gws-gmail-forward -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install googleworkspace/cli gws-gmail-forward --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/googleworkspace/cli.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/gws-gmail-forward .agents/skills/gws-gmail-forward && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gws-gmail-forward" agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-forward into .agents/skills/gws-gmail-forward/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-gmail-forward", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add googleworkspace/cli --skill gws-gmail-forward -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install googleworkspace/cli gws-gmail-forward --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/googleworkspace/cli.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/gws-gmail-forward .cursor/skills/gws-gmail-forward && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gws-gmail-forward" agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-forward into .cursor/skills/gws-gmail-forward/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-gmail-forward", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/googleworkspace/cli.git --path skills/gws-gmail-forward--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add googleworkspace/cli --skill gws-gmail-forward -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install googleworkspace/cli gws-gmail-forward --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/googleworkspace/cli.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/gws-gmail-forward .gemini/skills/gws-gmail-forward && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gws-gmail-forward" agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-forward into .gemini/skills/gws-gmail-forward/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-gmail-forward", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install googleworkspace/cli gws-gmail-forwardInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add googleworkspace/cli --skill gws-gmail-forward -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/googleworkspace/cli.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/gws-gmail-forward .github/skills/gws-gmail-forward && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gws-gmail-forward" agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-forward into .github/skills/gws-gmail-forward/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-gmail-forward", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add googleworkspace/cli --skill gws-gmail-forward -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install googleworkspace/cli gws-gmail-forward --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/googleworkspace/cli.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/gws-gmail-forward .opencode/skills/gws-gmail-forward && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gws-gmail-forward" agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-forward into .opencode/skills/gws-gmail-forward/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-gmail-forward", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gws-gmail-forwardForwards an existing Gmail message to new recipients from the command line with the gws CLI, with options for notes, attachments, CC, BCC and drafts.
gws gmail +forward takes a Gmail message ID and a comma-separated list of recipients, and this skill documents its flags. You can add a note above the forwarded text with --body (plain text, or HTML when --html is set), copy people with --cc and --bcc, send from an alias with --from, and attach extra files with --attach, which can be repeated.
The original message is included with its sender, date, subject and recipients, and its attachments come along by default, as in the Gmail web interface; --no-original-attachments leaves them out. With --html, inline images are preserved and the quoted block uses Gmail's own quote styling, while plain text drops inline images. Original and added attachments together are capped at 25MB.
--dry-run shows the request without sending it, and --draft saves the forward as a draft instead of sending. Authentication and global flags are covered by the companion gws-shared skill.
Read from SKILL.md and the folder at commit a3768d0. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gmail Message Forwarder loads about 763 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 261 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from googleworkspace/cli at commit a3768d0, republished under its Apache-2.0 licence (© googleworkspace). 261 words, ~763 tokens.
.claude/skills/gws-gmail-forward/SKILL.md (or your agent's skills folder).PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Forward a message to new recipients
gws gmail +forward --message-id <ID> --to <EMAILS>| Flag | Required | Default | Description |
|---|---|---|---|
--message-id | ✓ | — | Gmail message ID to forward |
--to | ✓ | — | Recipient email address(es), comma-separated |
--from | — | — | Sender address (for send-as/alias; omit to use account default) |
--body | — | — | Optional note to include above the forwarded message (plain text, or HTML with --html) |
--no-original-attachments | — | — | Do not include file attachments from the original message (inline images in --html mode are preserved) |
--attach | — | — | Attach a file (can be specified multiple times) |
--cc | — | — | CC email address(es), comma-separated |
--bcc | — | — | BCC email address(es), comma-separated |
--html | — | — | Treat --body as HTML content (default is plain text) |
--dry-run | — | — | Show the request that would be sent without executing it |
--draft | — | — | Save as draft instead of sending |
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body 'FYI see below'
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --cc eve@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body '<p>FYI</p>' --html
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com -a notes.pdf
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --no-original-attachments
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --draft<p>, <b>, <a>, etc.) — no <html>/<body> wrapper needed.© googleworkspace, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/gws-gmail-forward of googleworkspace/cli.
Open the folder on GitHubat commit a3768d0
Gmail Message Forwarder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gmail Message Forwarder this skillgoogleworkspace/cli | 31k | — | ~763 | Automated safety check: Pass | Apache-2.0 | |
| Google Workspaceyc-software/qm | 15k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Google Workspace CLIlaude-institute/headlong | 1.2k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Gogtrpc-group/trpc-agent-go | 1.8k | 16 repos | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Gmail Query Syntaxprovos/ironcurtain | 613 | — | ~971 | Automated safety check: Pass | Apache-2.0 | |
| Email Assistantappleweiping/WEIPING_WIKI | 119 | — | ~1.3k | Automated safety check: Pass | MIT |
yc-software/qm
Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.
laude-institute/headlong
Drives Google Drive, Gmail, Calendar, Sheets, Docs and Chat from the shell with the gws CLI, including its sign-in, flags, helper commands and safety rules.
trpc-group/trpc-agent-go
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
provos/ironcurtain
Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.
appleweiping/WEIPING_WIKI
Personal Gmail and Google Workspace email assistant for Vipin.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
googleworkspace/cli
Streams new Gmail messages as NDJSON from the gws command line tool using Google Pub/Sub, with label filters, batch settings and optional per-message files.
googleworkspace/cli
Subscribes to Google Workspace events with the gws CLI and streams them as NDJSON, with flags for the target resource, event types, Pub/Sub project and output directory.
googleworkspace/cli
Replies to a Gmail message from the gws CLI with automatic threading, plus CC, BCC, extra recipients, attachments, HTML bodies and draft or dry-run modes.
googleworkspace/cli
Google Calendar: Show upcoming events across all calendars. An agent skill from googleworkspace/cli.
googleworkspace/cli
Replies to everyone on a Gmail message through the gws CLI, with threading handled automatically, options to add or drop recipients, and a draft mode.
googleworkspace/cli
Google Drive: Upload a file with automatic metadata. An agent skill from googleworkspace/cli.
Works with
Categories
Forwards an existing Gmail message to new recipients from the command line with the gws CLI, with options for notes, attachments, CC, BCC and drafts. gws gmail +forward takes a Gmail message ID and a comma-separated list of recipients, and this skill documents its flags. You can add a note above the forwarded text with --body (plain text, or HTML when --html is set), copy people with --cc and --bcc, send from an alias with --from, and attach extra files with --attach, which can be repeated.
Gmail Message Forwarder fits situations like: passing a customer email on to a teammate with a short note on top; forwarding a message with extra files attached; previewing a forward with a dry run before anything is sent; saving a forwarded message as a draft for later review.
Run `npx skills add googleworkspace/cli --skill gws-gmail-forward -a claude-code`. Or copy the skill folder (skills/gws-gmail-forward in googleworkspace/cli) into .claude/skills/gws-gmail-forward in your project. Claude Code loads it when a task matches its description.
Run `npx skills add googleworkspace/cli --skill gws-gmail-forward -a codex`. Or copy the skill folder (skills/gws-gmail-forward in googleworkspace/cli) into .agents/skills/gws-gmail-forward in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add googleworkspace/cli --skill gws-gmail-forward -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gws-gmail-forward, .gemini/skills/gws-gmail-forward, .github/skills/gws-gmail-forward and .opencode/skills/gws-gmail-forward in your project.
SKILL.md names no scripts, command-line tools or credentials: Gmail Message Forwarder is instructions for the agent only. Our summary lists: The gws command-line tool from the Google Workspace CLI; Google account authentication set up as described in the gws-shared skill.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Gmail Message Forwarder is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 763 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gmail Message Forwarder: Google Workspace (yc-software/qm, 15k stars), Google Workspace CLI (laude-institute/headlong, 1.2k stars), Gog (trpc-group/trpc-agent-go, 1.8k stars) and Gmail Query Syntax (provos/ironcurtain, 613 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
googleworkspace (a GitHub organization) maintains it in googleworkspace/cli, which has 31,272 GitHub stars. The repository holds 77 skills in this directory. The repository was last updated on October 6, 2026.
Source: googleworkspace/cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.