jezweb/claude-skills/gws-install
Claude Code and agent skill by jezweb/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Quick install of the Google Workspace CLI (gws) on an additional machine using existing OAuth credentials. Requires client_secret.json from a previous gws-setup. Use whenever the user wants to install gws on a new computer, reinstall after a fresh OS, configure a second workstation, or says 'install gws', 'gws on new machine', 'set up gws again'.
Install
npx vskill@latest install jezweb/claude-skills/gws-installSKILL.md
The same SKILL.md was published earlier as jezweb/claude-skills/gws-install.
Google Workspace CLI — Quick Install
Install gws on an additional machine using OAuth credentials from a previous setup. Produces an authenticated CLI with all agent skills ready to use.
Prerequisite: The user must have client_secret.json from a previous gws-setup (or from Google Cloud Console). If they don't have it, use the gws-setup skill instead.
Workflow
Step 1: Pre-flight Checks
If already authenticated with the right scopes, skip to Step 4.
Step 2: Install the CLI
Step 3: Set Up Credentials
Ask the user to provide their client_secret.json. Three options:
Option A — Paste the JSON content:
Ask the user to paste the JSON. Write it to ~/.config/gws/client_secret.json:
Expected format:
Option B — File path:
If the user has the file locally (e.g. in Downloads):
Option C — Environment variables:
Step 4: Authenticate
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.
Ask which Google account to use, then:
- Run auth in the background and capture output:
Running as a background task is fine — it will complete once the user approves in browser.
- Extract and open the URL (run separately after output appears):
If 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 from there."
- Wait for the user to approve in their browser, then verify:
Alternative — `--full` for all scopes:
The user can check their original machine's scopes with gws auth status to see what was granted.
Step 5: Install Agent Skills
This installs 90+ skills into ~/.claude/skills/. Safe to re-run if skills are already installed.
Step 6: Verify
Troubleshooting
"Auth error — credentials missing or invalid" (exit code 2)
- Check
~/.config/gws/client_secret.jsonexists and has valid JSON - Re-run
gws auth login
Token expired
- If the GCP app is in "Testing" status, tokens expire after 7 days
- Re-run
gws auth loginto refresh - For permanent tokens, push the app to Production in GCP Console OAuth consent screen
Skills not appearing in Claude Code
- Skills load at session start — restart Claude Code after installing
- Verify:
ls ~/.claude/skills/gws-* | wc -lshould show 30+ directories
See Also
- gws-setup — First-time setup including GCP project creation
- gws-shared — Auth patterns and global flags
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/integrations/skills/gws-install/SKILL.md
Popularity
- Repository stars
- 931
- Repository forks
- 97
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Jul 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jezweb/claude-skills/gws-install)