Loading...
Loading...
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 when setting up gws on a new computer, reinstalling after a fresh OS, or configuring a second workstation. Triggers: "install gws", "gws on new machine", "gws install", "set up gws again".
npx skill4agent add jezweb/claude-skills gws-installgwsclient_secret.jsongws-setupgws-setupwhich gws && gws --version
ls ~/.config/gws/client_secret.json
gws auth statusnpm install -g @googleworkspace/cli
gws --versionclient_secret.json~/.config/gws/client_secret.jsonmkdir -p ~/.config/gws{
"installed": {
"client_id": "...",
"project_id": "...",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"client_secret": "...",
"redirect_uris": ["http://localhost"]
}
}mkdir -p ~/.config/gws
cp /path/to/client_secret.json ~/.config/gws/client_secret.jsonexport GOOGLE_WORKSPACE_CLI_CLIENT_ID="your-client-id"
export GOOGLE_WORKSPACE_CLI_CLIENT_SECRET="your-client-secret"gws auth login --fullgws auth login -s gmail,drive,calendar,sheets,docs,chat,tasksgws auth statusgws auth statusnpx skills add googleworkspace/cli -g --agent claude-code --all~/.claude/skills/gws auth status
gws calendar +agenda --today
gws gmail +triage~/.config/gws/client_secret.jsongws auth logingws auth loginls ~/.claude/skills/gws-* | wc -l