Google Workspace
taracodlabs/aiden
Gmail, Calendar, Drive, Sheets, Docs via Google API (SA / OAuth)
Set up the Google Workspace CLI (gws) from scratch. An agent skill from jezweb/claude-skills.
$ npx skills add jezweb/claude-skills --skill gws-setup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jezweb/claude-skills gws-setup --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/jezweb/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/integrations/skills/gws-setup .claude/skills/gws-setup && 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-setup" agent skill from https://github.com/jezweb/claude-skills/tree/main/plugins/integrations/skills/gws-setup into .claude/skills/gws-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-setup", 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/jezweb/claude-skills/tree/main/plugins/integrations/skills/gws-setupType 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 jezweb/claude-skills --skill gws-setup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jezweb/claude-skills gws-setup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jezweb/claude-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/integrations/skills/gws-setup .agents/skills/gws-setup && 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-setup" agent skill from https://github.com/jezweb/claude-skills/tree/main/plugins/integrations/skills/gws-setup into .agents/skills/gws-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-setup", 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 jezweb/claude-skills --skill gws-setup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jezweb/claude-skills gws-setup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jezweb/claude-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/integrations/skills/gws-setup .cursor/skills/gws-setup && 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-setup" agent skill from https://github.com/jezweb/claude-skills/tree/main/plugins/integrations/skills/gws-setup into .cursor/skills/gws-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-setup", 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/jezweb/claude-skills.git --path plugins/integrations/skills/gws-setup--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 jezweb/claude-skills --skill gws-setup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jezweb/claude-skills gws-setup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jezweb/claude-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/integrations/skills/gws-setup .gemini/skills/gws-setup && 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-setup" agent skill from https://github.com/jezweb/claude-skills/tree/main/plugins/integrations/skills/gws-setup into .gemini/skills/gws-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-setup", 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 jezweb/claude-skills gws-setupInstalls 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 jezweb/claude-skills --skill gws-setup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jezweb/claude-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/integrations/skills/gws-setup .github/skills/gws-setup && 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-setup" agent skill from https://github.com/jezweb/claude-skills/tree/main/plugins/integrations/skills/gws-setup into .github/skills/gws-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-setup", 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 jezweb/claude-skills --skill gws-setup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jezweb/claude-skills gws-setup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jezweb/claude-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/integrations/skills/gws-setup .opencode/skills/gws-setup && 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-setup" agent skill from https://github.com/jezweb/claude-skills/tree/main/plugins/integrations/skills/gws-setup into .opencode/skills/gws-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws-setup", 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-setupSet up the Google Workspace CLI (gws) from scratch. An agent skill from jezweb/claude-skills.
Gws Setup is an agent skill from jezweb/claude-skills. Set up the Google Workspace CLI (gws) from scratch. Guides through GCP project creation, OAuth credentials, authentication, and installing 90+ agent skills for Claude Code. Use whenever the user wants to set up gws for the first time, configure Google Workspace API access, install the Google Workspace CLI, or troubleshoot gws auth issues.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: claude-code-only
It sits in Documents & Office, covering Cloud office suites and OAuth and OpenID Connect. It works with Google Workspace and Google Cloud. The repository describes itself as: Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 64965d9. 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.
Shell commands in SKILL.md call:
npmnpxFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
console.cloud.google.comaccounts.google.comoauth2.googleapis.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GOOGLE_WORKSPACE_CLI_CLIENT_SECRETFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
claude-code-only
From compatibility in the SKILL.md frontmatter.
Gws Setup loads about 2.3k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 994 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 jezweb/claude-skills at commit 64965d9, republished under its MIT licence (© jezweb). 994 words, ~2,291 tokens.
.claude/skills/gws-setup/SKILL.md (or your agent's skills folder).Set up the gws CLI (@googleworkspace/cli) with OAuth credentials and 90+ agent skills for Claude Code. Produces a fully authenticated CLI with skills for Gmail, Drive, Calendar, Sheets, Docs, Chat, Tasks, and more.
Check what's already done and skip completed steps:
# Check if gws is installed
which gws && gws --version
# Check if client_secret.json exists
ls ~/.config/gws/client_secret.json
# Check if already authenticated
gws auth statusIf gws auth status shows "status": "success" with scopes, skip to Step 6 (Install Skills).
npm install -g @googleworkspace/cli
gws --versionThe user needs to create OAuth Desktop App credentials in Google Cloud Console. Walk them through each step.
3a. Create or select a GCP project:
Direct the user to: https://console.cloud.google.com/projectcreate
Or use an existing project. Ask the user which they prefer.
3b. Enable Google Workspace APIs:
Direct the user to the API Library for their project: https://console.cloud.google.com/apis/library?project=PROJECT_ID
Enable these APIs (search for each):
3c. Configure Google Chat App (required for Chat API):
Enabling the Chat API alone isn't enough — Google requires a Chat App configuration even for user-context OAuth access. Without this, all Chat API calls return errors.
Direct the user to: https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat?project=PROJECT_ID
This creates the app identity that the Chat API requires. Messages sent via gws still appear as coming from the authenticated user (OAuth user context), not from a bot.
3e. Configure OAuth consent screen:
Direct the user to: https://console.cloud.google.com/apis/credentials/consent?project=PROJECT_ID
Settings:
gws CLI (or any name)3f. Create OAuth client ID:
Direct the user to: https://console.cloud.google.com/apis/credentials?project=PROJECT_ID
gws CLIclient_secret_*.json file3g. Save the credentials:
Ask the user to provide the client_secret.json content (paste the JSON or provide the downloaded file path).
mkdir -p ~/.config/gwsWrite the JSON to ~/.config/gws/client_secret.json. The expected format:
{
"installed": {
"client_id": "...",
"project_id": "...",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"client_secret": "...",
"redirect_uris": ["http://localhost"]
}
}Ask the user what level of access they want:
| Option | Command | What it grants |
|---|---|---|
| Full access (recommended) | gws auth login --full | All Workspace scopes including admin, pubsub, cloud-platform |
| Core services | gws auth login -s gmail,drive,calendar,sheets,docs,chat,tasks | Most-used services only |
| Minimal | gws auth login -s gmail,calendar | Just email and calendar |
Recommend full access for power users. The OAuth consent screen shows all requested scopes so the user can review before granting.
Note: If the GCP app is in "Testing" status, scope selection is limited to ~25 scopes. Use
-s service1,service2to request targeted scopes, or publish the app (Publish → In Production) for broader scope access.
IMPORTANT: This step prints a very long OAuth URL (30+ scopes) that the user must open in their browser. The URL is too long to copy from terminal output — it wraps across lines and breaks. Always extract it to a file and open it programmatically.
gws auth login --full 2>&1 | tee /tmp/gws-auth-output.txt
# Or with specific services:
# gws auth login -s gmail,drive,calendar,sheets,docs,chat,tasks 2>&1 | tee /tmp/gws-auth-output.txtRunning as a background task is fine — it will complete once the user approves in browser.
grep -o 'https://accounts.google.com[^ ]*' /tmp/gws-auth-output.txt > /tmp/gws-auth-url.txt
cat /tmp/gws-auth-url.txt | xargs openIf open doesn't work, tell the user: "The auth URL is saved at /tmp/gws-auth-url.txt — open that file and copy the URL."
After browser approval, gws stores encrypted credentials at ~/.config/gws/credentials.enc.
Verify:
gws auth statusShould show "status": "success" with the authenticated account and granted scopes.
Install the 90+ gws agent skills globally for Claude Code:
npx skills add googleworkspace/cli -g --agent claude-code --allVerify skills are installed:
ls ~/.claude/skills/gws-* | wc -lShould show 30+ gws skill directories.
If the user has other machines to set up, suggest exporting the client credentials:
gws auth exportThis prints decrypted credentials (including refresh token) to stdout. The client_secret.json file is the portable part — the same OAuth client can be used on any machine, with gws auth login generating fresh user tokens per machine.
Tell the user to save the client_secret.json content somewhere secure (password manager, encrypted note) for use with the gws-install skill on other machines.
Run a few commands to confirm:
# Check auth
gws auth status
# Check calendar
gws calendar +agenda --today
# Check email
gws gmail +triageIf any command fails with auth errors, re-run gws auth login with the needed scopes.
GCP OAuth apps start in "Testing" status with a 7-day token expiry and ~25 scope limit. For long-term use:
| Service flag | What it enables |
|---|---|
gmail | Send, read, manage email, labels, filters |
drive | Files, folders, shared drives |
calendar | Events, calendars, free/busy |
sheets | Read and write spreadsheets |
docs | Read and write documents |
chat | Spaces, messages |
tasks | Task lists and tasks |
slides | Presentations |
forms | Forms and responses |
people | Contacts and profiles |
admin | Workspace admin (directory, devices, groups) |
Instead of client_secret.json, credentials can be provided via environment variables:
export GOOGLE_WORKSPACE_CLI_CLIENT_ID="your-client-id"
export GOOGLE_WORKSPACE_CLI_CLIENT_SECRET="your-client-secret"
gws auth loginAll gws config lives in ~/.config/gws/:
| File | Purpose |
|---|---|
client_secret.json | OAuth client credentials (portable) |
credentials.enc | Encrypted user tokens (per-machine) |
token_cache.json | Token refresh cache |
cache/ | API discovery schema cache |
© jezweb, MIT. 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 plugins/integrations/skills/gws-setup of jezweb/claude-skills.
Open the folder on GitHubat commit 64965d9
Gws Setup 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 |
|---|---|---|---|---|---|---|
| Gws Setup this skilljezweb/claude-skills | 1.1k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Google Workspacetaracodlabs/aiden | 849 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| GCP Workspace Pivotwgpsec/AboutSecurity | 1.8k | — | ~2.9k | Automated safety check: Pass | None | |
| Community Google WorkspaceArgentAIOS/argentos-core | 126 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Google WorkspaceTommy-yw/RunbookHermes | 546 | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Google Workspaceericrisco/rsc-harness | 156 | — | ~3.2k | Automated safety check: Pass | MIT |
taracodlabs/aiden
Gmail, Calendar, Drive, Sheets, Docs via Google API (SA / OAuth)
wgpsec/AboutSecurity
GCP 到 Google Workspace 的穿越攻击方法论。当已获取 GCP Service Account 或 Project 权限并发现目标组织使用 Google Workspace、需要从云平台穿越到企业邮件/文档/管理控制台、或发现 Domain-Wide Delegation 配置时使用。覆盖 Domain-Wide Delegation 滥用、OAuth…
ArgentAIOS/argentos-core
Gmail, Calendar, Drive, Contacts, Sheets, and Docs integration for community skills.
Tommy-yw/RunbookHermes
Gmail, Calendar, Drive, Contacts, Sheets, and Docs integration for Hermes.
ericrisco/rsc-harness
A skill your agent uses when server-side code reads or writes Gmail, Drive, Calendar, or Sheets with a GCP service account and no human in the OAuth loop: picking the auth mode (app-owned vs…
google/adk-recipes
Read/write Google Drive, Docs, Sheets, Gmail, Calendar, Chat, Tasks, Slides via the gws CLI.
jezweb/claude-skills
Build conversational AI voice agents on the ElevenLabs platform.
jezweb/claude-skills
Generate custom favicons from logos, text, or brand colours.
jezweb/claude-skills
Set up Tailwind v4 + shadcn/ui themed UI with dark mode. An agent skill from jezweb/claude-skills.
jezweb/claude-skills
Test website responsiveness across viewport widths using browser automation.
jezweb/claude-skills
Build MCP servers in Python with FastMCP. An agent skill from jezweb/claude-skills.
jezweb/claude-skills
Compare UX patterns across multiple reference apps using pattern libraries produced by ux-extract.
Works with
Categories
Set up the Google Workspace CLI (gws) from scratch. An agent skill from jezweb/claude-skills. Gws Setup is an agent skill from jezweb/claude-skills. Set up the Google Workspace CLI (gws) from scratch.
Gws Setup fits situations like: the user wants to set up gws for the first time; configure Google Workspace API access; install the Google Workspace CLI; troubleshoot gws auth issues.
Run `npx skills add jezweb/claude-skills --skill gws-setup -a claude-code`. Or copy the skill folder (plugins/integrations/skills/gws-setup in jezweb/claude-skills) into .claude/skills/gws-setup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jezweb/claude-skills --skill gws-setup -a codex`. Or copy the skill folder (plugins/integrations/skills/gws-setup in jezweb/claude-skills) into .agents/skills/gws-setup 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 jezweb/claude-skills --skill gws-setup -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-setup, .gemini/skills/gws-setup, .github/skills/gws-setup and .opencode/skills/gws-setup in your project.
Going by SKILL.md and its folder, Gws Setup needs the command-line tools its instructions call (npm and npx) and credentials named GOOGLE_WORKSPACE_CLI_CLIENT_SECRET. Our summary lists: Node.js; A credential in GOOGLE_WORKSPACE_CLI_CLIENT_SECRET. Compatibility (from SKILL.md): claude-code-only.
SKILL.md names 3 domains. In commands or code: console.cloud.google.com, accounts.google.com and oauth2.googleapis.com; the agent is likely to contact these when it follows the instructions. 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.
Gws Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k 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 Gws Setup: Google Workspace (taracodlabs/aiden, 849 stars), GCP Workspace Pivot (wgpsec/AboutSecurity, 1.8k stars), Community Google Workspace (ArgentAIOS/argentos-core, 126 stars) and Google Workspace (Tommy-yw/RunbookHermes, 546 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jezweb (a GitHub user) maintains it in jezweb/claude-skills, which has 1,050 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 5, 2026.
Source: jezweb/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.