Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 78
  • 1.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-install

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gws-install in Claude Code

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

A

No 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 →

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.

gws-install Install

Add to stack

Loading.