gws-install
Skill by jezweb
Installs the Google Workspace CLI (gws) on an additional computer using OAuth credentials from an earlier setup. It is for users who want gws on a new machine, after an OS reinstall, or on a second workstation.
Install gws-install
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jezweb/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/plugins/integrations/skills/gws-install ~/.claude/skills/gws-installRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jezweb/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/plugins/integrations/skills/gws-install ~/.gemini/antigravity-cli/skills/gws-installAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through installing the Google Workspace CLI (gws) on a machine that has not been set up before. It checks whether gws is already installed and authenticated, installs the CLI with npm, and adds the client_secret.json credentials. The user can paste the JSON, give a file path, or set environment variables instead.
The skill then runs gws auth login for the Gmail, Drive, Calendar, Sheets, Docs, Chat and Tasks scopes, and saves the auth URL to a file so it can be opened in a browser. After login it installs the agent skills with npx skills add and runs a few commands to verify the setup. It is written for Claude Code and is meant for users who already have client_secret.json from a previous gws-setup.
Written from the project's SKILL.md and checked against it.
What it can do
- Pre-flight checksChecks whether gws is installed, whether client_secret.json exists, and whether auth is already in place.
- CLI installationInstalls the gws command-line tool globally with npm.
- Credential setupAdds client_secret.json from pasted JSON, a local file path, or environment variables.
- Browser authenticationRuns gws auth login, extracts the OAuth URL to a file and opens it for the user to approve.
- Agent skill installationInstalls the googleworkspace/cli agent skills into the Claude Code skills folder.
- VerificationRuns gws auth status and sample commands such as calendar agenda and gmail triage.
What you need
- Node.js with npm
- Claude Code
- A client_secret.json file from a previous gws-setup or Google Cloud Console
- A Google account to authorize
Try asking
- Install gws on my new computer using my existing client_secret.json
- Set up gws again after I reinstalled my operating system
- Check my gws auth status and verify the install
Good to know
- Written for Claude Code only.
- Requires client_secret.json from a previous gws-setup or Google Cloud Console.
- If the GCP app is in Testing status, tokens expire after 7 days.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/integrations/skills/gws-install/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to gws-install
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
gws-install: common questions
What do I need before using gws-install?
The skill requires a client_secret.json file from a previous gws-setup or from Google Cloud Console. The source says to use the gws-setup skill instead if you do not have that file.
Why does my gws token expire?
The source says that if the GCP app is in Testing status, tokens expire after 7 days. Pushing the app to Production in the GCP Console OAuth consent screen is given as a way to get permanent tokens.
Why do skills not appear in Claude Code after install?
The source says skills load at session start, so Claude Code must be restarted after installing. It also suggests checking that the gws-* directories exist in ~/.claude/skills.
How do I install gws-install?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gws-install free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gws-install safe to use?
It scores 78 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gws-install?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
