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

google-workspace-cli

Skill by alirezarezvani

Runs Google Workspace admin and automation through the gws CLI across Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks. Built for Workspace admins and people who script these services.

  • Score 89
  • 31k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install google-workspace-cli

Built from the published package, never by AI.

git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/engineering-team/google-workspace-cli/skills/google-workspace-cli ~/.claude/skills/google-workspace-cli

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

Step-by-step: install google-workspace-cli in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Google Workspace CLI is a skill that guides and automates Google Workspace administration with the open-source gws CLI. The CLI builds its commands at runtime from Google's Discovery Service and covers every supported Workspace API, plus + prefixed helper commands. The skill covers Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks.

The skill adds local Python scripts for auth setup, diagnostics, a recipe catalog, a security audit and output analysis. The scripts are stdlib-only and support JSON output. The source advises checking each command against gws --help before automating it, because the CLI is pre-v1.0.

Written from the project's SKILL.md and checked against it.

What it can do

  • gws gmail +sendSends a new email with the gws CLI.
  • gws gmail +triageGives an unread inbox summary.
  • gws drive files listLists Drive files with optional field selection and formatting.
  • gws sheets spreadsheets createCreates a Google Sheet with a given title.
  • gws calendar +agendaShows upcoming calendar events in a timezone-aware view.
  • gws workflow +standup-reportCombines today's meetings and tasks into a standup report.
  • workspace_audit.pyAudits Workspace security settings and lists remediation steps.
  • gws_doctor.pyRuns pre-flight checks on PATH, version, auth status and service connectivity.
  • gws_recipe_runner.pyLists and runs a catalog of recipes, optionally filtered by persona.
  • output_analyzer.pyFilters, selects and counts JSON or NDJSON output from gws commands.

What you need

  • gws CLI, installed through npm, Homebrew, Cargo or pre-built binaries
  • Node.js 18 or later for the npm install
  • Python 3 for the helper scripts
  • A Google Cloud project with OAuth credentials
  • Workspace admin privileges for some audit checks

Try asking

  • Check my gws installation and auth status with gws_doctor.py
  • Send a weekly update email to my team using gws
  • List my 20 most recent Drive files as a table

Good to know

  • The gws CLI is pre-v1.0, so breaking changes are possible between releases.
  • OAuth tokens expire after one hour, which affects long-running scripts.
  • API rate limits may cause 429 errors during bulk operations.
  • Some audit checks require the Workspace Admin role.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: engineering-team/google-workspace-cli/skills/google-workspace-cli/SKILL.md, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/auth_setup_guide.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/gws_doctor.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/gws_recipe_runner.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/output_analyzer.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/workspace_audit.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • assets/persona-profiles.md9 KB
  • assets/workspace-config.json2 KB
  • references/gws-command-reference.md11 KB
  • references/recipes-cookbook.md9 KB
Show all 11 files
  • references/troubleshooting.md7 KB
  • scripts/auth_setup_guide.py14 KB
  • scripts/gws_doctor.py9 KB
  • scripts/gws_recipe_runner.py21 KB
  • scripts/output_analyzer.py11 KB
  • scripts/workspace_audit.py11 KB

Alternatives to google-workspace-cli

All alternatives →

Compare with ask-user-question, beads or google_tasks

google-workspace-cli: common questions

What do I need before using this skill?

You need the gws CLI, a Google Cloud project with OAuth credentials, and Python 3 for the helper scripts. The npm install requires Node.js 18 or later.

Are the commands in this skill always accurate?

The source says gws generates commands at runtime and the CLI is pre-v1.0. Commands marked verify should be checked with gws --help or gws schema before use in automation.

Does the skill use a security audit?

Yes. workspace_audit.py checks areas such as external Drive sharing, Gmail auto-forwarding, DMARC, SPF and DKIM, third-party OAuth grants, super admin count and 2-Step verification.

How do I install google-workspace-cli?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is google-workspace-cli free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is google-workspace-cli safe to use?

It scores 89 of 100. Grades: maintenance A, 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 google-workspace-cli?

Similar skills: ask-user-question, beads, google_tasks, recall.

google-workspace-cli Install

Add to stack

Loading.