New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Step-by-step setup for the Google Workspace CLI, covering GCP credentials, scope selection, and agent skill installation.

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

What it does

  • Covers first-time setup of gws: GCP project creation, OAuth consent and client configuration, authentication, and skill installation
  • Includes Google Chat app configuration, which the Chat API requires even for user-context OAuth access
  • Offers three scope tiers (full, core services, minimal) and notes limits for apps still in "Testing" status
  • Designed for users connecting Gmail, Drive, Calendar, Sheets, and Docs to Claude Code for the first time

Install

$ npx -y skills add jezweb/claude-skills --skill gws-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Google Workspace CLI — First-Time Setup

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.

Prerequisites

  • Node.js 18+
  • A Google account (personal or Workspace)
  • Access to Google Cloud Console (console.cloud.google.com)

Workflow

Step 1: Pre-flight Checks

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 status

If gws auth status shows "status": "success" with scopes, skip to Step 6 (Install Skills).

Step 2: Install the CLI

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

Step 3: Create a GCP Project and OAuth Credentials

The 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

Details

Repository
github.com/jezweb/claude-skills
Categories
Productivity & Notes, Workflow Automation, CLI & Terminal
First seen
May 16, 2026

More from jezweb/claude-skills

All 64

Similar to Gws Setup

More Productivity & Notes