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 bestagentkits

Google Workspace CLI is a skill for setting up and automating the open-source gws CLI across Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks. It adds local Python tools for setup checks, security audits and recipes, aimed at Workspace admins and developers.

  • Score 62
  • 28 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/bestagentkits/agency-skills /tmp/agency-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agency-skills/skills/claude-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 an AI assistant through Google Workspace administration with the open-source gws CLI. The CLI builds its commands at runtime from Google's Discovery Service and covers Gmail, Drive, Sheets, Calendar, Docs, Chat, and Tasks. The skill covers installation, OAuth and headless authentication, and automation workflows for each area.

It also bundles local Python scripts that use only the standard library. They include a setup doctor, an auth guide, a recipe catalog filtered by persona, a security audit covering items such as Drive sharing and email authentication records, and a JSON output analyzer. The skill is aimed at Workspace admins, developers setting up gws, and users who automate Gmail, Drive or Calendar tasks. Commands are marked for verification because the CLI is pre-v1.0.

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

What it can do

  • Gmail automationSends, replies, forwards and triages email using gws Gmail helper commands.
  • Drive and SheetsLists and uploads Drive files, creates spreadsheets and manages sharing permissions.
  • Calendar schedulingCreates events, shows upcoming agendas and queries free and busy times.
  • Standup reportBuilds a report of today's meetings and tasks using workflow helpers.
  • Security auditworkspace_audit.py checks items such as external Drive sharing, Gmail forwarding and DMARC, SPF and DKIM.
  • Setup doctorgws_doctor.py checks PATH, CLI version, auth status and service connectivity.
  • Auth guideauth_setup_guide.py gives OAuth and service account setup steps and validates authentication.
  • Recipe cataloggws_recipe_runner.py lists local command recipes and can filter them by persona.
  • Output analyzeroutput_analyzer.py filters, selects and counts JSON or NDJSON output from gws commands.

What you need

  • gws CLI installed via npm (Node.js 18+), Homebrew, Cargo, or pre-built binaries
  • Python 3 to run the bundled scripts
  • Google Cloud project with OAuth credentials
  • Google Workspace Admin role for some audit checks

Try asking

  • Check whether my gws CLI is installed and authenticated.
  • Send a weekly update email to my team using gws.
  • Run a Workspace security audit and list the failed checks.

Good to know

  • The gws CLI is pre-v1.0, so breaking changes are possible between releases.
  • OAuth tokens expire after one hour, so long-running scripts need re-authentication.
  • API rate limits can cause 429 errors during bulk operations.
  • Many commands are marked to verify against the installed version before use.

Security check

A

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

Checked automatically: skills/claude-skills/google-workspace-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to google-workspace-cli

All alternatives →

Compare with ask-user-question, beads or google_tasks

google-workspace-cli: common questions

Is the gws CLI included in this skill?

No. The skill points to the open-source gws CLI at github.com/googleworkspace/cli under Apache-2.0 and adds local Python tools that work with it.

Will the example commands work as written?

Not guaranteed. The source says gws builds commands at runtime and the CLI is pre-v1.0, so each command should be checked with gws --help or gws schema first.

How does the skill suggest storing credentials?

It advises keeping tokens in the system keyring rather than plain text files, requesting only the OAuth scopes each workflow needs, and rotating service account keys every 90 days.

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 62 of 100. Grades: maintenance C, licence A, quality C. 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.