This is the streamlined path for getting the Google Workspace CLI running on a second machine or after a fresh OS install. The key difference from the full setup is you're reusing your OAuth credentials from a previous gws-setup, so you skip all the Google Cloud Console project creation stuff. The workflow walks through installing via npm, getting your client_secret.json file onto the new machine (paste, copy, or env vars), and running the OAuth flow. One nice detail: it extracts the absurdly long OAuth URL to a file and opens it programmatically, since copying a 30+ scope URL from wrapped terminal output is a recipe for frustration. Ends with installing the 90+ agent skills into Claude Code's skills directory.

skills.sh installs
1.1K
GitHub stars
1.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add jezweb/claude-skills --skill gws-install --agent claude-code

Installs into .claude/skills of the current project.

Files

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

which gws && gws --version
ls ~/.config/gws/client_secret.json
gws auth status

If already authenticated with the right scopes, skip to Step 4.

Step 2: Install the CLI

npm install -g @googleworkspace/cli
gws --version

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:

mkdir -p ~/.config/gws

Expected format:

Sponsors

Details

Repository
github.com/jezweb/claude-skills
Categories
Security, CLI & Terminal, Office & Documents
First seen
May 16, 2026

More from jezweb/claude-skills

All 166

Recommended

More Security
1niaka3dayo avatarunity-vrc-udon-sharpniaka3dayo/agent-skills-vrc-udonUdonSharp scripting skill for SDK 3.7.1-3.10.4. Use when writing, reviewing, debugging, or migrating UdonSharp C# and UdonBehaviour code. Positive triggers incl1.1Kskills.sh installs
2patternsdev avatarhoc-patternpatternsdev/skillsTeaches the Higher-Order Component (HOC) pattern for logic reuse. Use when you need to share cross-cutting concerns like authentication, logging, or data fetchi1.1Kskills.sh installs
3posit-dev avatarcritical-code-reviewerposit-dev/skillsRigorously review code or pull requests for correctness, security, accessibility, maintainability, tests, and edge cases. Use when users request a critical code1.1Kskills.sh installs
4riba2534 avatarfeishu-cli-toolkitriba2534/feishu-cli飞书轻量工具箱与分诊入口。仅在没有更专用 skill 时使用,主要覆盖普通电子表格、 日历/日程、任务/任务清单、基础文件/素材/评论、知识库、用户和部门查询、审批查询。 文档读写导入导出、云盘增强、多维表格、画板、消息/群聊、邮箱、搜索、权限、OAuth、 视频会议/妙记均优先使用对应 feishu-cli-* 专用1.1Kskills.sh installs
5mindrally avataroptimized-nextjs-typescriptmindrally/skillsOptimized Next.js TypeScript best practices with modern UI/UX, focusing on performance, security, and clean architecture1Kskills.sh installs
6capawesome-team avatarionic-enterprise-sdk-migrationcapawesome-team/skillsGuides the agent through migrating Capacitor apps from discontinued Ionic Enterprise SDK plugins (Auth Connect, Identity Vault, Secure Storage) to their Capawes1Kskills.sh installs